2.2 Programming techniques - repetition

Quiz
•
Computers
•
11th Grade
•
Medium
Alison Heal
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable is
a named value in memory that can be changed
a named value in memory that cannot be changed
a unnamed value in memory that can be changed
a named value on the hard drive can be changed
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A constant is
a named value in memory that can be changed
a named value in memory that cannot be changed
a unnamed value in memory that can be changed
a named value on the hard drive can be changed
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An example of a constant could be..
Username
Length of side
Pi
Area
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in range(10):
What type of loop is this?
Count controlled
Condition controlled
Uncontrolled
It's not a loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
while x != 0:
What type of loop is this?
Count controlled
Condition controlled
Uncontrolled
It's not a loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to initialise a list?
list = {1,2,3,4}
list (1,2,3,4)
list = [1,2,3,4]
[1,2,3,4]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if x == 10 THEN
print (x)
this is an example of..
iteration
concatenation
selection
recursion
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
J277 - 2.2 - Use of Arrays up to 2D

Quiz
•
10th Grade - University
15 questions
Intermediate Python

Quiz
•
9th - 11th Grade
12 questions
CodeHS Unit 1

Quiz
•
9th - 12th Grade
10 questions
Explaining Scratch Code - Basics

Quiz
•
5th - 11th Grade
9 questions
IB CS Topic 4.2

Quiz
•
11th - 12th Grade
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
10 questions
Introduction to Computer Programming

Quiz
•
6th Grade - University
10 questions
Quiz 10 - While Loops

Quiz
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade