
Basics of Programming in Java (CH.9)
Quiz
•
Other
•
University
•
Hard

J Gabe
FREE Resource
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correctly written Java statement?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Examine the following code. What is missing on the ''if statement''?
An ''end if'' statement
Brackets/braces
An ''else statement''
A semicolon
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The compiler is giving an error on the following statement. Why?
Missing brackets
Missing semicolon
Missing a value
Missing a variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Java statement can be thought of as which one of the following?
An expression
A prompt
An instruction
A loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of statement is the following?
Control
Assignment
Integer
Void
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the return value declared in a method?
By the data type alone after the method name
By the data type alone before the method name
By the data type and the variable name following the method name
By the data type and variable names in parentheses
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT true about a method in Java?
Java methods can have no parameters
Java methods can return more than one value
Java methods can have more than one parameter
Java methods can return no values
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
47 questions
Mid Web
Quiz
•
University
47 questions
Intro to psychology Chapter 1
Quiz
•
University
41 questions
Ch. 5 Economics - Supply
Quiz
•
KG - University
40 questions
QC2.M3.L2&L3
Quiz
•
University
50 questions
National 5 Bus Mgt Operations
Quiz
•
KG - University
50 questions
Mob sec quiz 2 practice
Quiz
•
University
50 questions
GEAS 25
Quiz
•
University
47 questions
14-23
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University