ADDRESS: RIMBI HIGH SCHOOL
POST OFFICE BOX 197
CHIPINGE, MANICALAND
CELL: +263775864285/ EMAIL
+263714218774 szybloetech@[Link]
OFFICIAL LETTER
SZYBLOETECH INNOVATIONS
From the desk of the Founder and CEO
Mr. Solo Junior Zvineyi
Module: Introduction to Programming with [Link]
Topics: Variables, Data Types, Input/Output, Number & String Functions
Duration: 2 hours
Examiner: Doktah Zvins
Marks: 100
INSTRUCTIONS TO CANDIDATES
1. Read all instructions carefully before starting. No medical advice will be given.
2. Answer ALL questions in Section A and B. All questions are compulsory.
3. For each task: Submit BOTH your code AND a screenshot of the output when you
run your program.
4. Marks allocation: Shown at the end of each question. Marks are given for correct
logic, correct output, code cleanliness.
5. Plagiarism = 0 marks. This is Doktah Zvins’s lab – write your own prescription.
6. Submission: Send your .vb files + screenshots to Doktah Zvins.
Pass Mark: 50%
Distinction: 80%+ - You earn The “Doktah Zvins Certified Badge”
SECTION A: 50 Marks
1. What is programming [2]
2. What is the difference between variables and data types [2]
3. Name 4 data types in [Link] and state what kind of data each store [4]
4. If you write Dim age = “20”, what data type is age [2]
5. What does Dim mean [2]
6. What is the difference between [Link] and
[Link] [2]
7. Explain what this line means: name = [Link]() [4]
8. What does [Link] return [2]
9. What does [Link] return [2]
[Link] 4 number functions that you learnt [4]
[Link] does .Length do [2]
[Link] toUpper and toLower [2]
[Link] any 4 string functions and explain them [8]
[Link] is the difference between Dim x = “10” and Dim x = 10 [3]
[Link] are storing a person’s age for your program. Which data type
would you use and why [4]
[Link] string concatenation [1]
[Link] you want to store a phone number, which data type would you use
and why [4]
SECTION B: 50 Marks
[Link] a program:
a. Finds the square root of 100 [2]
b. Finds the square root of 36 [2]
c. Finds the sum of 100 and 34 [2]
d. Displays the smallest number between 30 and 4 [2]
e. Displays the biggest number between 55 and 99 [2]
[10 Marks]
[Link] a program:
a. Asks the user to enter a number and display that entered enter [2]
b. Asks the user to enter a number and the program must multiply that
entered number by itself and display the result [4]
c. That takes the user input of two numbers and display the smallest
number [2]
d. That takes the user input of two numbers and display the largest
number [2]
[10 Marks]
3. Write a program that asks the user to enter 2 numbers and the program
must:
[Link] the sum [2]
[Link] the two numbers [2]
[Link] the numbers [2]
[Link] the numbers [2]
[Link] the two numbers and display the remainder [2]
[10 Marks]
4 a. Write a program that asks the user their name and display “How are
you {name}” [5]
b. Write a program that asks the user their age and display “You have
{age} years” [5]
5. Build a mini calculator [10]
END OF QUESTION PAPER
TOTAL MARKS: 100