Suryodaya College of Engineering & Technology
Department of Computer Engineering
MCQ on system Programming
Note-These questions may not be sufficient for exam,pls refer book and more
questions for exam.Best of luck!
1. A part of computer system that consist of data on computer instructions :
(A) Software
(B) Chip
(C) Hardware
(D) DOS
2. Special purpose software are :
(A) Application software
(B) System software
(C) Utility software
(D) None of the above
3. . In computer operating system and utility programs are examples of :
(A) System software
(B) Device drivers
(C) Application software
(D) Customized software
4. Bottom up parsing involves :
(A) Shift reduces
(B) Operator check
(C) Both (a) and (b)
(D) None of these
5. 5. Parsing is also known as :
(A) Lexical analysis
(B) Syntax analysis
(C) Semantic analysis
(D) Code generation
6. The time required to complete execution of an object :
(A) Combination time
(B) Run time
(C) Process time
(D) Clock time
7. The CPU has built inability to execute a particular set of machine instructions
called as :
(A) Registers
(B) Instruction set
(C) Sequence set
(D) Adder
8. Which of the following instructions holds information before going to
decoder :
(A) Control register
(B) Data register
(C) Accumulator
(D) Address registe
. 9. The saving data and instruction to make them reality available is the job of :
(A) Cache unit
(B) Input unit
(C) Ouput unit
(D) Storage unit
10. Operating system and utility software are examples of :
(A) System software
(B) Device drivers
(C) Application software
(D) Customized software
11. Debug monitor helps in
(A) Setting breakpoints in the program
(B) Displaying values of variables
(C) Both of above
(D) None of above
12. The physical device of computer is controlled by :
(A) Mouse
(B) Keybroard
(C) Assembler
(D) None of these
13. Which of the following is not related with process state :
(A) Terminated
(B) Running
(C) Blocked
(D) Execution
14. Translator is a low level programming language, which is known as :
(A) Compiler
(B) Asembler
(C) Loader
(D) Linker
15. The internal storage of CPU is provided by :
(A) Program counters
(B) Register
(C) Controller
(D) Internal chips
16. The length of register is defined by :
(A) Register limit
(B) Word limit
(C) Register size
(D) Word size
17. The reduce the length of the program of main memory system uses :
(A) Macro
(B) Procedure
(C) Subroutine
(D) None of these
18. Macro is defined in a program :
(A) After first statement
(B) Beginning of the program
(C) End of the program
(D) Any where in a program
19. The time required for execution of the move is :
(A) Greater than that procedure
(B) Less than that procedure
(C) Equal to that procedure
(D) None of these
20. A system program that set-up executable program in main memory ready for
execution is called :
(A) Text editor
(B) Compiler
(C) Linker
(D) Loader
21. A linker program :
(A) Places the program in the memory for the purpose of execution
(B) Relocates the program to execute from the specific memory area
(C) Links the program with other programs needs for its execution
(D) Interface the program with other programs
22. The last statement of the source program should be :
(A) Stop
(B) Return
(C) Op
(D) End
23. In a two-pass compiler the object code is generated in which phase ?
(A) Zeroth pass
(B) One pass
(C) Two pass
(D) Not done by compiler
24. Type-o grammar are also known as :
(A) Context sensitive grammars
(B) Phase structure grammars
(C) Context free grammars
(D) Regular grammars
25. The default flow of control during macro expansion is :
(A) Sequential
(B) Non-sequential
(C) Can be both
(D) None of these
26. A compiler for a high-level language that runs on one machine and produces
code for different machine is called :
(A) Native code compiler
(B) Cross compiler
(C) Source compiler
(D) One pass compiler
27. A system program that combines the separately compiled modules of a
program into a form suitable for execution is :
(A) Assembler
(B) Linking loader
(C) Cross compiler
(D) Load and go
28. A sequence of instructions, in a computer language, to get the desired result
is known as :
(A) Algorithm
(B) Decision table
(C) Program
(D) None of the above
29. A non-relocatable program is one which :
(A) Cannot be executed other than assigned memory
(B) Consists of a program and relevant
(C) Can itself perform the relocation
(D) All of the above
30. An interpreter is a program that :
(A) Appears to execute a source as if it were machine language
(B) Automate the translation of assembly language in machine code
(C) Converts high level code in machine code
(D) Places programs into memory
31.. Indicate whether the statement LDAB is a statement, in
(A) Machine language
(B) Assembly language
(C) High level language
(D) None of the above
32. Loaders that allow for program relocation are called :
(A) Relocating loaders
(B) Relative loaders
(C) Both (a) and (b)
(D) None of the above
33. An analysis, which determines the syntactic structure of the source statement
is called :
(A) Semantic analysis
(B) Process analysis
(C) Syntax analysis
(D) Function analysis
34. A software tool is a system program which interfaces:
(A) A program with the entity generating its intput data
(B) The results of a program with entity consuming its result
(C) None of the above
(D) Both (a) and (b)
35. A static binding is a binding performed _______ the execution of a program
begins.
(A) After
(B) Before
(C) At the same time
(D) None of these
36. A programming environment is a software that provides integrated facilities
for :
(A) Progrm creation and testing
(B) Program editing, executing and dubugging
(C) Both (a) and (b)
(D) None of the above
37. Dialog manager and presentation manager are the two components of :
(A) User interface
(B) Editor
(C) Programming environment
(D) Debug monitors
38. Microsoft internet explorer and adobe photoshop are the examples of :
(A) System software
(B) Device drivers
(C) Application program
(D) Operating system
39. A macro definition is enclosed between a macro header statement and
_______
(A) Macro end statement
(B) Macro terminate statement
(C) Macro stop statement
(D) None of the above
40. Which of the following system software does the job of merging the records
from two files into one ?
(A) Documentation
(B) Utility program
(C) Networking software
(D) Security software
41. Each instruction is executed by set of micro operation termed as :
(A) Micro instructions
(B) Mini instructions
(C) Both A and B
(D) None of these
42. Each micro instruction cycle is made of 2 parts :
(A) Fetch
(B) Execute
(C) Code
(D) Both A and B
43. Which of the following loader is executed when a system is first turned on or
restarted ?
(A) Boot loader
(B) Compile and Go loader
(C) Bootstrap loader
(D) Relating loader
44. Assembler is a
(A) Interpreter
(B) Translator
(C) Exchanger
(D) None of these
45. Assembly language program is called _____?
(A) Object program
(B) Source program
(C) Oriented program
(D) All of the Above
46.Analysis which determines the meaning of a statement once its grammatical
structure becomes known is termed as
(A) Semantic analysis
(B) Syntax analysis
(C) Regular analysis
(D) General analysis
47. Load address for the first word of the program is called
(A) Linker address origin
(B) Load address origin
(C) Phase library
(D) Absolute library
48. Program generation activity aims at
(A) Automatic generation of program
(B) Organize execution of a program written in PL.
(C) Skips generation of program
(D) Speedens generation of program
49. A macro definition consists of
(A) A macro prototype statement
(B) One or more model statements
(C) Macro pre-processor statements
(D) All of the above
50. Action implementing instruction’s meaning are a actually carried out by
(A) Instruction fetch
(B) Instruction decode
(C) Instruction execution
(D) Instruction program
51. Relocation bits used by relocating loader are specified by
(A) Relocating loader itself
(B) Assembler or Translator
(C) Macro processor
(D) Both (a) and (b)
52. Relocatable programs
(A) cannot be used with fixed partitions
(B) can be loaded almost anywhere in memory
(C) do not need a linker
(D) can be loaded only at one specific location
53. Recognition of basic syntactic constructs through reductions, this task is
performed by
(A) Lexical analysis
(B) Syntax analysis
(C) Semantic analysis
(D) Structure analysis
54. A grammar for a programming lanaguage is a formal description of
(A) Syntax
(B) Semantics
(C) Structure
(D) Code
55. Problem analysis is done during
(A) System design phase
(B) System analysis phase
(C) Before system test
(D) all of the above
56. System programs such as Compilers are designed so that they are
(A) Reenterable
(B) Non reusable
(C) Serially usable
(D) Recursive
57. Advantage of using assembly language rather than machine language is :
(A) It is mnemonic and easy to read
(B) Address any symbolic, not absolute
(C) Introduction of data to program is easier
(D) None of these
58. Which of the following software types is used to simply using systems
software ?
(A) Spreadsheet
(B) Operating environment
(C) Timesharing
(D) Multitasking
59. In absolute loading scheme, which loader function is accomplished by
assembler
(A) Reallocation
(B) Allocation
(C) Linking
(D) Loading
60. In absolute loading scheme, which loader function is accomplished by loader
(A) Reallocation
(B) Allocation
(C) Linking
(D) Loading
61. The regular expression rs means ________ of r and s
(A) Addition
(B) Subtraction
(C) Concatenation
(D) None of these
62. A ________ is a unit of information consists of fixed syntax information.
(A) Template
(B) DFA
(C) FSA
(D) None of these
63. A programming enviornment has ________
(A) A debug monitor
(B) A dialog monitor
(C) Both A and B
(D) None of these
64. A _______ bridges an execution gap to the machine language of computer
system.
(A) Language
(B) Translation
(C) Pre-processor
(D) Language migrator
65. A grammer is ambiguous if there exists :
(A than one parse tree) More
(B) Only one parse tree
(C) Both A and B
(D) None of the above
66. 6. NFA produces different transitions from ______ inputs.
(A) Same
(B) Different
(C) Unknown
(D) All of the above
67. A compiler is a ______ software
(A) Application
(B) System
(C) Both
68. ______ is not an example of editor
(A) Vi
(B) Notepad
(C) Emacs
(D) None of the above
69. Loaders are system programs that ______ language program for execution.
(A) High level
(B) Low level
(C) Middle level
(D) None of these
70. Assemblers automate the translation of assembly language into ______
language.
(A) High level
(B) Machine
(C) Both (a) and (b)
(D) None of these
71. . Which is not a phase of compiler ?
(A) Lexical analysis
(B) Code optimization
(C) Code generation
(D) Static analysis
72. The ______ OS works with actual synchronization.
(A) Batch
(B) Quick Time system
(C) Real time system
(D) None of these
73. The ______ process a set of object modules and produce binary program.
(A) Loader
(B) Linker
(C) Both (a) and (b)
(D) None of these
74. ______ is the sorting of Assemblers.
(A) Radix
(B) Shell
(C) Interchange
(D) All of the above
75. Top down parsing is also known as ______
(A) LL
(B) LALR
(C) LR
(D) None of these
76.Which key uses a quick exit from the data mode?
(A) Tab
(B) Delete
(C) Escape
(D) Control
77. Which is the following is the text editor form?
(A) Steam
(B) Word Processor
(C) Structured
(D) All of the Above
78. A software system that provides integrated facilities for program creation,
editing, execution, testing and debugging is called :
(A) Word Processor
(B) Programming Environment
(C) Interpretation
(D) None of these
79. Group of progrm which are directly responsible for controlling, integrating
and managing the individual hardware components of a computer system is
known
(A) Application Software
(B) Operating System
(C) System Software
(D) Word Processor
80. Which of the following is administration section of computer system?
(A) Input
(B) Output
(C) CPU
(D) Memory
81. Compiler is a ________ program.
(A) OS
(B) Application
(C) System
(D) None
82. An assembler produces ________
(A) Object program
(B) Source Program
(C) Ready made program
(D) None
83. A computer can’t boot if it does not have the ________
(A) Compiler
(B) Linker
(C) Loader
(D) None of these
.
84. The OS that reads and reacts in terms of actual system time is ________
(A) Batch System
(B) Quick response system
(C) Real time system
(D) None of these
85. The language generally translated to pseudo code is :
(A) Assembly
(B) Machine
(C) Pascal
(D) PL/L
86. The table that contains name, length binary code and format is known as
________
(A) MOT
(B) POT
(C) Both A and B
(D) None
87. Which one is assembler sorting technique ?
(A) Radix
(B) Shell
(C) Interchange
(D) All the Above
88. The ________ accepts the object code and initializes the execution.
(A) Loader
(B) Linker
(C) Compiler
(D) None of these
89. Stack allocation and deallocation are performed in ________ manner.
(A) LIFO
(B) FIFO
(C) TOS
(D) None of these
90. A heap is a ________ data structure.
(A) Linear
(B) Non-linear
(C) Both A and B
(D) None of these
91.The user keys in the text to be added to the file in _______ mode.
(A) Data
(B) Command
(C) Line
(D) Structure
92. _______ based tools suffer from poor efficiency and poor portability.
(A) Interpreter
(B) Compiler
(C) Assembler
(D) Relocator
93. ALU stands for
(A) Algorithimic Logic Unit
(B) Arabic Logic Unit
(C) Arithmetic Logic Unit
(D) Arithmetic Logrithmic Unit
94. _______ is a software which bridge a specification or execution gap.
(A) Operating System
(B) Language Processor
(C) Assembler
(D) Interpreter
95. Which of the following is program execution Model?
(A) Only translation
(B) Only Interpretion
(C) Both A and B
(D) None of these
96._______ Instruction stop execution in assembly language.
(A) START
(B) STOP
(C) DELETE
(D) NULL
97. Which of the following is elements of assembly language programming?
(A) Mnemonic operation code
(B) Symbolic operands
(C) Data declaration
(D) All of the above
98. A unit of specification for program generation through expansion is called :
(A) Compiler
(B) Interpreter
(C) Macro
(D) All of the above
99. _______ determines the accessibility of variables declared in different blocks
of a program.
(A) Macro expansion
(B) Block rule
(C) Scope rule
(D) None of these
100. Which is the type of dynamic memory allocation?
(A) Automatic dynamic memory allocation
(B) Structural dynamic memory allocation
(C) program dynamic memory allocation
(D) Both B and C
101. A rule for rewriting a segment of a program to improve its execution
efficiency without affecting its meaning is called
(A) Optimizing transformation
(B) Compilation
(C) Interpretation
(D) Macro expansion
102. _______ is expensive due to CPU time.
(A) Compilation
(B) Allocation
(C) Interpretation
(D) Linking
103. Which type of interpreter retained the source form all throughout its
interpreter?
(A) Impure
(B) Sequence
(C) Random
(D) Pure
104. Linking is the process of binding an _______ reference to the correct link
time address.
(A) External
(B) Internal
(C) Intermediate
(D) None of these
105. _______ are used to reduce the main memory requirements of a program.
(A) Time-sharing
(B) Overlays
(C) Macros
(D) All of the above
106. DOS stands for
(A) Digital Operating System
(B) Disk Operating System
(C) Database Operating System
(D) Disk Operating Software
107. Which of the following is/are editor tool?
(A) Text Editior
(B) Sound Editor
(C) Graphics Editor
(D) All of above
108. In user interface, the dialog manager manages the conversation between the
_______ & the application.
(A) User
(B) Interface
(C) Programming environment
(D) None of these
109. Which of the followig is/are components of programming environment?
(A) Syntax directed editor
(B) Language processor
(C) Debug monitor
(D) All the above
110. Mnemonic operation code enables the _______ to provide helpful
diagnostics.
(A) Assembler
(B) Compoler
(C) Interpreter
(D) None of these
111.______ Instruction move a value between a memory word and a register in
assembly language.
(A) MOTION
(B) SHIFT
(C) MOVE
(D) ADD
112. The use of a macro name with a set of actual parameters is replaced by some
code generated from its body is called :
(A) Macro expansion
(B) Interpretation
(C) Compilation
(D) None of these
113. _______ is an association between the memory address attribute of a data
item and the address of a memory area.
(A) Scope rule
(B) Memory binding
(C) Overlays
(D) Optimization
114. Which of the following is first widely used block structured language ?
(A) Pascal
(B) PL/I
(C) Ada
(D) Algol-60.
115. A program unit which can contain data declarations is called :
(A) Block
(B) Transformation
(C) Linking
(D) Word processor
116.Which is the classification of optimizing transformation?
(A) Private Transformation
(B) Local transformation
(C) Global transformation
(D) Both B and C
117. Analysis of a statement is following by code generation in :
(A) Compilation
(B) Interpreter
(C) Linking
(D) Binding
118. Which type of interpreter performed some preliminary processing of source
program to reduce the analysis overhead during interpretation?
(A) Pure Interpreter
(B) Impure Interpreter
(C) Profile Monitor
(D) None of these
119. A self-relocating program which can perform the relocation of its own
address _______ instructions.
(A) Sensitive
(B) Non-sensitive
(C) Pure
(D) Binding
120. Which type of operating system is important for self-relocation ?
(A) Batch
(B) Time-sharing
(C) Multi-programming
(D) None of these