Computer Science

Quiz
•
Computers
•
9th Grade
•
Medium
Teacher Phú
Used 1+ times
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Ôn tập Python

Quiz
•
9th - 12th Grade
15 questions
теги HTML

Quiz
•
11th Grade
14 questions
Cấu trúc rẽ nhánh

Quiz
•
11th Grade
10 questions
HTML

Quiz
•
12th Grade
20 questions
Ôn tập Python (for, if)

Quiz
•
10th Grade
20 questions
Programming in C(1)

Quiz
•
University
10 questions
OSI Model - Transport Layer

Quiz
•
9th Grade - Professio...
11 questions
Цикли з лічильником. Цикли з передумовою

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade