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
13 questions
Year 8 Methods of Attack and Hacking

Quiz
•
6th - 8th Grade
11 questions
Python Basics Quiz

Quiz
•
8th Grade
15 questions
Quiz tổng kết khóa học

Quiz
•
6th - 8th Grade
15 questions
Code combat

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

Quiz
•
6th - 8th Grade
12 questions
CamTech Network Security

Quiz
•
8th - 12th Grade
5 questions
Python : Introduction

Quiz
•
KG - 8th Grade
12 questions
Drones. Good or bad?

Quiz
•
6th - 9th 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