Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

Exam: Elements of Data Processing

(COMP20008_2022_SM1)


Question 1

2 pts

The dataset consists of 500 records, the variables "Weight" and "Income in '000s" have missing values. The table below is a small sample of the dataset.

Participant id

Age

Gender

Weight

Income in

'000s

1

40

F

86

2

19

F

3

27

F

76

4

26

M

88

5

57

M

95

83

6

45

M

111

134

7

19

M

99

110

8

22

M

9

67

F

77

80

10

33

F

119

The information we have is that the average weight in the population in 87, while in the dataset it is 92.7, the average weight of females in the population is 75kg while in the dataset it is 75.08, the average weight of males in the population is 99kg       while in the dataset it is 98.25).

The average income in the population is 90k while in the dataset it is 110.17k, the average female income in the population is 85k, while in the dataset it is 91.67k,  the average male income in the population is 95k, while in the dataset it is

108.67k.

[ Select

[ Select ]




Question 2

2 pts

Convert the JSON file ONLY into XML with the following two xml elements: ess> <Reactor>. Ensure all information in the JSON file are captured in the

XML.

{

"Process Name": "Bio-Product A",

"Process No": 1,

"Reactor": {"Name": "XA001",

"volume": 5, "Unit": "Litre", "location":"Melbourne"

},

"Material-type": "YYG01"

}

Edit    View Insert Format Tools Table

12pt Paragraph

</>



Question 3

2 pts

Choose the most appropriate for the data described or desired outcome.

[ Select ]

b. I am building a business that can grow to as many customers as possible, so I

[ Select ]



Question 4

3 pts

Consider the following regular expression meta operators:

( ) [ ] { } . * + ? ^ $ | \

Write a regular expression for the regression equation for a simple linear           regression model assuming that the dependent variable is a string consisting of one or more English alphabet letters and starts with the letter 'A' and an            independent variable is a string consisting of English alphabet letters and starts with the letter 'B'. Also assume