CTEC 128 - Discrete Structures Using Big Data » Spring 2023 » Quiz 2
Need help with your exam preparation?
Get Answers to this exam for $6 USD.
Get Answers to all exams in [ CTEC 128 - Discrete Structures Using Big Data ] course for $25 USD.
Existing Quiz Clients Login here
Question #1
You are asked to rephrase the following question so that it is not biased: Where do you like to party on the weekends? Which would be the best replacement for this question?
A.
What do you like to do on the weekends?
B.
Do you like to party or stay home on the weekends?
C.
When you party on the weekends, where do you like to go?
D.
It is not biased as is.
Question #2
Which of the following variable names best follows all of the correct naming conventions?
A.
2nd_item
B.
list
C.
favorite_number
D.
Quiz-Answer
Question #3
Which question is unbiased?
A.
Would you prefer to eat a delicious steak or a plain sandwich?
B.
How many hours do you typically sleep per night?
C.
Why is it best for a dress code to exist?
D.
Should concerned dog owners vaccinate their pets?
Question #4
What will be the output of the following code snippet? score = 95 print(type(score))
A.
<class 'char'>
B.
<class 'int'>
C.
<class 'str'>
D.
<class 'float'>
Question #5
Which of the following pandas commands will display the number of rows and columns in a dataframe?
A.
print(df.shape)
B.
print(df.dtypes)
C.
print(df.describe())
D.
print(df.columns)
Question #6
In which phase of the data science life cycle would a researcher be most concerned with the possibility of confirmation bias?
A.
Analyze Data
B.
Ask Questions
C.
Consider Data
D.
Interpret Data
Question #7
What will be printed to the screen when the following program is run? my_list = [1,2,3,4,5] print(max(my_list) + sum(my_list)]
A.
16
B.
6
C.
20
D.
15
Question #8
Which of the following pandas commands will list the datatypes of all columns in a dataframe?
A.
print(df.datatypes)
B.
print(df.shape)
C.
print(df.dtypes)
D.
print(df.types)
Need help with your exam preparation?
Get Answers to this exam for $6 USD.
Get Answers to all exams in [ CTEC 128 - Discrete Structures Using Big Data ] course for $25 USD.
Existing Quiz Clients Login here