You are on page 1of 4

PRACTICAL LIST

Subject Title: -Operating System Term :- March 2023-June 2023

Subject Code :- 3140702 Semester :- IV


Branch:-Computer Engineering Faculty: Prof. A K.Dodiya
Prof.S G.Patel
Prof.R J.Prajapati

Sr. List of Experiment CO


No.

1) Study of Windows Installation and MS DOS Basic Commands. CO 5

1.ATTRIB 6. DATE 11. FC 16. RENAME 21. TITLE

2.CD 7. DEL 12. FIND 17. REPLACE 22. PRINT

3.CHDIR 8. DIR 13. FINDSTR 18. RMDIR 23. HELP

4.CLS 9. ECHO 14. MKDIR 19. TREE 24. TIME

5.COPY 10. EXIT 15. MOVE 20. SORT 25. VER

2. Study of LINUX/UNIX Architecture AND Installation of Ubuntu using Virtual CO 5


Box.

1) Draw UNIX architecture and briefly introduce it’s component.

2) Give all the Features of UNIX OS.

3) Give the advantages of UNIX over Windows.

4) Write a Installation Steps on Linux on your machine.

3. Study of Basic and directory manipulation commands of Linux/UNIX. CO 5

a) Study of Unix Shell and Environment Variables.

b) cal, date, echo, bc, who, uname

1) Display current month Calendar.

2) Display the Calendar of given month and year value provided by


user.

3) Display the calendar of current, previous and next month.

4) Display a calendar in which start day of week is Monday.

5) Display a calendar in which start day of week is Sunday.

6) Display a calendar in which current date is not highlighted.

7) Display current month number using DATE command.

8) Display current year number in two digit form using DATE


command.

9) Display the day of current date in short as well as full name using
DATE command.

10) Display the month of current date in short as well as full name
using DATE command.

11) Display date in mm/dd/yyyy format.

12) Display date in yyyy-mm-dd format.

13) Display the century of current year..

c) pwd, mkdir, cd, rmdir

Using aboce 4 commands generate given tree.

Enrollment No

Enrollment No_1 Enrollment No_2

Enrollment No_11 Enrollment No_12 Enrollment No_21

4. Study of File Manipulation and Permission Commands. CO 5


1. cat 4. cp 7. comm 10. file

2.wc 5. cmp 8. mv 11. chmod

3.ls 6. rm 9. diff 12. sort

5. Study of Advance File manipulation and File filters of Linux/UNIX. CO 5

1. head 3. tail 5. cut(-f) 7. cut(-c)

2.paste 4. sort 6. grep

Create a File Contains Student details like:

Enrollment number, Name, Birth-date, Semester, Branch, Gender, Email


Address, SPI

Use above commands to Solve Questions given below:

a) Display first 7 lines of the file.

b) Display Last 4 Lines of the File.

c) Cut the file column wise and display Student Enrollment number , Gender,
Email Address.

d) Cut the file column wise and display Student name , Branch,semester

e) Merge the result of Question c and d and store it File named result_cd.

f) Cut the File Field wise to display second,third and fourth field of the file.

g) Display the First three student details having highest SPI in decreasing
order.

h) Change file delimiter with another one.

i) Display student details studying in same branch .

j) Display student details studying in same branch and same semester.

k) Display students have SPI greater than 6.


l) Display details of all girls students.

6. a) Write a shell script to find factorial of given number n. CO 5


b) Write a shell script which will generate first n fibonnacci numbers like: 1, 1,
2, 3, 5, 13,…

7. Write a shell script which will accept a number b and display first n prime CO 5
numbers as output.

8. Write a shell script to read n numbers as command arguments and sort them in CO 5
descending order.

9. Write a menu driven shell script which will print the following menu and execute CO 5
the given task.

MENU

Display calendar of current month

Display today’s date and time

Display usernames those are currently logged in the system

Display your name at given x, y position

Display your terminal number

Exit

10. Write a shell script to validate the entered date. (eg. Date format is : dd-mm- CO 5
yyyy).

11. Write a shell script to generate marksheet of a student. Take 3 subjects, calculate CO 5
and display total marks, percentage and Class obtained by the student.

12. Write a program for process creation using C. (Use of gcc compiler). CO 3

FACULTY NAME

Prof.A.K.Dodiya

Prof.R.J.Prajapati

You might also like