NEW
Font size
WorksheetsG9CS - Pseudocode Quiz1
Total questions: 25
Worksheet time: 40mins
Which are the lines that contains errors
3,4,6,7
5,6,7,9
5,6,8,9
2,3,4,9
Honestly , I don't know
State the data type of the variable MyName
MyName = "Dhoni"
CHAR
STRING
INTEGER
REAL
Honestly , I don't know
What will be the output of the following statement:
MyName = "Bill" + 23
Bill23
BillW
Error
None of the above
Honestly , I don't know
What is the following statement?
MyName = "Bill Gates"
Sequence
Selection
Iteration
Assignment
Honestly , I don't know
What data type can I use for telling the Gender variable like below?
Gender = 'F'
Gender = 'M'
STRING
ARRAY
CHAR
INTEGER
Honestly , I don't know
What will be the output of the following code?
A = 23
B = 12
C = 2
D = (A+B) * C
PRINT D
47
35
70
140
Honestly , I don't know
What will be the output for the following code?
A = 9
B = 1
C = 2
D = 3
E = A * C + B * D - A / D
PRINT E
21
17
19
18
Honestly , I don't know
Outstanding, go and stand out ;-)
I am Bahubali
Excellent , how did you do this
Thala Dhoni Fans
Honestly , I don't know
Outstanding, go and stand out ;-)
Excellent , how did you do this
I am Bahubali
Thala Dhoni Fans
Honestly , I don't know
IF statement is a ___________________________ statement?
Assignment
Sequence
Selection
Loop
Honestly , I don't know
Age is equal to 18
Age is not equal to 18
Error
None of the above
Honestly, I don't know
The age is greater than 18 and less than 100
The age is greater than 100
Age is not equal to 18
Error
Honestly, I don't know
What we call if we have an IF statement inside an IF statement?
Loop
Nested IF
IF container
Condition of Condition
Honestly, I don't know
What are these statements are called?
- FOR ... TO ... NEXT
- REPEAT ... UNTIL
- WHILE ... DO ... ENDWHILE
Sequence
Selection
Conditional Select
Loop / Repetition / Iteration
Honestly, I don't know
30 times
31 times
29 times
28 times
Honestly, I don't know
*
*
*
*
*
1
*
2
2
*
*
2
*
*
Honestly, I don't know
*
*
*
*
*
1
*
2
*
*
2
*
*
Honestly, I don't know
If "Num1 = 3" and "Num2 = 5"
What is the output?
PRINT Num2 is largest
5 is largest
ELSE PRINT 5 is largest
PRINT 5 is largest
What is a CHAR datatype?
A datatype that can hold any single character.
A datatype that can hold only numbers.
A datatype that can be ignored.
A datatype that can fit 7.
Which of the following is correct Pseudocode?
How in Pseudocode can we ask the user to enter a number which we save into a variable called Num1 ?
Which of the following shows a correctly constructed comparision?
IF temp < 15 AND raining <- True
IF temp < 15 BUT raining <- True
IF temp < 15 NOT raining <- True
IF temp < 15 DO raining <- True
