System Software and Compilers

Test your knowledge of system software concepts including compiler design, program translation, memory management, operating systems, and assembly language programming.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following models bridges the execution gap by translating a program written in a programming language called the source program into an equivalent program in the machine or assembly language of the computer system called the target program?

  1. Program Interpretation
  2. Program Translation
  3. Linear Search
  4. Binary Search
  5. Multiprogramming
Question 2 Multiple Choice (Single Answer)

Which of the following rules help in the analysis of the source program?

  1. Lexical rules
  2. Syntax rules
  3. Semantic rules
  4. Program rules
  5. Execution rules
Question 3 Multiple Choice (Single Answer)

Which of the following origins in the linking of the object program is the address of the origin specified by the loader while loading the program for execution?

  1. Translated origin
  2. Linked origin
  3. Load origin
  4. Source origin
  5. Exit origin
Question 4 Multiple Choice (Single Answer)

Which of the following general purpose registers is used in loops to process data and holds the location of the input data stream?

  1. AX
  2. DX
  3. DI
  4. SI
  5. BX
Question 5 Multiple Choice (Multiple Answers)

Which of the following assembly language statements indicates an action to be performed during the execution of the assembled program?

  1. Imperative statement
  2. Declaration statement
  3. Assembler directives
  4. YACC
  5. Debugger
Question 6 Multiple Choice (Single Answer)

Which of the following components of the computer system define the ways in which the system resources are used to solve the computing problems of the users?

  1. Hardware
  2. Application programs
  3. Operating system
  4. Users
  5. Memory
Question 7 Multiple Choice (Single Answer)

Which of the following phases of the compiler transforms the parse tree into an intermediate language representation of the source program called Three-Address Code?

  1. Lexical Analysis
  2. Syntax Analysis
  3. Intermediate Code Generation
  4. Code Optimisation
  5. Code Generation
Question 8 Multiple Choice (Single Answer)

Which of the following language processor development tools is a syntax directed definition for the translation of the source program into an IR or the target program?

  1. LEX
  2. Compiler
  3. Interpreter
  4. YACC
  5. Debugger
Question 9 Multiple Choice (Single Answer)

Which of the following types of errors are generated by the lexical analyser in the phases of the compiler when it discovers that no prefix of the remaining input fits the specification of any token class?

  1. Semantic errors
  2. Syntactic errors
  3. Lexical phase errors
  4. Dynamic errors
  5. Entry level errors
Question 10 Multiple Choice (Single Answer)

Which of the following processes in the system software refers to a process where a simple system activates another more complicated system that serves the same purpose?

  1. Loader
  2. Linker
  3. Boot Strapping
  4. POST
  5. CMOS
Question 11 Multiple Choice (Single Answer)

Which of the following memory operations is a form of automatic memory management where each object has a count of the number of references to it?

  1. Memory leak
  2. JVM
  3. Reference counting
  4. Cache memory
  5. Cache Hit
Question 12 Multiple Choice (Single Answer)

Which of the following operations in the system software is the process of assigning load addresses to various parts of the program adjusting the code and data in the program to reflect the assigned addresses?

  1. Program loading
  2. Relocation
  3. Symbol resolution
  4. POST
  5. BIOS
Question 13 Multiple Choice (Single Answer)

Which of the following types of operating systems is an application which requires a timely response from the computer system to prevent failure?

  1. Time sharing systems
  2. Multiuser operating system
  3. Multitasking operating system
  4. Real time operating system
  5. Multithreading operating system
Question 14 Multiple Choice (Single Answer)

Which of the following data structures in system software organises the symbol table in such a way that it is having two link fields LEFT and RIGHT to each record where the left link points to the left records and right link points to the right records?

  1. Arrays
  2. Stacks
  3. Queues
  4. Trees
  5. Lists
Question 15 Multiple Choice (Single Answer)

Which of the following system softwares is used in the process of replacing symbolic references or names of libraries with actual usable addresses in the memory before running a program?

  1. Loader
  2. Linker
  3. Object program
  4. Compiler
  5. Interpreter