Which line of code is correct? Options: hero.MoveLeft(), heroMoveLeft();, hero.moveleft(:, hero.moveLeft();
Code Combat Review

Flashcard
•
Computers
•
8th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
hero.moveLeft();
2.
FLASHCARD QUESTION
Front
Which line of code will make the hero move up 4 times? Options: 4.hero.Move.Up();, hero.MoveUp(4);, hero.4MoveUp();, hero.Move4Up();
Back
hero.MoveUp(4);
3.
FLASHCARD QUESTION
Front
What must every line of code end with?
Back
semi-colon ;
4.
FLASHCARD QUESTION
Front
Which line of code will attack Kratt? Options: hero.attack("Kratt");, hero.attack("kratt");, hero.attack(Kratt);, Hero.Attack.Kratt;
Back
hero.attack("Kratt");
5.
FLASHCARD QUESTION
Front
What is the correct way to write a while loop? Options: while { }, while.true { }, while (loop), while (True) { }
Back
while (True) { }
6.
FLASHCARD QUESTION
Front
How do you create a variable for enemy1 Gert?
Back
var enemy1 = "Gert";
7.
FLASHCARD QUESTION
Front
What does the word in red symbolize: hero.moveUp(); ?
Back
The object
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Anime Flashcard

Flashcard
•
8th Grade
8 questions
End of Unit 3 Review

Flashcard
•
8th Grade
11 questions
Python Basics Flashcard

Flashcard
•
8th Grade
15 questions
Code Combat Flashcard

Flashcard
•
8th Grade
14 questions
Coding with Scratch

Flashcard
•
8th Grade
13 questions
PLTW CSIM Unit 1

Flashcard
•
8th Grade
13 questions
PLTW CSIM Unit 1

Flashcard
•
8th Grade
12 questions
Khan Academy JavaScript

Flashcard
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade