
2.2 programming fundamentals
Authored by Andrew GOURLAY
Computers
9th - 12th Grade
Used 32+ 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
30 sec • 1 pt
Which of these is a variable?
if name == "fred"
number = 74
pass = True
PI = 3.14
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a constant?
name = "john"
age = 25
PI = 3.14
isTrue = False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a boolean?
name = "sarah"
age = 30
isTrue = False
PI = 3.14
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the definition of casting?
Using a fishing rod
Temporarily changing a data type
Assigning a variable
Treating a broken bone
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is an example of data type conversion?
name = 'john'
age = 25
int('123')
isTrue = False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a function?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these are a 1d array?
furniture = ["table","chair","television",stool"]
fruits = [["apple",3],["cherry",4]["mango",7]]
numbers = [56,23,12,4,0,65,4]
colours = ["blue","red",7,"orange"]
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
15 questions
Databases
Quiz
•
11th Grade
10 questions
Data Engineering y BigQuery V1
Quiz
•
12th Grade
10 questions
ETWINNING SID EVENT 24
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
10 questions
EMPTECH L4 Q2
Quiz
•
12th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade