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
12 questions
The Effects of using ICT

Quiz
•
7th - 9th Grade
10 questions
Communication & Networking - Client Server & Peer to Peer

Quiz
•
2nd - 12th Grade
12 questions
Translators

Quiz
•
10th Grade
10 questions
Programming - Syntax & Logic Errors

Quiz
•
3rd - 12th Grade
14 questions
BTEC DIT Modern Technology Starter (Adhoc & Cloud Storage)

Quiz
•
8th - 9th Grade
10 questions
MOAC Word 2016 Lesson 09

Quiz
•
8th - 12th Grade
14 questions
Arduino

Quiz
•
12th Grade
12 questions
Sorting and searching

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade