Quiz6

Quiz6

University

10 Qs

quiz-placeholder

Similar activities

AND_OR Excel Functions Quiz

AND_OR Excel Functions Quiz

9th Grade - University

10 Qs

MS Excel - Day 03

MS Excel - Day 03

University

10 Qs

CS201: Chapter 5

CS201: Chapter 5

University

13 Qs

The Central Processing Unit

The Central Processing Unit

10th Grade - University

14 Qs

Functions

Functions

University

15 Qs

IT 321 2nd Live Quiz

IT 321 2nd Live Quiz

University

15 Qs

Module 1 - Programming in C

Module 1 - Programming in C

University

15 Qs

Module 5: Understanding Wired and Wireless Networks

Module 5: Understanding Wired and Wireless Networks

9th Grade - University

15 Qs

Quiz6

Quiz6

Assessment

Quiz

Computers

University

Medium

Created by

过蒋 过蒋

Used 15+ times

FREE Resource

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

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?