Quiz6

Quiz6

University

10 Qs

quiz-placeholder

Similar activities

Algoritma dan Pemrograman Bab 1

Algoritma dan Pemrograman Bab 1

University

15 Qs

ESBrotherX_Medical AI_Lecture

ESBrotherX_Medical AI_Lecture

University

7 Qs

Ulangan harian 1 Algoritma dan Pemrograman

Ulangan harian 1 Algoritma dan Pemrograman

12th Grade - University

13 Qs

GIS Unit-1

GIS Unit-1

University

15 Qs

IT 209

IT 209

University

15 Qs

Information Technology & Business Canvas Model

Information Technology & Business Canvas Model

University

13 Qs

ICT450-TOPIC 1

ICT450-TOPIC 1

University

12 Qs

CID421 Introduction to 3D CAD SOLIDWORK

CID421 Introduction to 3D CAD SOLIDWORK

University

12 Qs

Quiz6

Quiz6

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

过蒋 过蒋

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

After a function is declared, it cannot be called when needed;

True
False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The number of actual parameters in a function call must match the number of formal parameters in the function’s declaration.

True
False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Local variables inside a function will not exist after the function has finished executing.

True
False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A function's declaration must precede any calls of it in the program text.

True
False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Docstrings in Python are used for normal block comments and do not have any special significance.

True
False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Using the global modifier is essential if you want to read the value of a global variable in a function.

True
False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The following function declaration is valid: def myFunction(x, y): return x + y

True
False

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?