BCA 4th Semester
Understanding Unix
Paper: BCA-403
Time Allowed: Three Hours] [Maximum Marks: 90
Note:- Attempt FIVE questions in all, including Q. No. 9 which is compulsory and taking one each from Section-A to Section-D.
SECTION—A
1. (a) What is an Operating System (OS) ? Describe the broad functions provided by an OS.
(b) Draw the state diagram of a process from its creation to termination, including all transitions and briefly elaborate every state and every transition.
2. Compare and contrast:
(a) UNIX OS and WINDOWS OS
(b) Time-Sharing System and Real-Time Systems.
SECTION—B
3. (a) Explain any five job/process control facilities in UNIX and write the commands for each facility.
(b) What is the purpose of having pipes in UNIX ? Design a UNIX pipe that displays lines from 26 to 50 in a data file having 100 lines.
(c) List any 4 symbols for I/O redirection within the UNIX environment. For each symbol, briefly describe its purpose and provide an example of its use.
4. (a) Give an account of various file handling and directory handling commands in UNIX with examples.
(b) What is a Regular Expression ? Give regular expressions that could be used with grep command that would match the lines described below:
(i) Lines containing the string bca403, but with any number of the letters capitalized (i.e., BCA403, bCa 374, etc.)
(ii) Lines not containing any lower-case English vowels. (The vowels are the letters a, e, i, o and u).
(c) Classify some important features of vi editor in UNIX to create and modify a file.
SECTION—C
5. List at least FOUR functional activities of a UNIX System Administrator. Explain the facilities in UNIX for handling these FOUR activities by taking suitable examples. Discuss the role of tar facility for system administration with examples.
6. Explain the following in the context of administering UNIX systems:
(a) Starting and shutting down the UNIX system
(b) Adding and removing user accounts
(c) Managing hard disk space.
SECTION—D
(a) What is a shell script ? Explain the procedure to create and execute a "shell script".
(b) Write a UNIX shell script to read the first term a, the ratio r and number n and calculate the result of the series : a + ar + ar2 + ..... + arn-1 + arn.
8. Write short notes on the following with examples: (a) AWK pattern scanning and processing language (b) Network Troubleshooting commands in UNIX.
SECTION—E
(Compulsory Question)
(a) What is a Process ? How is it different from a Computer Program ?
(b) What is the differences between A and B A B in UNIX, where A and B are two binary executables?
(c) What is the purpose of UNIX Kernel ?
(d) Explain what the UNIX command chmod does.
(e) Name some UNIX commands for inter-user communication.
(f) How do you recover from system crash in UNIX ?
(g) How do you change password in UNIX ?
(h) What is full form of AWK ?
(i) What is the length of IPv6 address ?
0 comments:
Post a Comment
North India Campus