Java Method

Java Method

University

15 Qs

quiz-placeholder

Similar activities

Java Objects - Real world Scenarios - Practice Quiz

Java Objects - Real world Scenarios - Practice Quiz

University

20 Qs

BCSC0006 - Quiz 1 - Arrays

BCSC0006 - Quiz 1 - Arrays

University

10 Qs

CIS1101-programming practice2

CIS1101-programming practice2

University

10 Qs

Methods

Methods

University

11 Qs

Programming Quiz

Programming Quiz

University

10 Qs

Quiz PBO SIA

Quiz PBO SIA

University

20 Qs

JAVA Basics Quiz

JAVA Basics Quiz

University

20 Qs

Python - Functions

Python - Functions

University

10 Qs

Java Method

Java Method

Assessment

Quiz

Computers

University

Medium

Created by

rasyida rahman

Used 1K+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Describe method.

A component of a program in a big program.

A program to perform a specific task.

A component of a program written to perform a specific task.

A variable that use to read an input.

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

There two (2) types of method which are

return

Standard library

User defined

non-return

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is a general structure a method.

<Returnvalue type> <Method Name> (argument / s)

<Modifier> < type> <Method Name> (parameter / s)

public static void main (String[ ] args)

<Method Name> (parameter)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

This is an example of a non-return method.

True

False

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

In which line is representing the meaning of Standard library method.

Line 2

Line 8

Line 13

Line 10

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Identify the line with syntax error.

Line 8 and Line 15

Line 10 only

Line 6, Line 8, Line 10

Line 8, Line 11 and Line 15

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Method make codes more readable and easier to debug.

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?