2.2 programming fundamentals

2.2 programming fundamentals

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Science - Python

Computer Science - Python

9th - 12th Grade

15 Qs

CodeHS 2.6 Booleans

CodeHS 2.6 Booleans

9th Grade

10 Qs

Alice 2 - Chapter 3

Alice 2 - Chapter 3

7th - 12th Grade

10 Qs

Cambridge Technicals L3 U2 Information Types

Cambridge Technicals L3 U2 Information Types

12th Grade

15 Qs

GCSE Computing: Computational Logic 2.4

GCSE Computing: Computational Logic 2.4

11th - 12th Grade

15 Qs

Databases

Databases

6th - 10th Grade

12 Qs

Variables and Data Types

Variables and Data Types

10th - 12th Grade

10 Qs

CSP I: Unit 4 – Lessons 5-8 (Conditionals)

CSP I: Unit 4 – Lessons 5-8 (Conditionals)

9th Grade

10 Qs

2.2 programming fundamentals

2.2 programming fundamentals

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

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?

Changing one data type into another

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?

Media Image
Media Image
Media Image
Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?