
NW3 Exam (Major Grade)
Authored by Wayground Content
others
Used 117+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
In this line of code, which is the argument?
helper
build
("leftArrow")
helper.build
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which line of code will move Anya to the star?
hero.moveXY(4, 2)
hero.moveXY(7, 3)
hero.buildXY("star", 4, 2)
hero.moveXY(2, 4)
hero.moveXY("star")
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which of the following statements about functions is true?
Functions can be defined once but called many times.
Functions can be defined many times but only called once.
Functions can be defined and called many times.
Functions can be defined once and then called only once.
Any of these could be true, depending on whether the loop is a while loop or a for loop.
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What would go in the rectangle marked B in the flowchart below?
Say: "Attack!"
Say: "Run!"
Find Nearest Enemy
Any Boolean value
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which of the following is a correct string variable?
myName = Vega
myName == Vega
myName("Vega")
myName = "Vega"
"myName" = Vega
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Else if is represented in Python by the keyword _____.
elif
else(if)
elseIf
else.if
else_if
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
99 == 99 evaluates to ______.
True
False
Null
Operand
None of these
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?