
User Defined Method - 01
Authored by Swarn Mishra
Computers
10th Grade
Used 202+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade