Search Header Logo

BCA-(Hon)-4 Ptython Class Test - 2 Dt-26-03-2024 By DrARD

Authored by Ashwin Dobariya

Computers

University

Used 1+ times

BCA-(Hon)-4 Ptython Class Test - 2 Dt-26-03-2024 By DrARD
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword is used for declaring user defined function in python?

def
has
fun
All

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

All parameters (arguments) in the Python language are passed by reference. True / False ?

False
True
Can't Say
None

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which are the types of arguments that can be passed in function?

Required arguments
Keyword arguments
Default arguments
All

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which special character is used to define Variable-length Arguments in function?

@
:
*
&

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When a variable is declared inside a function then it is callsed…………. Variable.

Local
Global
Non Local
None

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of variable is specifically declared in nested function only?

Local
Global
Non Local
None

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

………………….function is referred to as anonymous functions.

Built in
User defined
Lambda
All

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?