Java Methods
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
rasyida rahman
Used 1K+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
List all arguments that exist in this program segment:-
double point, String student
point, student
name, mark
name[i], mark[i]
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
List all parameters that exist in this program segment:-
double point, String student
point, student
name, mark
name[i], mark[i]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the error that exist in this program segment:-
An array data type cannot be use as argument.
The argument was not in the right sequence with the parameter.
The variable name in parameter not as same with the argument.
Program consist 0 error.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the object that used to call a method.
Status
name[i], mark[i]
mtd
void
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fix the error by replacing with the correct java statement.
void Status(String student, double point)
void Status ( name[i], mark[i] )
int Status(String student, double point)
void Status ( String name[i], double mark[i] )
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Create a method name Bonus that will read a basic payment and an hour variable as parameter to calculate an extra salary.
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Identify the error that exist in this method program:-
Wrong use of return method type
variable extra was unknown.
doble is not one of the data type
A wrong use of hour data type.
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
Already have an account?
Similar Resources on Wayground
20 questions
Sistem Informasi Manajemen
Quiz
•
University
10 questions
Asesmen Diagnostik Sistem Komputer
Quiz
•
10th Grade - University
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
13 questions
Podsumowanie: binarny, komputer, sieć
Quiz
•
7th Grade - University
10 questions
Quiz Ke 8 alprog if-09
Quiz
•
University
20 questions
data structures1
Quiz
•
University
16 questions
Quiz on List and Tuples
Quiz
•
University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
