Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

STAT 20023 Final Exam

Engineering Data Analysis Due: July 23, 2022

1 Guidelines

The guidelines for the Final Exam are as follows:


1. This exam is a multiple choice type of exam. Write the letter of your answer on
the space provided below. I prefer you to download this pdf file and use a pdf
editing app to write the letter of your answer below. (No need to use a separate
sheet/paper).
2. You have until 23 July, 2022, 6:00 PM to answer and submit your solutions. You
will need to submit 2 files, the pdf file of your answer sheet and your Pledge of
Honesty form. Make sure you turned in!
3. For the signed pledge of honesty form, submit a separate file. Please rename your
file as follows: POH.Surname. Please rename your answer sheet file as your last
name in upper case.

2 Answer Sheet

Write the letter of your answer in lower case. Explanation or solution is not necessary!

1. 14. 27. 40.


2. 15. 28. 41.
3. 16. 29.
42.
4. 17. 30.
43.
5. 18. 31.
6. 19. 32. 44.

7. 20. 33. 45.


8. 21. 34. 46.
9. 22. 35.
47.
10. 23. 36.
48.
11. 24. 37.
12. 25. 38. 49.

13. 26. 39. 50.

1
3 Problems

Read each item carefully. Choose the best answer among the the choices.If the answer
is NOT among the choices write (e).(1 point each)

1. A teacher asks students to identity (c) Color: blue, red, white.


their favorite reality television show. (d) Subject: algebra, calculus,
What type of measurement scale do trigonometry
the different television shows make
up? 5. In descriptive statistics, we study
(a) Nominal (a) The description of decision making
(b) Ordinal process
(c) Interval (b) The methods for organizing, dis-
playing, and describing data
(d) Ratio
(c) How to describe the probability
2. A market research company asks a distribution.
sample of students to rate the taste of
a new soft drink. The response scale (d) None of the above
is really yummy, yummy, ok, yuck, re- 6. Which of the following situations ex-
ally yuck. This is an example of a hibit the function of Inferential Statis-
? tics?
(a) Nominal (a) The highest score obtained by BSS
(b) Ordinal section 1 in their first quiz is 48.
(c) Interval (b) All the ten scores are closely scat-
(d) Ratio tered around the average value.
3. A body of principle, which deals with (c) Mathematical anxiety of the stu-
collection, analysis, interpretation and dents will be related with their
presentation of numerical facts or academic performance.
data. (d) Line graphs will be used to exhibit
the fluctuating trend of monthly
(a) Statistic
consumption of electricity.
(b) Descriptive
7. Which of the following situations
(c) Inferential
exhibit the function of Descriptive
(d) Statistics Statistics?
4. Which one of the following variables is
(a) Determining the most favored
not categorical?
characteristics of the ideal teacher
(a) Score on the exam. students perceived.
(b) Educational Attainment: elemen- (b) Relating the number of absences
tary graduate, high school gradu- committed by students with their
ate, college graduate. academic performance.

2
(c) Citing the differences in percep- (b) Ordinal
tion of the male and female stu- (c) Interval
dents towards NO ID-NO ENTRY (d) Ratio
policy.
11. Student government on your campus
(d) Comparing the course grades in sponsors a wide range of volunteer ac-
Statistics of every section who are tivities. You are interested in whether
taking the subject during the first students who volunteer are generally
semester. more active than those who do not.
8. Which of the following is a discrete You distribute a survey in randomly
variable? selected classes on campus that asks
students to rate their level of involve-
(a) The amount of time remaining on
ment in campus activities using a 5-
this exam.
point Likert scale. You compare the
(b) The number of question on this ratings of volunteers to those of no vol-
exam unteers. What is the scale of measure-
(c) The width of the paper that this ment of the dependent variable in this
exam is printed on. study?
(d) All of the Above (a) Nominal
9. A coffee shop wants to know the tem- (b) Ordinal
perature of coffee that most people (c) Interval
prefer. They brew coffee at the typical (d) Ratio
temperature for the shop and then ask 12. is the science of collecting, or-
customers “Do you prefer coffee to be ganizing, summarizing, and analyzing
at this temperature?” and record a yes information to draw conclusions or an-
or no answer for each customer. What swer questions.uses methods that take
is the level of measurement of the way a result from a sample, extend it to the
they measured preferred temperature? population, and measure the reliabil-
(a) Nominal ity of the result.
(b) Ordinal (a) Statistic
(c) Interval (b) Statistics
(d) Ratio (c) Descriptive
(d) Inferential
10. The same coffee shop later repeats the
study but this time they ask “Do you 13. Uses methods that take a result from
prefer coffee to be a lot colder, a lit- a sample, extend it to the population,
tle cooler, this temperature, a little and measure the reliability of the re-
warmer or a lot hotter?” and record sult.
the person’s response. Now, what is (a) Statistic
the level of measurement of the way (b) Statistics
they measured preferred temperature? (c) Descriptive
(a) Nominal (d) Inferential

