CodeCombat

Quiz
•
Computers
•
8th Grade
•
Hard
Thomas Martinez
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which line of code is correct?
hero.MoveLeft()
heroMoveLeft();
hero.moveleft(:
hero.moveLeft()
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which line of code will make the hero move up 4 times?
4.hero.Move.Up();
hero.MoveUp(4);
hero.4MoveUp();
hero.Move4Up();
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
What must every line of code end with?
comma ,
semi-colon ;
parantheses ()
period .
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Which line of code will attack Kratt?
hero.attack("Kratt")
hero.attack("kratt");
hero.attack(Kratt);
Hero.Attack.Kratt;
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
What is the correct way to write a while loop?
while {
while.true {
while (loop)
while True:
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
How do you create a variable for enemy1 Gert?
enemy1 = "Gert"
enemy1 = Gert
var.enemy1 = Gert;
var.Enemy.1 = "Gert";
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
You can enter a number as an argument to instruct your object to move more than one space at a time.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Anime

Quiz
•
KG - University
15 questions
ôn tập kiến thức lập trình trong CodeCombat

Quiz
•
3rd - 12th Grade
13 questions
Code Combat JavaScript Quiz

Quiz
•
4th - 8th Grade
15 questions
Python Basics Quiz

Quiz
•
6th - 10th Grade
15 questions
Year 9 - Cybersecurity

Quiz
•
6th - 8th Grade
13 questions
Cybersecurity

Quiz
•
6th - 8th Grade
10 questions
Physical Security

Quiz
•
1st Grade - University
14 questions
network security

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade