
12 CS Revision 1
Authored by Anjali Luthra
Computers
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default return value for a function that does not return a value explicitly?
None
int
double
null
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following items are present in the function header?
Function name only
Both function name and parameter list
parameter list only
Return value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following keywords marks the begining of the function block?
Func
define
def
function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Is The Output Of The Following Code Snippet?
def func(message, num = 1):
print(message * num)
func('Welcome')
func('Viewers', 3)
Welcome
Viewers
Welcome
ViewersViewersViewers
Welcome
Viewers,Viewers,Viewers
Welcome
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is a variable defined outside all the function referred to as?
A static variable
A global variable
A local variable
An automatic variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is a variable defined inside all the function referred to as?
A static variable
A global variable
A local variable
An automatic variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the given argument types can be skipped from a function call?
Positional arguments
keyword arguments
named arguments
default arguments
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
20 questions
11 AIT - impacts of technology
Quiz
•
11th - 12th Grade
20 questions
LATIHAN DASAR HTML
Quiz
•
KG - University
21 questions
Computer Program
Quiz
•
10th - 12th Grade
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
Microsoft PPT. - Scavenger Hunt
Quiz
•
6th - 12th Grade
20 questions
Toán tử trong C ++
Quiz
•
10th - 12th Grade
20 questions
Computer Network
Quiz
•
9th - 12th Grade
20 questions
I sottoprogrammi in C
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade