
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
Ulangan Harian I Teknologi Layanan Jaringan (softswitch & VoIP)
Quiz
•
12th Grade
20 questions
c# Diziler
Quiz
•
10th Grade
18 questions
linguaggio C++
Quiz
•
9th - 12th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
20 questions
Tin học 11 chương I
Quiz
•
1st - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
20 questions
9-Класс ТЕСТ 30-34
Quiz
•
9th 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
