
AEM249 Lecture 5
Authored by Markeith Diamond
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a module in Python?
A file containing Python code that can be used by other modules or scripts
A type of variable in Python
A built-in function in Python
A method for importing data into Python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the math module in Python?
To perform mathematical operations on strings
To provide access to mathematical functions and constants
To generate random numbers
To create visualizations in Python
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a popular Python library for working with numerical data?
Tensorflow
PyTorch
Seaborn
Pandas
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the random() method in the random module return?
A random integer
A random floating-point value
A random string
A random boolean value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using random numbers in engineering?
To generate predictable outcomes
To model uncertainties in simulations
To eliminate uncertainties in simulations
To create static visualizations
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the seed in the random module?
To eliminate randomness in simulations
To generate a random integer
To specify the range of random numbers
To help generate a random number
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ord() function in Python do?
Returns a string of one character for an encoded integer
Returns an encoded integer value for a string of length one
Returns a random floating-point value
Returns a random integer
Access all questions and much more by creating a free account
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
15 questions
IT 209
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
12 questions
ICT450-TOPIC 1
Quiz
•
University
15 questions
Algoritma dan Pemrograman Bab 1
Quiz
•
University
7 questions
ESBrotherX_Medical AI_Lecture
Quiz
•
University
11 questions
Video Watermaking
Quiz
•
University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade