Quiz#5

Quiz
•
Computers
•
8th Grade
•
Medium
Eman Shatnawe
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
Greater than 5
Less than or equal to 5
No output
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
x is 5
x is greater than 5
x is less than 5
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
x is greater than 10
x is equal to 8
x is less than 8
No output
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
You are an adult
You are a minor
Error
No output
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
x is greater than 20
x is equal to 15
x is less than 15
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with the following code?
The else keyword should be replaced with elif.
There should be a colon after else.
The else statement cannot have a condition.
Nothing is wrong.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the elif keyword mean in Python?
Else if another condition is true
End the program
Else loop
Equal to another condition
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
10 questions
Programming in Java

Quiz
•
8th Grade
10 questions
Logic Building in Java Part 1

Quiz
•
6th - 9th Grade
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
10 questions
KS3 GCSE Computer Science (Programming / Python)

Quiz
•
7th - 11th Grade
10 questions
PYTHON (FOR LOOP)

Quiz
•
1st - 10th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade