
Computer Science
Authored by Teacher Phú
Computers
9th Grade
15 Questions
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable stores the character's name?
var = "hero"
namE = "hero"
heroName = "hero"
function hero()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command repeats the attack action 5 times?
while true:
for i in range(5):
loop(5)
if i < 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which snippet is correct for attacking only when an enemy is visible?
if enemy: hero.attack(enemy)
if attack: hero.enemy()
hero.attack = enemy
while enemy == true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In JavaScript, which is the correct return statement?
return x + y;
output x + y;
return(x,y)
back x+y
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is the equality comparison in Python?
=
==
===
!=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which snippet creates a safe infinite loop in CodeCombat?
while True:
for forever:
loop infinite:
repeat()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Events in Game Development are usually attached to which object?
hero.onClick()
game.addCollectGoal()
event.hero()
enemy.eventKill()
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?
Similar Resources on Wayground
10 questions
conditional and iterative statements
Quiz
•
11th Grade
15 questions
ôn tập chỉnh ảnh và làm phim
Quiz
•
11th Grade
20 questions
data structures1
Quiz
•
University
16 questions
C-Programming Basics
Quiz
•
12th Grade
20 questions
EVALUACIÒN PARCIAL - INNOVACIÒN TECNOLOGICA Y IA
Quiz
•
University
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
12 questions
HTML
Quiz
•
9th - 12th Grade
12 questions
Javascript
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade