Sail E0 Webinar

MCQs

Total Questions : 61 | Page 4 of 7 pages
Question 31. The table created by lexical analysis to describe all literals used in the source program, is:
  1.    Reductions
  2.    Identifier table
  3.    Literal table
  4.    Terminal table
 Discuss Question
Answer: Option C. -> Literal table
Question 32. The action of parsing the source program into the proper syntactic classes is known as
  1.    interpretation analysis
  2.    lexical analysis
  3.    general syntax analysis
  4.    syntax analysis
 Discuss Question
Answer: Option B. -> lexical analysis
Question 33. Advantage(s) of using assembly language rather than machine language is/are:
  1.    Addresses any symbolic, not absolute
  2.    All of these
  3.    It is mnemonic and easy to read
  4.    Introduction of data to program is easier
 Discuss Question
Answer: Option B. -> All of these
Question 34. Convert the CHARI h#000F, s assembly language instructions into hexadecimal machine language:
  1.    DA000F
  2.    0111EF
  3.    9000000000
  4.    40
 Discuss Question
Answer: Option A. -> DA000F
Question 35. The task(s) of the Lexial analysis phase is/are:
  1.    to parse the source program into the basic elements or tokens of the language
  2.    All of these
  3.    to build a literal table and an identifier table
  4.    to build a uniform symbol table
 Discuss Question
Answer: Option B. -> All of these
Question 36. A relocate program form is the one which
  1.    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
  2.    All of these
  3.    can itself perform the relocation of its address-sensitive portions
  4.    consists of a program and relevant information for its relocation
 Discuss Question
Answer: Option B. -> All of these
Question 37. A compiler is
  1.    a program that places programs into memory and prepares them for execution
  2.    a program that automate the translation of assembly language into machine language
  3.    program that accepts a program written in a high level language and produces an object program
  4.    is a program that appears to execute a source program as if it were machine language
 Discuss Question
Answer: Option C. -> program that accepts a program written in a high level language and produces an object program
Question 38. In which way(s) can a macro processor for assembly language be implemented?
  1.    independent two-pass processor
  2.    All of these
  3.    processor incorporated into pass of a standard two-pass assembler
  4.    independent one-pass processor
 Discuss Question
Answer: Option B. -> All of these
Question 39. In an absolute loading scheme, which loader function is accomplished by loader?
  1.    Loading
  2.    Reallocation
  3.    Linking
  4.    Allocation
 Discuss Question
Answer: Option A. -> Loading
Question 40. A system program that combines the separately compiled modules of a program into a form suitable for execution
  1.    linking loader
  2.    load and go
  3.    assembler
  4.    cross compiler
 Discuss Question
Answer: Option A. -> linking loader

Latest Videos

Latest Test Papers