No student devices needed. Know more
15 questions
List all arguments that exist in this program segment:-
double point, String student
point, student
name, mark
name[i], mark[i]
List all parameters that exist in this program segment:-
double point, String student
point, student
name, mark
name[i], mark[i]
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.
Identify the object that used to call a method.
Status
name[i], mark[i]
mtd
void
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] )
Create a method name Bonus that will read a basic payment and an hour variable as parameter to calculate an extra salary.
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.
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.
Identify the error that exist in this method program:-
Wrong use of return method type
variable extra was unknown.
All of the parameters data type was not stated.
missing { } in if statement.
What is the Output if the argument is (5500.00, 12.5)
There will be no output.
20, 625.00
27,500.00
34,375.00
What is the Output if the argument is (1300.00, 15.0)
9,750.00
7,800.00
There will be no output.
5,850.00
What is the Output if the argument is (13.0, 2789.00)
14,502.00
10,877.00
18,128.50
There will be no output.
What is the Output if the argument is (1000.00, 14.30)
4,290.00
5,720.00
7,150.00
There will be no output.
Identify types of error that exist in this method program:-
Logic error
runtime error
syntax error
Why method is important?
Break program into a small program and easy to debug.
Easier to read and understand aspecially when involving with a big program.
More practical when we need to reuse the code.
Can store more similar values in a single variable.
Explore all questions with a free account