Annamalai University 2008-1st Year B.Sc Computer Science " 561 / 160 UNIX AND C " ( - IV ) ( PART - III ) ( ) - Question Paper
Register Number:
Name of the Candidate :
6 6 0 5
B.Sc. DEGREE EXAMINATION, 2008
(COMPUTER SCIENCE)
( FIRST YEAR)
(PART - III)
( PAPER - IV)
561 / 160. UNIX AND C ( Common with New and Revised Regulations ) December ] [ Time : 3 Hours
Maximum : 100 Marks
PART - A (8 x 5 = 40)
Answer any EIGHT questions.
All questions carry equal marks.
1. Discuss the fundamentals of Unix.
2. Explain the structure of Unix OS.
3. List the types of basic regular expression.
4. Explain the processor directives.
5. Discuss the relational and logical operators.
6. Compare break and continue statements.
7. What is the purpose of switch statement ? Explain the difference between switch and if statement.
8. What is a pointer ? Discuss its various advantages.
9. Distinguish between structure and union.
10. What is meant by data file in c ? How do you open and close a file ?
PART - B (3 x 20 = 60)
Answer any THREE questions.
All questions carry equal marks.
11. (a) Explain the history of UNIX operating
system in detail. (10)
(b) Write a shell program to add two numbers. (10)
12. (a) Describe the functions of UNIX Kernel
data structures. (10)
(b) Explain the system calls with examples.
(10)
13. (a) Discuss the precedence of the operators
in C. (10)
(b) Distinguish between library functions and keywords in C. Give five examples for each. (10)
14. (a) Explain the dynamic memory allocation in
detail with example. (10)
(b) List and explain the different types of storage classes in C. (10)
15. (a) What is a singly linked list ? Explain with
examples. (10)
(b) Explain with examples, how do you create a structure and access the members from the structure. (10)
Attachment: |
Earning: Approval pending. |