Python Cert - Day 4 (PM)

Python Cert - Day 4 (PM)

12th Grade

34 Qs

quiz-placeholder

Similar activities

Entrepreneurship Honors 1 Unit 4

Entrepreneurship Honors 1 Unit 4

9th - 12th Grade

30 Qs

PARTS OF COMPUTER TEST

PARTS OF COMPUTER TEST

12th Grade

36 Qs

AD S2 G360s Week 9 -2021

AD S2 G360s Week 9 -2021

12th Grade

30 Qs

E-commerce และคอมพิวเตอร์เบื้องต้น

E-commerce และคอมพิวเตอร์เบื้องต้น

12th Grade

30 Qs

JavaScript Scope, Arrays, Loops, and Iterators

JavaScript Scope, Arrays, Loops, and Iterators

9th - 12th Grade

30 Qs

Google Sheets Fundamentals

Google Sheets Fundamentals

9th - 12th Grade

29 Qs

QUIZ TKJ T.A 2024

QUIZ TKJ T.A 2024

12th Grade

31 Qs

Robotics 9 and 10

Robotics 9 and 10

9th - 12th Grade

31 Qs

Python Cert - Day 4 (PM)

Python Cert - Day 4 (PM)

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Bobby Liu

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 6 pts

A function definition starts with the keyword:

def

function

fun

2.

MULTIPLE CHOICE QUESTION

20 sec • 6 pts

A function definition:

cannot be placed among other code

may be placed anywhere inside the code after the first invocation

must be placed before the first invocation

3.

MULTIPLE CHOICE QUESTION

20 sec • 6 pts

A function parameter is a kind of variable accessible:

only after the function definition's completion

anywhere in the code

only inside the function

4.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

A way of passing arguments in which the order of the arguments determines the initial parameters' values is referred to as:

positional

ordered

sequential

keyword

5.

MULTIPLE SELECT QUESTION

45 sec • 6 pts

Which of the following statements are TRUE? (Select TWO answers)

The return keyword may cause the function to return a value

The return keyword forces the function's execution to terminate

The return keyword forces the function to restart its execution

6.

MULTIPLE CHOICE QUESTION

20 sec • 6 pts

None keyword designates:

a None value

a function which doesn't return a value

an empty instruction

7.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

A variable defined outside a function:

may not be accessed in any way inside the function

may be read, but not written (something more is needed to do so)

may be freely accessed inside the 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?