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