Functions in Python

Functions in Python

University

15 Qs

quiz-placeholder

Similar activities

PYTHON FUNCTION

PYTHON FUNCTION

University

20 Qs

Q3 - Comp Vision

Q3 - Comp Vision

University

10 Qs

C++ - Functions

C++ - Functions

University

14 Qs

Python For

Python For

University

10 Qs

Python introduction

Python introduction

University

15 Qs

AITT LAB QUIZ  4

AITT LAB QUIZ 4

University

10 Qs

Quiz6

Quiz6

University

10 Qs

Java Basics 1

Java Basics 1

University

10 Qs

Functions in Python

Functions in Python

Assessment

Quiz

Computers

University

Hard

Created by

Corneille NDJEUMOU

Used 12+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A group of statements that exist within a program for the purpose of performing a specific task is a(n) ___.

function
variable
loop

block

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The first line of a function definition is known as the ___.

body

introduction

header

initialization

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You ___ a function to execute it.

define

import

call

export

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The ___ keyword is ignored by the Python interpreter and can be used as a placeholder for code that will be written later.

execute
skip
pass

pause

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ___ is a variable that is created inside a function.

global variable
local variable
constant variable
static variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) ___ is the part of a program in which a variable may be accessed.

loop

scope

area of visibility

declaration space

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) ___ is a special variable that receives a piece of data when a function is called.

argument

header

module

parameter

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?