Grade 9 - User Defined Methods

Grade 9 - User Defined Methods

9th Grade

10 Qs

quiz-placeholder

Similar activities

APCS Printing and objects

APCS Printing and objects

9th Grade - University

10 Qs

JAVA QUIZ

JAVA QUIZ

1st - 12th Grade

11 Qs

09_Minesweeper

09_Minesweeper

9th - 12th Grade

10 Qs

Algorithms / Methods

Algorithms / Methods

9th Grade

8 Qs

CodeHS 3.1 - 3.3

CodeHS 3.1 - 3.3

9th - 12th Grade

12 Qs

Value Methods Vocab

Value Methods Vocab

8th - 12th Grade

12 Qs

Recursion in Java (AP Computer Science A)

Recursion in Java (AP Computer Science A)

9th - 12th Grade

10 Qs

Java Recursion

Java Recursion

9th - 12th Grade

10 Qs

Grade 9 - User Defined Methods

Grade 9 - User Defined Methods

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Archana suvarna

Used 128+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a function contains several return statement, how many of them will be executed?

Only 1

All

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What is the return type of the main() method?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can place the return statement in a void method without any expression. (True/False)?

True

False

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

The scope of a local variable is limited to ______________.

the Method or Block it is declared in

Multiple programs

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

The static methods need an instance to be called. (True/False)?

True

False

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Name the JAVA keyword that indicates that a method has no return type.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Methods reside in a class in JAVA. (True/False)?

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?