User Defined Method - 01

User Defined Method - 01

10th Grade

15 Qs

quiz-placeholder

Similar activities

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

J277 - 2.2 - Functions in Python

J277 - 2.2 - Functions in Python

10th Grade - University

10 Qs

BAB 4 - STRUKTUR KOD ARAHAN TINGKATAN 3

BAB 4 - STRUKTUR KOD ARAHAN TINGKATAN 3

8th - 10th Grade

20 Qs

Functions Parameters

Functions Parameters

10th - 12th Grade

12 Qs

2.3 Defensive Design  - Lesson 3 Subprograms

2.3 Defensive Design - Lesson 3 Subprograms

8th - 10th Grade

20 Qs

Java Methods

Java Methods

10th Grade - University

13 Qs

Paper 2 Revision - IGCSE Computer Science

Paper 2 Revision - IGCSE Computer Science

9th - 12th Grade

12 Qs

Python revision

Python revision

10th Grade - University

15 Qs

User Defined Method - 01

User Defined Method - 01

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Swarn Mishra

Used 202+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the return type of a method that does not return any value?

int

float

void

double

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the process of defining more than one method in a class differentiated by method signature?

Function Prototype

Function overloading

Function doubling

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

First line of a method which defines its name, return-type and list of parameters is known as ______________.

Function Prototype

Function Signature

Function Declaration

None of these

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

"void" and "return" can not be used together?

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Numbers and types of arguments used to define a method forms __________________.

Function Signature

Function Prototype

Actual Parameter

None of these

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Parameters used to define a method are known as ________________.

Actual Parameter

Formal Parameter

Dummy Parameter

None of these

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Parameters used to call a method are known as ____________

Actual Parameter

Formal Parameter

Dummy Parameter

None of these

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?