Which line of code is correct?
Code Combat Review (Python)

Quiz
•
Computers
•
8th Grade
•
Medium
Karen Hogan
Used 903+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
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 Quizizz
15 questions
Minecraft: DUNGEONS Hard Quiz

Quiz
•
3rd Grade - Professio...
15 questions
Quiz tổng kết khóa học

Quiz
•
6th - 8th Grade
10 questions
Y8 Java (Karel the dog)

Quiz
•
8th - 9th Grade
10 questions
CS2_Tổng Kết

Quiz
•
6th - 8th Grade
12 questions
Variables Unit 3 Scratch Practice

Quiz
•
6th - 8th Grade
10 questions
Game Lab - Basic Sprite Control

Quiz
•
6th - 12th Grade
10 questions
Scratch MOVING SPRITE quiz!

Quiz
•
6th Grade - University
10 questions
EV3 Level 2 Quiz

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade