Functions

Functions

8th Grade

10 Qs

quiz-placeholder

Similar activities

Scratch

Scratch

5th - 8th Grade

10 Qs

For Loops

For Loops

8th Grade

7 Qs

Coding Vocabulary Words

Coding Vocabulary Words

8th Grade

12 Qs

Gaming Lesson 2

Gaming Lesson 2

6th - 8th Grade

15 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

Python list and tuple

Python list and tuple

6th - 8th Grade

10 Qs

Python Class 8 Assessment

Python Class 8 Assessment

6th - 8th Grade

10 Qs

Computer Programming Basics

Computer Programming Basics

8th Grade

11 Qs

Functions

Functions

Assessment

Quiz

Computers

8th Grade

Easy

Created by

Andrew Kale

Used 1+ times

FREE Resource

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

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?