website

profileNobody
LabAssignment03.docx

Submission Format

You should take the screenshot of your computer display while solving

the exercises and paste the image in the doc\docx file. You should also

write briefly at the end of each screenshot explaining its purpose and

finally summarize your understanding of the whole task (what you have

done and how) that you completed.

Your name, ID and course code and name should be there in the

coversheet of your document.

Submit the document in PDF format, in case you can’t find anyway to

convert it to PDF, then submit in doc\docx format. Remember

submitting in PDF, keeps the formatting\fonts etc. of your document in

place and the overall presentation remains nice and intact.

Online research are allowed for all the tasks.

Lab Assessment 03

PART-01: Process Scheduling

Draw the Gantt chart and find the average waiting time of the following

processes using Priority scheduling (Highest Priority Integer denotes

the highest priority):

Process Burst Time Priority

P1 6 3

P2 3 2

P3 1 4

P4 3 1

PART-02: BASH Scripting

Task 1:

Write a program using ‘While Loop’ that will accept 6 integers from user

within the range of 6 to 60 and will calculate Sum of all the inputted

numbers.

If the user enters any other value that doesn’t fall into the range of 6-60,

an appropriate error message should be shown and the program should

ask for an input again.

Attach the clear screenshots showing the complete code for each of the

programs.

PART-02: Windows

Task 1:

Open up Windows 10 Performance Monitoring toolkit and complete the

following sub-tasks with clear screenshots and summary.

First clear all existing counters.

a) Add any 3 counters (1 from each category) from ‘FileSystem Disk

Activity’, ‘GPU Process Memory’ and ‘IPv4’.

b) Change the colour and line width of any of the added counter, as

well as add a Title.

c) The default graph style is Line graph, alter it to Histogram.

d) Save the image of the graph as .gif file and the settings as HTML

file. Both cases use your StudentID as the file name.

Task 2:

Your manager has requested you to setup 3 standalone Windows 10

(Enterprise edition) computers at one of divisions in your company; the

computers each need to be configured according to the security policy

for the organization. The following list shows the policies. Configure

these in any of the VMs.

Note: execute the command ‘secpol’ from run dialog box to open up the

relevant dialog box, all of the below policies can be configured there.

• Passwords has to be at least 9 characters.

• A user may change their password once a day.

• Passwords must be changed every 105 days.

• User will have to provide a unique password for a minimum of 5

changes of the password.

• Users will be locked out of the computer after 4 failed attempts

and must delay any further attempt for at least 15 minutes for the

lookout counter to reset.

• User will automatically be logged out after 20 minutes of inaction

• Users will be reminded to alter the current password 7 days prior

its expiry.

• Rename the Administrator account with your StudentID, for

instance: s298900 .

Task 3:

Create a Software Restriction Policy (SRP) that will disallow execution of

application by all users except the Administrator.

END