
PC1.8 Evaluate computer program
Authored by Anas Ramadan
Computers
9th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many variables in the codes below?
score=int(input("Enter the score? "))
a=200
total=a+100
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the data type in the score's variable?
score=int(input("Enter the score? "))
Integer
Float
Character
String
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the data type in the score's variable?
score=input("Enter the score? ")
Integer
Float
Character
String
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output in the codes below?
a=10
b=20
print(a!=b)
10
False
True
20
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
if total>=50 :
print("A")
else :
print("B")
Will the code inside the if block is executed or skipped when total = 50?
(if block) will not be executed, then print "B"
(if block) will be executed, then print "A"
(if block) will be executed, then print "B"
(if block) will not be executed, then print "A"
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The codes below have an error because of :
score=90
if score>100 :
else :
print("B")
No parentheses after if statement
No print function after if statement
No columns
No semicolons
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The codes below have an error because of :
if score>100 :
print("A")
else :
print("B")
No indent
No print function
No columns
No variables
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
12 questions
HTML
Quiz
•
9th - 12th Grade
10 questions
AI and Python: Ch.1 Revision
Quiz
•
9th Grade
11 questions
Eventos de un experimento aleatorio
Quiz
•
9th Grade
13 questions
Componentes
Quiz
•
7th - 11th Grade
15 questions
CIW
Quiz
•
9th - 12th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Microsoft Publisher
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade