Intro to Java Exam Review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Kelly Kroft
Used 9+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is wrong with this method declaration?
(I) Not using curly brackets
(II) Missing void
(III) Using public instead of private
(IV) Illegal characters in the method name
I only
I and II
I, II, and III
I, II, III, IV
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
How can we teach Karel new commands?
A for loop
A while loop
Define a new method
The run method
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Why does a programmer indent their code?
Helps show the structure of the code.
Easier for other people to understand.
A key part of good programming style!
All of the above
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of these is a valid Karel command in Java?
turnLeft();
turnleft();
turnLeft()
TurnLeft
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use?
An if statement
A for loop
A while loop
A nested while loop
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Say you want to write a program to have Karel to pick up all of the tennis balls in a location, but you don’t know how many tennis balls there are. Which control structure would you use?
An if statement
A for loop
A while loop
An if/else statement
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the name of this class?
Karel
FunKarel
Run
SuperKarel
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
Pemrograman Dasar Kelas X
Quiz
•
10th Grade
36 questions
Câu hỏi trắc nghiệm về thông tin
Quiz
•
4th Grade - University
40 questions
Bài 5_Kết nối máy tính với thiết bị số
Quiz
•
11th Grade
40 questions
Internet Ethics
Quiz
•
9th Grade
40 questions
TEKNIK KOMPUTER & JARINGAN X
Quiz
•
10th Grade
39 questions
EV.SII-VIRUS INFORMATICOS
Quiz
•
1st - 12th Grade
40 questions
Aplicaciones clave
Quiz
•
12th Grade
40 questions
ASJ TKJ Debian 8.0
Quiz
•
11th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
