User Defined Method - 01

Quiz
•
Computers
•
10th Grade
•
Medium
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
Similar Resources on Wayground
12 questions
Paper 2 Revision - IGCSE Computer Science

Quiz
•
9th - 12th Grade
15 questions
Python revision

Quiz
•
10th Grade - University
20 questions
Computer Science - X

Quiz
•
8th - 10th Grade
20 questions
Unit 9 - Review Stored Procedures vs Custom Functions

Quiz
•
9th - 12th Grade
20 questions
Procedures and Functions

Quiz
•
10th Grade
16 questions
C Programming Factorial Quiz

Quiz
•
10th Grade
10 questions
J277 - 2.2 - Functions in Python

Quiz
•
10th Grade - University
12 questions
Functions Parameters

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade