A memory location that can store a value is called a ____.
function
array
keyword
variable
statement
A set of rules that dictate how words and symbols can be put together to form valid program statements is called ____.
a program
a programming language
an algorithm
logic
syntax
Using a conditional statement to allow for choosing between two or more execution paths is called ____.
branching
selecting
iteration
looping
A programming technique used to execute a block of code multiple times is called ____.
repetition
controlling
selection
How many different values can a Boolean contain?
0
1
2
3
5
A collection of data elements that are organized in some way is called a(n) ____.
algorithm
data type
data structure
string
classification
Which one of the following is a valid Python if statement?
if a >= 22
if (a = > 17):
if a >= 17:
if (a >= 17)
How do you create a variable called count that is equal to 17?
var count = 17
variable count = 17
count == 17
assign 17 to count
count = 17
The variable element is an integer. How would you cast this variable into text?
cast element to text
str(element)
string(element)
cast element to string
text(element)
Which of the following can be used to comment out a line of code?
*
//
#
(comment)
[ ]