
Java Methods
Authored by rasyida rahman
Computers
University
15 Questions
Used 1K+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
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
12 questions
ASK Tingkatan 1: 2.2.2 Format Imej pada Fail yang Sama
Quiz
•
12th Grade - University
10 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade - University
10 questions
Listen in Python
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
20 questions
C - Structures
Quiz
•
University
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
10 questions
Bilgisayarın Temel Birimleri
Quiz
•
9th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University