
Data Analytics UNIT Module 1-2 Mid Test
Authored by Saikat Bandopadhyay
Other
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the output of the following code: for i in range(5): print(i)?
10
0 1 2 3 4
-1
5
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How do you write an if statement in Python?
if (condition) do_something()
if: condition do_something()
if condition do_something()
if condition: do_something()
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
An e-commerce site claims that 95% of its orders are delivered on time. If you order 3 items on different dates, what is the probability that all 3 are delivered on time?
0.95
0.90
About 0.857
0.99
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How can you read a file in Python?
Use 'with open(filename, 'r') as file: content = file.read()' to read a file in Python.
Use 'with open(filename, 'w') as file: content = file.read()' to read a file in Python.
Read a file by calling 'file.read(filename)' directly.
Use 'open(filename) as file: content = file.read()' to read a file in Python.
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What function is used to write data to a file in Python?
append()
export()
write()
save()
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Define the term 'probability' in your own words.
Probability is the certainty of an event occurring.
Probability is the total number of possible outcomes.
Probability is the average of all possible events.
Probability is the likelihood of an event happening.
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the formula for calculating permutations?
P(n, r) = n! + (n - r)!
P(n, r) = n! * r!
P(n, r) = n! / (n - r)!
C(n, r) = n! / r!
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
20 questions
RECURSOS DE CONVIVENCIA SOCIAL
Quiz
•
Professional Development
20 questions
Customer Obsession
Quiz
•
Professional Development
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
Ẩm thực đường phố Việt
Quiz
•
Professional Development
20 questions
Mantenimiento básico del motor
Quiz
•
Professional Development
20 questions
WCD_Khnadwa
Quiz
•
Professional Development
20 questions
BG Chapter 13
Quiz
•
Professional Development
20 questions
Weeb prudence
Quiz
•
7th 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
Discover more resources for Other
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development