PC1.8 Evaluate computer program

Quiz
•
Computers
•
9th Grade
•
Hard
Anas Ramadan
Used 12+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz 140 / First steps in Python

Quiz
•
9th Grade
10 questions
Input and Output devices- Class 9

Quiz
•
9th Grade
15 questions
Multimedia Fundamentals

Quiz
•
9th - 12th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
15 questions
Java Math

Quiz
•
9th - 12th Grade
11 questions
Control Structures - Selection in Python

Quiz
•
8th Grade - University
10 questions
Quiz - print() function

Quiz
•
9th Grade
10 questions
J277 Programming - Outputting Data

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade