logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Language Processors Comments

  • Question
  • The task(s) of the Lexial analysis phase is/are:


  • Options
  • A. to parse the source program into the basic elements or tokens of the language
  • B. to build a literal table and an identifier table
  • C. to build a uniform symbol table
  • D. All of the above

  • Correct Answer
  • All of the above 


  • Language Processors problems


    Search Results


    • 1. When a computer is first turned on or restarted, a special type of absolute loader, called a ______ is executed

    • Options
    • A. loader
    • B. linker
    • C. bootstrap loader
    • D. None of the above
    • Discuss
    • 2. Which of the following system program forgoes the production of object code to generate absolute machine code and load it into the physical main storage location from which it will be executed immediately upon completion of the assembly?

    • Options
    • A. two pass assembler
    • B. load-and-go assembler
    • C. macroprocessor
    • D. compiler
    • Discuss
    • 3. Which table is a permanent databases that has an entry for each terminal symbol?

    • Options
    • A. Terminal table
    • B. Literal table
    • C. Identifier table
    • D. Reductions
    • Discuss
    • 4. A relocate program form is the one which

    • Options
    • 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
    • Discuss
    • 5. In an absolute loading scheme, which loader function is accomplished by assembler

    • Options
    • A. Reallocation
    • B. Allocation
    • C. Linking
    • D. Loading
    • Discuss
    • 6. A sequence of instructions, in a computer language, to get the desired result, is known as

    • Options
    • A. Algorithm
    • B. Decision Table
    • C. Program
    • D. All of the above
    • Discuss
    • 7. Convert the CHARI h#000F, s assembly language instructions into hexadecimal machine language:

    • Options
    • A. 0111EF
    • B. 9001E6
    • C. DA000F
    • D. 40
    • Discuss
    • 8. The Process Manager has to keep track of:

    • Options
    • A. the status of each program
    • B. the priority of each program
    • C. the information management support to a programmer using the system
    • D. both (a) and (b)
    • Discuss
    • 9. Indicate whether the statement LDA B is a statement, in

    • Options
    • A. Machine language
    • B. Assembly language
    • C. High level language
    • D. All of the above
    • Discuss
    • 10. The function(s) of the Syntax phase is/ are:

    • Options
    • A. to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs
    • B. to build a literal table and an identifier table
    • C. to build a uniform symbol table
    • D. to parse the source program into the basic elements or tokens of the language
    • Discuss


    Comments

    There are no comments.

Enter a new Comment