JAIN UNIVERSITY
BCA 5TH SEM
SYSTEM PROGRAMMING
2 MARK QUESTION
- Define system software.
- Give the differences between pure procedure and impure procedure.
- Give the format of a RX instruction. Give one example.
- Give the use of MAR and MBR in a stores program computer.
- Give the differences between a pseudo-op and a machine-op.
- What is the function of BALR instruction?
- What is a Macro processor?
- Give the difference between open subroutine and closed subroutine.
- What are the functions of a macro processor?
- What are basic functions of a loader?
- What do RLD cards contain?
- What are reductions?
- What is the difference between compiler and interpreter?
- What are the basic tasks that a compiler should perform?
- What is Syntax analysis?
- Define the terms system software & application software.
- Explain open and closed subroutine.
- What is a pseudo-op? List the different pseudo-ops.
- Write the format for RX instruction.
- What is a location counter?
- Define MBR and MAR.
- What is a macro definition and macro call?
- What are the features of macro facility?
- Define macro name table.
- What are the functions of loader?
- Define relocation factor.
- Define ESD cards.
- What is a compiler? List the basic tasks of compiler.
- Define reductions.
- Give the format of identifier table of storage assignment.
- What is system software?
- Mention the components of system software.
- What are the basic units of memory of IBM 360.
- Give the format of RX instruction.
- What is a pseudo-op? Give an example.
- What is the use of a literal ? Give an example.
- What is a macro instruction?
- What is the difference between positional argument and keyword argument?
- What are the basic tasks of a macro processor?
- What are the functions of a loader?
- What is a binder?
- Write the syntax for macro with more than one arguments.
- Write the syntax for macro without arguments.
- What is expansion in maroprocessor.
- Mention the different databases used in the code generation phase of a compiler.
- What is interpretation phase?
- What is lexical analysis?
- What is an identifier table? Give its format.
- ------------------------------------------------------------------------------
- 5 MARKS QUESTIONS
- Explain the general machine structure of IBM 360
- Write a looping assembly language program by using literals.
- Explain the data structures of pass 2 Assembler.
- Explain the format of machine-op-table database
- Explain the address modification using index register.
- Specify and explain in brief any five databases used in pass-1 of a two pass macro processor
- What is dynamic loading? Explain
- What are the different databases of the lexical phase of a compiler? Give their formats
- Explain the various instruction formats of IBM 360/370
- Briefly explain about address modification using index register.
- With an example explain MOT and POT table.
- Give the algorithm for pass 2 of an assembler.
- Explain macro calls within macros.
- With a diagram explain compile and go loader.
- Briefly explain about subroutine linkages.
- Explain machine independent optimization.
- Explain the registers in IBM 360/370.
- Explain address modification using index registers with the help of an example.
- Give and explain the format of machine-op-table.
- With the help of simple flowchart give the requirements of pass2 of 2-pass assembler.
- Explain macro call within macros with the help of an example.
- Explain dynamic linking and dynamic loading.
- Explain different kinds of address constant with the help of an example.
- Explain lexical phase of a compiler.
- --------------------------------------------------------------------------------------
10 MARKS QUESTIONS
- With the help of a flowchart, briefly explain pass-2 of a 2 pass assembler.
- With the help of an example illustrate shell sort.
- Give the flowchart of a single pass macroprocessor.
- With the help of a flowchart, explain the design of an absolute loader.
- Explain the different passes of a compiler.
- With the flowchart explain the detailed pass1 of a two pass assembler
- Explain any two sorting techniques with example.
- Explain one pass macro processor with a flowchart
- Explain the design of direct linking loader
- Explain general model of a compiler with a neat diagram
- Draw and explain the flowchart of pass1 of 2-pass assembler.
- Sort the following elements using
- Shell sort
- Radix sort
Show the result at the end of each pass (5+5)
11, 6, 21, 14, 56, 9, 41, 26, 33, 70, 10, 12
- Draw and explain the flowchart of pass2 of 2-pass macro processor.
- Answer the following
- Draw the flowchart of Absolute loader and explain.
- Explain the working of BSS loading scheme.
- Explain in detail machine independent optimization techniques in a compiler.