AEM249 Lecture 5

AEM249 Lecture 5

University

10 Qs

quiz-placeholder

Similar activities

Software Engineering Quiz 3

Software Engineering Quiz 3

University

10 Qs

C++ vs Python: A Quiz Introduction

C++ vs Python: A Quiz Introduction

11th Grade - University

10 Qs

Python Test1 (If Statement)

Python Test1 (If Statement)

University

10 Qs

Monday Night Quiz 3/15

Monday Night Quiz 3/15

University

10 Qs

coding

coding

KG - Professional Development

15 Qs

Python Programming Concepts Challenge

Python Programming Concepts Challenge

10th Grade - University

10 Qs

Python Quiz 1

Python Quiz 1

University

10 Qs

Python Basics

Python Basics

University

10 Qs

AEM249 Lecture 5

AEM249 Lecture 5

Assessment

Quiz

Computers

University

Easy

Created by

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

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?