
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
Already have an account?
Similar Resources on Wayground
62 questions
CompTIA A+ Core 2 (220-1102) Acronym List
Quiz
•
University
62 questions
CompTIA A+ Core 2 (220-1102) Acronym List - 3
Quiz
•
University
60 questions
Ethics Final Examination
Quiz
•
University
55 questions
PHP PGM
Quiz
•
University
60 questions
TTL 1- Midterm 2021
Quiz
•
University
54 questions
System Implementation
Quiz
•
University
60 questions
Integrated Systems Technology Quiz
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Instructional Technology
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
