Code Combat Review (Python)

Quiz
•
Computers
•
8th Grade
•
Medium
Karen Hogan
Used 907+ times
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
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade