Grade 9 - User Defined Methods

Grade 9 - User Defined Methods

9th Grade

10 Qs

quiz-placeholder

Similar activities

C#  Functions

C# Functions

9th - 12th Grade

6 Qs

CodeHS 3.1 - 3.3

CodeHS 3.1 - 3.3

9th - 12th Grade

12 Qs

Java Class vocabulary

Java Class vocabulary

9th Grade - University

12 Qs

Java Recursion

Java Recursion

9th - 12th Grade

10 Qs

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

CodeHS Classes & Objects

CodeHS Classes & Objects

9th - 12th Grade

10 Qs

Java

Java

9th - 12th Grade

10 Qs

AP CS A Quiz 5 PRACTICE

AP CS A Quiz 5 PRACTICE

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?