
Basics of Programming in Java (CH.9)
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
J Gabe
FREE Resource
Enhance your content in a minute
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
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
Remedial PHB Prakarya dan Kewirausahaan Kelas XII
Quiz
•
12th Grade - University
40 questions
GE6075-Professional Ethics in Engineering-MCQ Test
Quiz
•
University
50 questions
Economics Final
Quiz
•
KG - University
40 questions
Lesson 1. Quiz
Quiz
•
University
40 questions
Personality_MBTI
Quiz
•
University - Professi...
40 questions
FIL 2 MAHABANG PAGSUSULIT (Filipino sa Iba't Ibang Disiplina)
Quiz
•
University
50 questions
KMD TAHUN 2021
Quiz
•
University
50 questions
Final Exam Part 1
Quiz
•
12th Grade - University
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
