Home / CSE / Language Processors :: Section 1

CSE :: Language Processors

  1. Terminal Table

  2. A.
    a permanent table which lists all key words and special symbols of the language in symbolic form
    B.
    a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
    C.
    consists of a full or partial list of the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
    D.
    contains all constants in the program

  3. A compiler for a high-level language that runs on one machine and produces code for a different machine is called

  4. A.
    optimizing compiler
    B.
    one pass compiler
    C.
    cross compiler
    D.
    multipass compiler

  5. Assembly code data base is associated with

  6. A.
    a permanent table which lists all key words and special symbols of the language in symbolic form
    B.
    a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
    C.
    consists of a full or partial list or the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
    D.
    assembly language version of the program which is created by the code generation phase and is input to the assembly phase

  7. Indicate which of the following is not true about 4GL?

  8. A.
    4GL does not support a high-level of screen interaction
    B.
    Many database management system packages support 4GLs
    C.
    A 4GL is a software tool which is written, possibly, in some third generation language
    D.
    All of the above

  9. Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:

  10. A.
    0111EF
    B.
    9001E6
    C.
    DA000F
    D.
    40

  11. A development stategy whereby the executive control modules of a system are coded and tested first, is known as

  12. A.
    Bottom-up development
    B.
    Top-down development
    C.
    Left-Right development
    D.
    All of the above

  13. A non-relocatable program is one which

  14. 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

  15. Multiprogramming was made possible by

  16. A.
    input/output units that operate independently of the CPU
    B.
    operating systems
    C.
    both (a) and (b)
    D.
    neither (a) nor (b)

  17. An Interpreter is

  18. A.
    is a program that appears to execute a source program as if it were machine language
    B.
    a program that automate the translation of assembly language into machine language
    C.
    program that accepts a program written in a high level language and produces an object program
    D.
    a program that places programs into memory and prepares them for execution

  19. Systems software is a program that directs the overall operation of the computer, facilitates its use and interacts with the users. What are the different types of this software?

  20. A.
    Operating system
    B.
    Languages
    C.
    Utilities
    D.
    All of the above