Home / CSE / Language Processors :: Section 1

CSE :: Language Processors

  1. Which of the following functions is/ are performed by the loader?

  2. A.
    Allocate space in memory for the programs and resolve symbolic references between object decks
    B.
    Physically place the machine instructions and data into memory
    C.
    Adjust all address dependent locations, such as address constants, to correspond to the allocated space
    D.
    All of the above

  3. Convert the 11014B machine language instructions into assembly language, assuming that they were not generated by pseudo-ops:

  4. A.
    ASRA
    B.
    LOADA h#OD4E, i
    C.
    STOREA h#014B, d
    D.
    ADDA h#01FE, i

  5. The advantage(s) of incorporating the macro processor into pass 1 is/ are:

  6. A.
    many functions do not have to be implemented twice
    B.
    Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
    C.
    more flexibility is available to the programmer in which he/she may use all the features of the assembler in conjunction with macros
    D.
    All of the above

  7. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?

  8. A.
    absolute mode
    B.
    indirect mode
    C.
    immediate mode
    D.
    index mode

  9. A self-relocating program is one which

  10. A.
    cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
    B.
    consists of a program and relevant information for its relocation
    C.
    can itself perform the relocation of its address-sensitive portions
    D.
    All of the above

  11. If special forms are needed for printing the output, the programmer specifies these forms through

  12. A.
    JCL
    B.
    IPL
    C.
    Utility programs
    D.
    Load modules

  13. Which of the following systems software does the job of merging the records from two flies into one?

  14. A.
    Documentation system
    B.
    Utility program
    C.
    Networking software
    D.
    Security software

  15. Job Control Language (JCL) statements are Used to

  16. A.
    Read the input from the slow-speed card reader to the high-speed magnetic disk
    B.
    Specify, to the operating system, the beginning and end of a job in a batch
    C.
    Allocate the CPU to a job
    D.
    All of the above

  17. In analyzing the compilation of PL/I program, the term "Syntax analysis" is associated with

  18. A.
    recognition of basic syntactic constructs through reductions
    B.
    recognition of basic elements and creation of uniform symbols
    C.
    creation of more optional matrix
    D.
    use of macro processor to produce more optimal assembly code

  19. In analyzing the compilation of PL/I program, the term "Lexical analysis" is associated with

  20. A.
    recognition of basic syntactic constructs through reductions
    B.
    recognition of basic elements and creation of uniform symbols
    C.
    creation of more optional matrix
    D.
    use of macro processor to produce more optimal assembly code