3
14. A is a quantitative variable that has 18. A variable provide numerical mea-
either a finite number of possible val- sures of individuals. The values can
ues or a countable number of possi- be added or subtracted and provide
ble values. The term countable means meaningful results.
that the values result from counting,
(a) Nominal
such as 0, 1, 2, 3, and so on. It cannot
take on every possible value between (b) Ordinal
any two possible values. (c) Interval
(d) Ratio
(a) variable
(b) continuous 19. A variable is at the level of measure-
ment if it has the properties of the or-
(c) discrete
dinal level of measurement and the dif-
(d) finite ferences in the values of the variable
have meaning. A value of zero does
15. A variable is at the level of mea-
not mean the absence of the quantity.
surement if the values of the variable
Arithmetic operations such as addi-
name, label, or categorize. In addi-
tion and subtraction can be performed
tion, the naming scheme does not al-
on values of the variable.
low for the values of the variable to be
arranged in a ranked or specific order. (a) Nominal
(a) Nominal (b) Ordinal
(b) Ordinal (c) Interval
(d) Ratio
(c) Interval
(d) Ratio 20. A quantitative variable that has an in-
finite number of possible values that
16. Consist of organizing and summariz- are not countable. It may take on
ing data. It describes data through every possible value between any two
numerical summaries, tables, and values.
graphs.
(a) variable
(a) Statistic (b) continuous
(b) Statistics (c) discrete
(c) Descriptive (d) infinite
(d) Inferential 21. Variable is at the level of measurement
17. are the characteristics of the in- if it has the properties of the nomi-
dividual within the population. nal level of measurement, however the
naming scheme allows for the values of
(a) Universe the variable to be arranged in a ranked
(b) Sample or specific order.
(c) Variable (a) Nominal
(d) Vector (b) Ordinal

4
(c) Interval (c) Statistics
(d) Ratio (d) R software
22. The entire group to be studied is 27. The following are tool to analyze data
called the ? science, except.

(a) Universe (a) R programming


(b) Sample (b) C++
(c) VB
(c) Respondents
(d) Pearl
(d) Population
28. The following are skills for data scien-
23. The subset of the population that is tist except.
being studied.
(a) Mathematics
(a) Universe (b) Engineering
(b) Sample (c) Computer Science
(c) Respondents (d) Statistical Research
(d) Population 29. The following are planes in R software
24. Is the process of gathering and mea- except.
suring information on variables of in- (a) Final
terest, in an established systematic (b) R script
fashion that enables one to answer
(c) History
stated research questions, test hy-
(d) Global environment
potheses, and evaluate outcomes.
F or item 30 − 32 :
(a) Gathering of Data
Consider the f igure below.
(b) Statistics
(c) Survey
(d) Experiment
25. Is a person or object that is a member
of the population being studied.
(a) Individual
30. What would be the output result on
(b) element
the console if you encode “seq(10,13,
(c) Respondents length.out = 5)” to the R script.
(d) Man (a) a
26. is a blend of various tools, algo- (b) b
rithms, and machine learning princi- (c) c
ples with the goal to discover hidden (d) d
patterns from the raw data.
31. What would be the output result on
(a) Data Science the console if you encode “seq(10,13,
(b) Data Analysis by = 0.2)” to the R script.

5
(a) a
(b) b
(c) c
(d) d
32. If you want to have an output c or d
on the console, what code should you
write on the R script? 35. What input on the R script should be
encode to have an output on the con-
(a) seq(10,13, length.out = 5) sole as shown on the figure below?
(b) seq(10,13)
(c) 10:13
(d) All of the Above (a) a
(b) b
F or item 33 − 34 :
Consider the f igure below. (c) c
(d) d

36. What code on the R script will give


you an output of “[1] 49500” on the
console?

33. What code on the R script will give (a) a


you an output of “[1] 11 11 11 11 11 (b) b
12 12 12 12 12 13 13 13 13 13” on the
(c) c
console?
(d) d
(a) a or b
(b) b or c 37. What code on the R script will give
you an output answering the question
(c) a or c of ”How much is your income1 or in-
(d) b only come 2 over the week?”
34. What code on the R script will give (a) a
you an output of “[1] 11 12 13 11 12
(b) b
13 11 12 13 11 12 13 11 12 13” on the
console? (c) c
(d) d
(a) a
(b) b F or item 38 − 39 :
(c) c Consider the f igure below.

(d) d
F or item 35 − 37 :
Consider the f igure below.

6
38. What code on the R script will (a) a
give you an output on the con- (b) b
sole as shown on the figure below? (c) c
(d) d
41. What code on the R script will
give you an output on the con-
sole as shown on the figure below?

(a) a
(b) b
(c) c
(d) d
39. What code on the R script will (a) a
give you an output on the con- (b) b
sole as shown on the figure below? (c) c
(d) d
42. What code on the R script will
give you an output on the con-
sole as shown on the figure below?

(a) a
(b) b
(c) c
(d) d
F or item 40 − 42 : (a) a
Consider the f igure below. (b) b
(c) c
(d) d
F or item 43 − 45 :
Consider the f igure below.
40. What code on the R script will
give you an output on the con-
sole as shown on the figure below?

43. What code on the R script will give


you an output of “[1] 17” on the con-
sole?

7
(a) MatrixX[4,2] F or item 48 − 50 : Bonus
(b) MatrixX[2,4] Your message to me. Let’s make it
more exciting and fun follow me on
(c) MatrixX(2,4)
tiktok and you will see a video about
(d) MatrixX(4,2) my masters graduation. Write your
44. What code on the R script will give message to me on the comment sec-
you an output of “[1] 13” on the con- tion (2-3 sentences only).
sole?

(a) MatrixX[3,4]

(b) MatrixX[4,3]

(c) MatrixX(3,3) —
(d) MatrixX(4,2) —

45. What code on the R script will

give you an output on the con-

sole as shown on the figure below?







(a) MatrixX[,c(2,4)]

(b) MatrixX[c(2,4),] —
(c) MatrixX(c(2,4),) —
(d) MatrixX(c(2,4),) —

46. What function should be used to get

the structure of the data frame?

(a) data.frame —
(b) str —
(c) description —

(d) subset

47. What function should be used to ex- —
tract a variable on the data frame? —

(a) variablename

(b) str —
(c) description —
(d) subset

You might also like