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
CodeHS 2.6 Booleans

Quiz
•
9th Grade
8 questions
Visual Basic Basics!

Quiz
•
9th - 12th Grade
15 questions
Programming terminology

Quiz
•
9th Grade
15 questions
Understanding Data Types in Python Quiz

Quiz
•
9th Grade
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
15 questions
3.1 Data Types

Quiz
•
8th - 10th Grade
15 questions
Variables Constants Datatypes

Quiz
•
8th - 12th Grade
15 questions
Python Introduction

Quiz
•
9th 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
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade