Jayahsree M K

Jayahsree M K
ORACLE CERTIFIED

Friday, August 17, 2012

JAIN UNIVERSITY

BCA 5TH SEM

SYSTEM PROGRAMMING

2 MARK QUESTION

  1. Define system software.
  2. Give the differences between pure procedure and impure procedure.
  3. Give the format of a RX instruction. Give one example.
  4. Give the use of MAR and MBR in a stores program computer.
  5. Give the differences between a pseudo-op and a machine-op.
  6. What is the function of BALR instruction?
  7. What is a Macro processor?
  8. Give the difference between open subroutine and closed subroutine.
  9. What are the functions of a macro processor?
  10. What are basic functions of a loader?
  11. What do RLD cards contain?
  12. What are reductions?
  13. What is the difference between compiler and interpreter?
  14. What are the basic tasks that a compiler should perform?
  15. What is Syntax analysis?
  16. Define the terms system software & application software.
  17. Explain open and closed subroutine.
  18. What is a pseudo-op? List the different pseudo-ops.
  19. Write the format for RX instruction.
  20. What is a location counter?
  21. Define MBR and MAR.
  22. What is a macro definition and macro call?
  23. What are the features of macro facility?
  24. Define macro name table.
  25. What are the functions of loader?
  26. Define relocation factor.
  27. Define ESD cards.
  28. What is a compiler? List the basic tasks of compiler.
  29. Define reductions.
  30. Give the format of identifier table of storage assignment.
  31. What is system software?
  32. Mention the components of system software.
  33. What are the basic units of memory of IBM 360.
  34. Give the format of RX instruction.
  35. What is a pseudo-op? Give an example.
  36. What is the use of a literal ? Give an example.
  37. What is a macro instruction?
  38. What is the difference between positional argument and keyword argument?
  39. What are the basic tasks of a macro processor?
  40. What are the functions of a loader?
  41. What is a binder?
  42. Write the syntax for macro with more than one arguments.
  43. Write the syntax for macro without arguments.
  44. What is expansion in maroprocessor.
  45. Mention the different databases used in the code generation phase of a compiler.
  46. What is interpretation phase?
  47. What is lexical analysis?
  48. What is an identifier table? Give its format.
  49. ------------------------------------------------------------------------------
  50. 5 MARKS QUESTIONS
    1. Explain the general machine structure of IBM 360
    2. Write a looping assembly language program by using literals.
    3. Explain the data structures of pass 2 Assembler.
    4. Explain the format of machine-op-table database
    5. Explain the address modification using index register.
    6. Specify and explain in brief any five databases used in pass-1 of a two pass macro processor
    7. What is dynamic loading? Explain
    8. What are the different databases of the lexical phase of a compiler? Give their formats
    9. Explain the various instruction formats of IBM 360/370
    10. Briefly explain about address modification using index register.
    11. With an example explain MOT and POT table.
    12. Give the algorithm for pass 2 of an assembler.
    13. Explain macro calls within macros.
    14. With a diagram explain compile and go loader.
    15. Briefly explain about subroutine linkages.
    16. Explain machine independent optimization.
    17. Explain the registers in IBM 360/370.
    18. Explain address modification using index registers with the help of an example.
    19. Give and explain the format of machine-op-table.
    20. With the help of simple flowchart give the requirements of pass2 of 2-pass assembler.
    21. Explain macro call within macros with the help of an example.
    22. Explain dynamic linking and dynamic loading.
    23. Explain different kinds of address constant with the help of an example.
    24. Explain lexical phase of a compiler.
    25. --------------------------------------------------------------------------------------
    26. 10 MARKS QUESTIONS

      1. With the help of a flowchart, briefly explain pass-2 of a 2 pass assembler.
      2. With the help of an example illustrate shell sort.
      3. Give the flowchart of a single pass macroprocessor.
      4. With the help of a flowchart, explain the design of an absolute loader.
      5. Explain the different passes of a compiler.
      6. With the flowchart explain the detailed pass1 of a two pass assembler
      7. Explain any two sorting techniques with example.
      8. Explain one pass macro processor with a flowchart
      9. Explain the design of direct linking loader
      10. Explain general model of a compiler with a neat diagram
      11. Draw and explain the flowchart of pass1 of 2-pass assembler.
      12. Sort the following elements using
        1. Shell sort
        2. 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

      1. Draw and explain the flowchart of pass2 of 2-pass macro processor.
      2. Answer the following
        1. Draw the flowchart of Absolute loader and explain.
        2. Explain the working of BSS loading scheme.
      1. Explain in detail machine independent optimization techniques in a compiler.

Thursday, June 14, 2012


                                                    PART- A
Answer any TEN questions.                                                                    10 x 2=20
----------------------------------------------------------------------------------------------------------------
a. What is system software?
b. Mention the components of system software.
c. What are the basic units of memory of IBM 360.
d. Give the format of RX instruction.
e. What is a pseudo-op? Give an example.
f. What is the use of a literal ? Give an example.
g. What  is a macro instruction?
h. What  is the difference between positional argument and keyword argument?
i. What are the basic tasks of a macro processor?
j. What are the functions of a loader?
k. What is a binder?
l. Mention the different databases used in the code generation phase of a compiler.
m. What is interpretation phase?
n. What is lexical analysis?
o. What is an identifier table? Give its format.

                                                               PART B

Answer any SIX  questions.                                                                                6 x 5=30
------------------------------------------------------------------------------------------------------------------------

a. Explain the general machine structure of IBM 360
b. Write a looping assembly language program by using literals.
c. Explain the data structures of pass 2 Assembler.
d. Explain the format of machine-op-table database
e. Explain the address modification using index register.
f. Specify and explain in brief any five  databases used in pass-1 of a two pass macro processor
g. What is dynamic loading? Explain
h. What are the different databases of the lexical phase of a compiler? Give their formats

                                                                   PART C

Answer any THREE questions.                                                                                   3 x10=30
-----------------------------------------------------------------------------------------------------------------------------

a. With   the help of a flowchart, briefly explain pass-2 of a 2 pass assembler.
b. With the help of an example illustrate shell sort.
c. Give  the flowchart of a single pass macroprocessor.
d. With the help of a flowchart, explain the design of an absolute loader.
e. Explain  the different passes of a compiler

<br />

BLUE PRINT OF SP BCA Vth SEM