You are on page 1of 7

IT & Computer Science Department

Pak-Austria Fachhochschule: Institute of Applied Sciences and


Technology, Haripur, Pakistan

OS Lab/SE Marks:

Instructor:(DR. SYED ALI ASADULLAH / Engr. RIZWAN) Due: 15/03/2023

Name: AITSAM UL HASSAN Registration #: B21F0230CS015

Lab # 1

Lab Tasks
1) Make the following directory hierarchy:

2) How will you add a directory Ora8 under the directory Oracle while you are in
Languages sub-directory Java?
3) a) You are in Computer directory, from here try to remove sub-directory
VisualBasic under the directory Languages.

b) Now move to directory Graphics, from here remove sub-directory Access


under the directory DBMS.

c) Now recreate both of the removed directories.

a)
b)

c)
4) There’s a file Graphics in the directory Computer, and your current directory is
Computer, copy Graphics to sub-directory Access under the directory DBMS.
5) Display the date and time in the following format:
March 04, 2022 10:42:07 AM

6) Create a file unsorted, which contains some numeric positive and negative
numbers:
i) Sort the file in normal fashion and observe the results of sorted file
ii) Now sort the file by their numeric values.
7) Create the file name marks. Add the following data in it,

Ahmed Abrahim 9.2

Akber Khan 9

Rebia Firdous 8

Raja Kiani 8

Sohail Khan 8.9

Waqas Tahir 6.9

Zain Kazmi 5
Sort the above file in descending order by marks obtained in the quiz

You might also like