Programming Techniques Survey

Programming Techniques Survey

8th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python basics

Python basics

6th - 8th Grade

15 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python Basics Review (TSK)

Python Basics Review (TSK)

9th - 12th Grade

20 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

python quiz

python quiz

12th Grade

20 Qs

Programming Techniques Survey

Programming Techniques Survey

Assessment

Quiz

Computers

8th - 12th Grade

Medium

Created by

S Fenn

Used 59+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
Quotation marks around a variable’s identifier imply that it is a:
String
Integer
Character
List

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
This variable data type can only have True or False values:
Boolean
Integer
True/False
String

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
The statement A OR B implies that A and B are:
Booleans
Integers
Strings
Constants

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
Casting refers to:
Converting between variable data types
Boolean algebra
Printing out of the program’s results
Sending values to a function or procedure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
The programming keywords ELSE IF or ELIF are best used when our selection needs to work with:
More than two choices
More than three choices
More than one choice
A conditional loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Identify the error in the pictured line of Python code
num1 * Num2 = total
The variable assigned must be on the left
Multiplication  symbol should be 'x' not '*'
The variable Num2 can't have a capital letter
'total' needs to be casted as an integer

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Which of these lines of Python code will output the third item from a list called 'games'?
print(games[2])
print games(3)
print(games[3])
print (games(2))

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?