Search Header Logo

PPS_

Authored by Surabhi Gosavi

Computers

University

Used 1+ times

PPS_
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

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

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?

Discover more resources for Computers