
AEM249 Lecture 5

Quiz
•
Computers
•
University
•
Easy
Markeith Diamond
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Principles of Programming

Quiz
•
KG - University
15 questions
Python Workshop Day - 2

Quiz
•
University
8 questions
J277 - 2.2 - Random Number Generation

Quiz
•
10th Grade - University
15 questions
Python Programming

Quiz
•
5th Grade - University
15 questions
Python Basics

Quiz
•
University
10 questions
sample test

Quiz
•
University
10 questions
Basic python

Quiz
•
University
10 questions
02 - Python - Introduction & Installation

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University