
Intro Programming: Chapter 2 Review
Authored by Christopher Hayden
Computers
9th - 12th Grade
Used 123+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct header line for main in a Java program?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does a comment look like in Java?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
public class Sample{
public void Example{
//rest of code
} }
What is the name of the file?
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume the following code works as intended:
int a = 12;
a = a + 3;
Suppose we want to display the current value of a; what will that line of code be?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
One of these words should be uppercase, but is currently lowercase; which word needs to be capitalized?
public class First{
public static void main(String[ ] args) { system.out.printLn("this is a test!"); }}
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
public class Monday{
< The header line for main >
{ System.out.println("Greetings"); }}
What can be the name of the source file for this program?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java is an example of a _________ programming language.
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
15 questions
การเขียนโปรแกรมภาษา
Quiz
•
8th - 9th Grade
20 questions
terstruktur
Quiz
•
10th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
20 questions
POST TEST MAPEL PEMOGRAMAN WEB
Quiz
•
11th Grade
18 questions
Quiz on Misinformation and Bias
Quiz
•
10th Grade - University
20 questions
Information & Communication Technology Class IX
Quiz
•
9th Grade
20 questions
Interactive Media
Quiz
•
10th Grade
18 questions
Communication Technologies
Quiz
•
10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
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
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade