
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
18 questions
EXA-DIAG-INF-III-AGO-2022
Quiz
•
11th Grade
14 questions
Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT
Quiz
•
University
10 questions
NHÓM HÀM CƠ SỞ DỮ LIỆU
Quiz
•
11th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
11 questions
College Football
Quiz
•
5th - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
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