15 questions
What does IDE stand for?
Integrated Development Environment
Intergated Developer Environment
Interelated Development Enterprise
Interpreted Development Enviralment
Where is the output displayed in an IDE?
Console
Code Editor
Say
Variable
Set a variable to the word Apple.
Apple = word
answer = "Apple"
word = Apple
"Apple" = variable
Which of the following is a command that works the same way as Ask in Scratch?
input
Ask()
answer
Enter a number:
What is the grammar of a programming language?
syntax
indentation
punctuation
program
Which of the following is the easiest for computers to run?
Binary
Python
Hexadecimal
English
Why do you need to indent in Python?
To organize lines of code so that they're not messy
To group lines of code together inside a conditional or repeat
To print the answer of the input in the output of the system console
To run the interpreter of the IDE in the debugger of the editor
Which of the following will print 10?
print(7 + 3)
print("6 + 4")
print("5" + "5")
print("0" + 10)
Which of the following is Python code for repeating 12 times?
if < 12:
while not == 12:
def repeat(12):
for index in range(12):
Which of the following is the same as creating a block in Scratch?
def Hello():
Hello()
block = hello
hello = input()
Which of the following Python codes is the same as repeat forever in Scratch?
while True:
repeat forever:
forever:
while not True:
Choose the best example of using a variable.
markers = 7
print("markers")
def markers():
markers()
Create a variable called ducks. Set it to number 217.
ducks = 217
ducks = "217"
print("ducks = 217")
def ducks(217):
Check if variable grades is equal to the word A.
if grades == A:
if grades == "A":
if grades = "A":
if grades = A:
Check if variable tulips is greater than 34.
if tulips > 34:
if tulips < 34:
if tulips > "34":
if "tulips" > 34: