
Python_Ch4_All
Quiz
•
Instructional Technology
•
University
•
Practice Problem
•
Hard
Kevin Tinsley
FREE Resource
Enhance your content in a minute
59 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a way to define and use functions in your programs?
Using default values
Using named arguments
Using local variables
Using global variables
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a step in using your own modules?
Create the module
Document the module
Import the module
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which module should be imported to use random functionalities in Python?
math
random
os
sys
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Use a hierarchy chart or outline to plan the functions of a program.
To organize the program structure
To execute the program
To debug the program
To compile the program
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In general terms, describe how to define a function, including the use of a return statement.
A function is defined using a specific syntax and may include a return statement to output a value.
A function is defined by listing all variables and does not use a return statement.
A function is defined by writing a paragraph describing its purpose.
A function is defined by using a loop and a return statement is optional.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In general terms, how do you call a function?
By specifying the function name followed by parentheses.
By writing the function definition again.
By using a loop to iterate over the function.
By declaring the function as a variable.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In general terms, describe how to define and call a main() function.
Define the main() function using the 'def' keyword and call it using 'main()'.
Use the 'function' keyword to define main() and call it with 'execute main'.
Declare main() with 'start' and invoke it with 'run main'.
Define main() with 'create' and call it using 'invoke main'.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
60 questions
Mass: Heavy or light
Quiz
•
1st Grade - University
63 questions
Communications Technology in IS
Quiz
•
University
54 questions
IOT-SEM-PART-A4
Quiz
•
University
64 questions
Integrated Systems Quiz
Quiz
•
University
57 questions
Electric Motors Quiz
Quiz
•
University
55 questions
A+ Lesson 1,2,3
Quiz
•
University
54 questions
Module ICT #1
Quiz
•
University
60 questions
AUT 201 Pre/Post test
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Instructional Technology
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
