Search Header Logo

Functions

Authored by Andrew Kale

Computers

8th Grade

Used 1+ times

Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

named block of code that is used for functioning

named block of code that does a specific task

named block of code that does nothing

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Examples of python built-in functions include: (select all that apply)

Int

print

del

len

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which key word do we use when defining a function?

def

intro

start

new

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function is executed when ________________

it is mentioned

it is deleted

it is executed

it is called

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax of calling a function?

functionValue()

function()

functionName()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A programmer has created a function called Greetings. How will the programmer call the function?

Greetings()

functionGreetings()

Greetingsfunction()

none of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data that is passed on to a function is called a ___________

index

parameter

diameter

function

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?