Professional Documents
Culture Documents
Solution Lab Task 2
Solution Lab Task 2
OS Lab/SE Marks:
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.
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,
Akber Khan 9
Rebia Firdous 8
Raja Kiani 8
Zain Kazmi 5
Sort the above file in descending order by marks obtained in the quiz