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

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
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
15 questions
حاسب 2
Quiz
•
10th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
17 questions
ÔN TẬP CUỐI KỲ II TIN 8
Quiz
•
8th - 11th Grade
18 questions
WINDOWS 2 ՊԱՏՈՒՀԱՆՆԵՐ
Quiz
•
University
12 questions
C++. Классы
Quiz
•
11th Grade
12 questions
limbajul pascal
Quiz
•
10th Grade
10 questions
cp06-01-1D-Array
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade