PPS_

PPS_

University

20 Qs

quiz-placeholder

Similar activities

PYTHON FUNCTION

PYTHON FUNCTION

University

20 Qs

PYTHON QUIZ - DAY 2

PYTHON QUIZ - DAY 2

University

15 Qs

C programming

C programming

University

15 Qs

Ch.8 - Introducing Python

Ch.8 - Introducing Python

6th Grade - Professional Development

20 Qs

OOPS quiz-1 PYTHON

OOPS quiz-1 PYTHON

University

19 Qs

python quiz no 1

python quiz no 1

University

20 Qs

CodeVerse_Quizz_Round_01

CodeVerse_Quizz_Round_01

University

15 Qs

PYTHON PROGRAMMING Q4 FUNCTIONS

PYTHON PROGRAMMING Q4 FUNCTIONS

University

20 Qs

PPS_

PPS_

Assessment

Quiz

Computers

University

Hard

Created by

Surabhi Gosavi

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Python allows us to divide a large program into the basic building blocks known as _____.

Abstraction

Function

Package

Encapsulation

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

______ is the main achievement of python functions.

Inheritance

Reusability

Concurrency

Abstraction

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Function blocks begin with the keyword _____ followed by the function name and parentheses ( ( ) ).

for

input

class

def

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not type of Argument?

Required

Keyword

Top-down

Default

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

____ arguments will enable us to pass the arguments in the random order.

Required

Default

Keyword

Variable-length

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Sometimes we may not know the number of arguments to be passed in advance. In such cases which type of arguments can be used?

Variable length

Required

Keyword

Default

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The variable defined outside any function is known to have a ____ scope.

block

local

local+global

global

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?