SPPU Electronics and Telecom Engineering (Semester 5)
System Programming and Operating System
December 2014
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


Answer any one question from Q1 and Q2
1 (a) What do you understand by Grammar ? Explain the use of terminal and non-terminal in representing grammar.
4 M
1 (b) Explain any one data structure used for language processing.
4 M
1 (c) Explain LEX and YACC.
8 M

2 (a) Define following terms and explain where it is used with examples.
i) DFA
ii) Regular Expression
iii) Forward Reference
iv) Back Tracking.
8 M
2 (b) Explain different phases of language processing.
10 M

Answer any one question from Q3 and Q4
3 (a) What is compiler ? Describe the different phases of compiler in detail.
8 M
3 (b) Define macro and explain macro expansion with suitable example of nested macro.
10 M

4 (a) Differentiate : Expansion time loops and Execution time loops.
4 M
4 (b) Explain Positional Parameters, Keyword Parameters and Default Specification of Parameters.
4 M
4 (c) Explain Data structures of macro preprocessor.
8 M

Answer any one question from Q5 and Q6
5 (a) Why program relocation is required and how is it performed ?
6 M
5 (b) Explain the function of compiler and go scheme. What are the advantages and disadvantages of the scheme ?
10 M

6 (a) Explain the design of a direct linking loader. Also explain all required data structures.
8 M
6 (b) List down the components of a programming environment. Explain any two components in detail.
8 M

Answer any one question from Q7 and Q8
7 (a) Explain IPC. Explain different IPC problems.
10 M
7 (b) Write short notes on the following: i) Process Control Block
ii) Critical Section
8 M

8 (a) Explain deadlock and explain different methods to avoid deadlock.
9 M
8 (b) Draw and explain process state transitions.
5 M
8 (c) Explain pre-emptive and non pre-emptive concept with example.
4 M

Answer any one question from Q9 and Q10
9 (a) Explain the concept of segmentation.
8 M
9 (b) How virtual memory system is utilized in memory management ? Explain in detail.
8 M

10 (a) Explain the need for paging.
4 M
10 (b) Explain the performance of demand paging.
8 M
10 (c) Explain advantages and disadvantages of segmentation.
4 M

Answer any one question from Q11 and Q12
11 (a) Explain the following:
A) File directories
B) Disk ARM scheduling algorithm.
8 M
11 (b) Draw and briefly explain the file structure.
8 M

Write short note on:
12 (a) Clock Software
5 M
12 (b) Graphical user interface
5 M
12 (c) File system and implementation with an example.
6 M



More question papers from System Programming and Operating System
SPONSORED ADVERTISEMENTS