
Programming constructs & for loops

Quiz
•
Computers
•
9th Grade
•
Hard
Christine Ince
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An example of Selection in Python is
If
For
While
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
While loop is an example of which programming construct?
Sequence
Selection
Iteration
Variables
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is code contains:
Selection only
Sequence only
Selection and iteration
Iteration only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is code contains:
Selection only
Sequence only
Selection and iteration only
Selection, Sequence and iteration
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program if grade = 65?
Distinction
Merit
Pass
Fail
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code display? for x in range(10): print("Hello")
Hello 10 times
Hello 9 times
An error
x 10 times
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code display? for x in range(10): print("Nice")
Nice 10 times
Nice 9 times
An error
x
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Subroutines

Quiz
•
9th - 11th Grade
20 questions
Reverse Python quiz

Quiz
•
8th - 9th Grade
15 questions
10 min test 18

Quiz
•
9th - 12th Grade
15 questions
Adobe Premiere Tools

Quiz
•
9th - 12th Grade
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
18 questions
AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

Quiz
•
8th - 10th Grade
12 questions
Sequencing, Selection and Iteration

Quiz
•
8th - 10th Grade
20 questions
iGCSE Computer Science: Problem Solving

Quiz
•
9th - 12th 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