
Data Analytics UNIT Module 1-2 Mid Test

Quiz
•
Other
•
Professional Development
•
Medium
Saikat Bandopadhyay
Used 3+ times
FREE Resource
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!
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
RTV 11A AUDITION INTERFACE + WAVEFORM

Quiz
•
University - Professi...
23 questions
TGCS Week 2 Pop Quiz

Quiz
•
Professional Development
20 questions
Bahasa dan Software Compiler Pemrograman Mikrokontroler

Quiz
•
Professional Development
23 questions
Introduction to Electronics Quiz - 1

Quiz
•
Professional Development
27 questions
Security + (SY0-501) Domain 4

Quiz
•
Professional Development
20 questions
PREVIEW MODUL PEMBELAJARAN - PRE ICT

Quiz
•
Professional Development
25 questions
1st Excel Assessment Gibburion Analytics

Quiz
•
Professional Development
20 questions
G-ACE - Part 3

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade