You are on page 1of 4

Shaheed Zulfikar Ali Bhutto Institute of Science &

Technology
COMPUTER SCIENCE EPARTMENT

Total Marks: 04

Obtained
Marks:

Modelling and
Simulation
Assignment#03

Submitted To: Mr. Fakhar Ul Islam

StudentName: Muhammad irtaza ul haq

RegNumber: 1980207

M&S BS(SE)- 6b SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science &
Technology
COMPUTER SCIENCE DEPARTMENT

Instructions:
 Copied or shown assignments will be marked zero.
 Late submissions will result in marks deduction.
 Hand written assignments are not acceptable.
 If you have any query ,you can e-mail it on: fakhar.islam@szabist-isb.edu.pk

Question 1: Find the maximum, minimum, median, first quartile, third


quartile for given data set, 20, 30, 12, 10, 15, 14, 9. In addition, plot the
Boxplot of given data.
Answer:

 Order the data from smallest to largest.


9, 10, 12, 14, 15, 20, 30

 Find the median.


9, 10, 12, 14, 15, 20, 30
The Median= 14

 quartiles.
9, 10, 12
Q1=10
15, 20, 30
Q3=20

M&S BS(SE)- 6b SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science &
Technology

 Complete the five-number summary by finding the min and the


max.
Minimum = 9
Maximum = 30
 Five-number summary:9, 10, 14, 20, 30
Boxplot:

 Draw a box from Q1 to Q3, with a vertical line through the median.

M&S BS(SE)- 6b SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science &
Technology
Q1 M Q3

9 10 14 20 30

 Draw a whisker from Q1, to the min and from Q3, to the max.

9 10 14 20 30

M&S BS(SE)- 6b SZABIST-ISB

You might also like