ds1 Revision
ds1 Revision
a. Processing speed
b. Storage capacity
c. Accuracy
d. All of these
a. Object code
b. Assembled Program
c. Machine code
d. Source code
a. Maintenance
b. Design
c. Analysis
d. Testing
8. In the UNICODE coding system, only letters of the English alphabet are allowed
a. TRUE
b. FALSE
a. TRUE
b. FALSE
10. The following pseudocode instruction is the correct way to assign a literal value to a string
variable called
STUD_NO
Stud_no = “240030032”
STUD_NO = 240030032
STUDENTNO =
“240030032”
None of these
11. The following pseudocode instruction is the correct way to display the message VAT_AMT on
the screen
DISPLAY VAT_AMT
DISPLAY“VAT IS”
DISPLAY “VAT_AMT”
None of these
a. 0
b. null
c. spaces
d. None of these
14. The following pseudocode instruction is the correct way to assign a literal value to a numeric
variable called
TOTALPRICE
a. TOTALPRICE = “250”
b. TOTALPRICE = 250,00
c. TOTALPRICE = R250.00
d. None of these
a. ACCEPT “NAME”
b. ACCEPT NAME, “TAKALANE”
c. TAKALANE = ACCEPT NAME
d. All of these
16. Which instruction should be used to assign the value input by the user to the variable
GENDER?
a. ACCEPT GENDER
b. ACCEPT
GENDER
c. ACCEPT GENDER =
“MALE”
d. None of these
17. The correct instruction to display the value in the string variable CITY is
a. DISPLAY CITY
b. DISPLAY “CITY “
c. ACCEPT CITY
d. None of these
a. TRUE
b. FALSE
19. AVERAGE = AVERAGE Let me know if there is anything else I can help you with.
20. 2 is a valid calculation
a. TRUE
b. FALSE
a. TRUE
b. FALSE
SECTION B [10
MARKS]
State whether the following variables are VALID OR INVALID, if it is INVALID explain your answer.
2. 2nd_person
3. vatAmount%
4. averageMarksForStudent
5. test Mark