Model 1 Online
Model 1 Online
A. Keyboard
B. Pen drive
C. Hard disk
D. DVD disk
ANSWER: A
The Central Processing Unit (CPU) performs the actual processing of data
A. True
B. False
ANSWER: A
Any information stored in RAM is lost when the computer is turned off.
A. True
B. False
ANSWER: A
1
ANSWER: C
A. 5
B. 15
C. 25
D. 20
ANSWER: D
A. 8
B. 9
C. 6
D. 3
ANSWER: B
2
What will be the output of the following code?
x = 10
if x < 5:
print("x is greater than 5")
A. No output
B. x is less than 5
C. x is equal to 5
D. x is greater than 5
ANSWER: A
A. True
B. False
C. Error
D. Error plus
ANSWER: B
3
What is the purpose of the diamond-shaped symbol in a flowchart?
A. Data Input/Output
B. Decision
C. Process
D. Connector
ANSWER: B
A. 0
B. 1
C. 2
D. 3
ANSWER: C
4
What is a correct syntax to output "Hello World" in Python?
A. print("Hello World")
B. Prnt("Hello World")
C. print "Hello World"
D. print (Hello, World)
ANSWER: A
5
B. //
C. %
D. **
Answer: B
A. float
B. int
C. bool
D. str
Answer: A
6
A. 19
B. 22
C. 17
D. 20
Answer: B
If the compiler finds any errors, it will continue processing and raise all the errors once it
finishes.
A. True
B. False
ANSWER: A
count = 0
while count < 3:
print("Hello")
count += 1
else:
print("Else block")
A. Prints "Hello" three times and then prints "Else block."
B. Prints "Hello" four times.
C. Prints "Else block" three times.
D. Raises a .SyntaxError
ANSWER: A
x = 10
if x > 5:
print("Greater than 5")
elif x > 8:
print("Greater than 8")
else:
print("Less than or equal to 5")
A. Greater than 5
B. Greater than 8
C. Less than or equal to 5
D. No output
ANSWER: A