
Java Method Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Arasaka Teacher
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A small block of code that is created outside of the main code block is called a:
method.
keyword.
variable.
variable type.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use methods in Java?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does "public" mean in the method signature?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does "void" mean in the method signature?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are parameters?
The value that a method returns.
The values that a method prints to the screen.
The values that gets passed into a method.
The type that is given to a variable.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a method finishes its work and gives back something, that something is called:
a print statement.
an argument.
a parameter.
a return value.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you try to give a method the wrong type of value?
The program will produce an error.
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
20 questions
11p_gestão de sistemas de informação nas instalações desportivas
Quiz
•
11th Grade
20 questions
Ci Quiz
Quiz
•
1st - 10th Grade
15 questions
Y7 Python Mid Point
Quiz
•
7th - 12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
20 questions
CSS GRADE 9 - QUIZ PECs and EM
Quiz
•
9th Grade
15 questions
python basics
Quiz
•
11th Grade - University
15 questions
Code Combat Curso Junior
Quiz
•
9th - 12th Grade
15 questions
KKHP Roblox Game Development Quiz
Quiz
•
4th - 12th Grade
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
