
Java Method Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Arasaka Teacher
Used 1+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Functions

Quiz
•
9th - 12th Grade
20 questions
UTS DASPRO

Quiz
•
1st - 10th Grade
18 questions
Computer Science (Python)

Quiz
•
9th Grade
20 questions
Databases Intro

Quiz
•
9th Grade
20 questions
SKT4-1.3: PEMBOLEH UBAH, PEMALAR DAN JENIS DATA

Quiz
•
10th - 11th Grade
15 questions
Java Variables, Input and Output

Quiz
•
10th - 12th Grade
20 questions
สารสนเทศ 4/2

Quiz
•
10th Grade
20 questions
Array

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade