Sail E0 Webinar

MCQs

Total Questions : 120 | Page 4 of 12 pages
Question 31. The table created by lexical analysis to describe all literals used in the source program, is:
  1.    Terminal table
  2.    Literal table
  3.    Identifier table
  4.    Reductions
 Discuss Question
Answer: Option B. -> Literal table
Question 32. Advantage(s) of using assembly language rather than machine language is/are:
  1.    It is mnemonic and easy to read
  2.    Addresses any symbolic, not absolute
  3.    Introduction of data to program is easier
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 33. 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.    to build a literal table and an identifier table
  3.    to build a uniform symbol table
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 34. The action of parsing the source program into the proper syntactic classes is known as
  1.    syntax analysis
  2.    lexical analysis
  3.    interpretation analysis
  4.    general syntax analysis
 Discuss Question
Answer: Option B. -> lexical analysis
Question 35. 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.    consists of a program and relevant information for its relocation
  3.    can itself perform the relocation of its address-sensitive portions
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 36. In which way(s) can a macro processor for assembly language be implemented?
  1.    independent two-pass processor
  2.    independent one-pass processor
  3.    processor incorporated into pass of a standard two-pass assembler
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 37. A system program that combines the separately compiled modules of a program into a form suitable for execution
  1.    assembler
  2.    linking loader
  3.    cross compiler
  4.    load and go
 Discuss Question
Answer: Option B. -> linking loader
Question 38. 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 39. In an absolute loading scheme, which loader function is accomplished by loader?
  1.    Reallocation
  2.    Allocation
  3.    Linking
  4.    Loading
 Discuss Question
Answer: Option D. -> Loading
Question 40. The Process Manager has to keep track of:
  1.    the status of each program
  2.    the priority of each program
  3.    the information management support to a programmer using the system
  4.    both (a) and (b)
 Discuss Question
Answer: Option D. -> both (a) and (b)

Latest Videos

Latest Test Papers