2.2 programming fundamentals

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Andrew GOURLAY
Used 28+ times
FREE Resource
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"]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programming Basics

Quiz
•
9th - 10th Grade
10 questions
Quiz 141 - Variables and constants in Python

Quiz
•
9th Grade
8 questions
Understanding Python Variables and Data Types

Quiz
•
9th Grade
13 questions
CSS Selector Practice

Quiz
•
10th - 12th Grade
14 questions
Raspberry Pi Quiz

Quiz
•
9th Grade
10 questions
Game Lab - Basic Sprite Control

Quiz
•
6th - 12th Grade
15 questions
R093 - Creative iMedia Storyboards

Quiz
•
9th - 12th Grade
10 questions
J277 Network Threats

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

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

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade