300+ TOP System Programming MCQs and Answers

System Programming Multiple Choice Questions

1. A ___ is a program that takes as input a program written in one programming language and produces as output a program in another language.
a. Language translator
b. translator
c. interpreter
d. compiler

2. the designer expresses the ideas in terms related to the ___
a. application domain
b. execution domain
c. all of the above
d. none of the above

3. to implement the ideas, their description has to be interpreted in terms related to the ___
a. application domain
b. execution domain
c. all of the above
d. none of the above

4. the semantic gap has many consequences like ___
a. large development time
b. large development efforts
c. poor quality of software
d. all of the above

5. PLs stands for
a. procedure languages
b. Programming languages
c. periodic languages
d. none of the above

6. use of PL can be grouped into (1) specification, design and coding steps
(2) PL implementation steps
a. true
b. false

7. software implementation using a PL introduces a new domain ___
a. application domain
b. execution domain
c. all of the above
d. PL domain

8. the gap between the PL and execution domains is known as
a. specification –and design gap
b. specification gap
c. both of the above
d. none of the above

9. Each domain has ___ language.
a. design
b. programming
c. specification
d. all of the above

10. A language processor is software which bridges a specification or execution gap.
a. true
b. false

11. semantics represents rules of the meaning of a domain.
a. true
b. false

12. the semantic gap represents the difference between the semantics of two domains
a. true
b. false

13. program generation activities and program execution activities are the processing activities that come under ___.
a. processing activities
b. language processing activities
c. all of the above
d. none of the above

14. TP stands for
a. Transaction program
b. Target program
c. Terminal program
d. target processing

15. Reduction in the specification gap does not increase the reliability of the generated program.
a. True
b. False

16. The program translation model bridges the execution gap by translating a program written in a PL, called the ___, into an equivalent program in the machine or assembly language of the computer system called the ___.
a. source program, target program
b. target program, target program
c. source, source program
d. target program, source program

17. ___ is a generic term referring to any computer software’s, which manages & controls the hardware so that application software can perform a task.
a. os
b. Application software
c. System software
d. All of the above

18. If system software is stored no- volatile storage such as integrated circuit, it is usually termed as __
a. os
b. Application software.
c. firmware
d. None of the above

19. Von Neuman architecture is generally used interchangeably
a. True
b. False

20. a ___ of pixels represent computer graphic data like pictures, frames of movie drawings or frame of an animation.
a. Collection
b. Bit Value
c. Grid
d. All of the above

21. JPEG & GIF are two graphics format used on the Internet as a ___ format.
a. wide
b. Extended
c. Less Memory
d. Compressed

22. CISC stands for
a. Computer Instruction set computer
b. Complex instruction set computer
c. Coordinated instruction set computer
d. None of the Above

23. A macro call leads to ___. During macro expansion, the macro statement is replaced by the sequence of ___.
a. conditional compilation, assembly statements
b. macro expansion, assembly statements
c. line control statements
d. macros definition, statements

24. CISC made a computer assembly language more like a high-level language, to begin with leaving the compiler less to do.
a. True
b. False

25. RISC stands for.
a. Risk Instruction set computer
b. reduced instruction set computer
c. None of the above

26. In Assembly Language each statement has two operands, the first operand is always a ___ which can be any one of the AREG, BREG, and CREG & DREG
a. Register
b. Assemble
c. All of the above

27. A ___ is a particular kind of unintentional memory consumption by a computer program where the program fails to release memory when no longer needed.
a. memory
b. memory leak
c. storage area
d. all are correct

28. Static memory, stack-based allocation and dynamic memory allocation are storage allocations takes in the computer program for running the user program
a. correct
b. Incorrect

29. Shift-Reduce parsing and bottom-up parsing are not interchangeable terms
a. Valid
b. Invalid

30. there are different classes for grammar-based parsers
a. universal
b. top-down
c. bottom-up
d. all of the above

31.Binary object file attributes are specified with the___
a. Machine
b. OS
c. BFF
d. all of the above

32. The library is a collection of subprograms used to develop software.
a. true
b. false

33. macros are abbreviations for arbitrary fragments of C code, and then the C preprocessor will replace the macros with their definitions throughout the program during ___
a. Macro expansion
b. conditional compilation
c. line control
d. all of the above

34. MASM is an ___ for x86 family of microprocessors.
a. assembler
b. compiler
c. linker
d. loader

35. SPARC assembler stands for
a. serial processor architecture
b. Sun microsystem processor architecture
c. scalable processor architecture
d. none of the above

36. MOT (Machine operation table) contains
a. name
b. length
c. binary code and format
d. all of the above

37. The content of the MOT table is not filled in or altered during the assembly process.
a. True
b. False

38. Assembler directives instruct the assembler to perform certain actions during the assembly of a program.
a. Valid statement
b. Invalid statement

39. Imperative/declarative and assembler directives are three kinds of statements supported by an assembly program.
a. Correct
b. Incorrect

40. The ___ instructions move a value between a memory word and a register.
a. BC
b. MOVE
c. MOVER
d. MOVEM

41. The specification gap is bridged by the software development ___ and the execution gap is bridged by the designer of the ___
a. team, programming language processor
b. team, translator
c. both 1 and 2
d. none of the above

42. The ___ language is a specification language of an application domain and the ___ language is typically a procedure-oriented PL.
a. source, target
b. target, target
c. source, source
d. target, target

43. Popular models for program execution are ___ and ___
a. translation, programming
b. interpretation, programming
c. Translation, interpretation
d. all of the above

44. ASCII code uses ___ bits for each character since there are exactly ___ unique combinations of seven bits.
a. 8, 256
b. 7,128
c. 10,128
d. 8,128

45. ASCII-8 uses ___ bits for each character since there is exactly ___ unique combination of eight bits.
a. 8, 256
b. 27,128
c. 310,128
d. 4 8,128

46. The ASCII representation has been adopted as a standard by the US govt & is found in a variety of computer particularly ___ & ___
a. Supercomputer, Mainframe Computer
b. Mainframe & Micro Computer.
c. Mainframe & Mini Computer
d. Mini Computer & Micro Computer

47. MOVE instruction is used to move a value between memory & a register.
a. True
b. False

48. ___ is an example of top-down parsers and ___ is an example of bottom-up parsers.
a. LL, LR
b. LR, LL
c. LL parser and LR parsers
d. LL, LL

49. In deterministic automata, for each state, there is at most ___ transition for each possible input. In non-deterministic automata, there can be the ___ transition from a given state for a given possible input.
a. many, at least one
b. one, more than on
c. many, many
d. one, one

50. Libraries contain ___ and ___ which provide services to independent programs.
a. source code, object code
b. test plan, source code
c. helper code, data
d. data, information and knowledge

51. The first pass of the assembler is only to define the ___; the second pass can then generate ___
a. address, instruction
b. symbols, data
c. symbols, instruction and addresses
d. address, symbol

52. In assembly language, each statement has two operands, the first operand is always a ___ which can be any one of AREG, BREG, CREG and DREG. The second operands refer to a ___ using a symbolic name and an optional displacement.
a. memory word, register
b. register, memory word
c. index value, register
d. register, the index value

53. Link editor is a program, that takes one or more objects generated by ___ and assembles them into a single ___ program.
a. linker, executable
b. loader compiled
c. compilers, executable
d. compilers, compiled

54. When one uses a C compiler under a UNIX system to generate an executable from the C source code, the C compiler driver will usually invoke a C –processor, ___, assembler and ___ in that order to translate the C-language code into the executable file.
a. linker, compiler
b. link- editor, assembler
c. compiler, loader
d. compiler, link editor

55. A binary object file is either an executable file that runs on a particular machine or a file containing object code that needs to be linked. the object code is generated by a ___ or by an ___
a. linker, loader
b. link editor, loader
c. compiler, assembler
d. assembler, linker

56. FSM is an old ___ representation and system ___ a technique
a. data, modelling
b. knowledge, modelling
c. information, simulating
d. abstract, simulating

57. state transition diagram also called as ___, shows the relationships between stats inputs that cause ___
a. bubble diagram, state transitions
b. quick diagram, state transitions
c. merge diagram, transitions
d. UML, transitions.

58. ___ a form of UML notation used to show the behaviour of an individual object as a number of states and transitions between those states.___– a flow diagram with the addition of bubbles that show waiting for external inputs.
a. state-action decision diagram, statechart diagrams
b. statechart diagram, state action-decision diagram
c. state transition, statechart diagrams
d. state-action-decision, state transition diagram

59. the Von Neumann architecture is a computer design model that uses a ___ & ___ to hold ___ & ___.
a. Data & instruction, storage structure & processing unit
b. Knowledge & data, CPU speed & Structure
c. Storage structure & processing unit, data & instruction,
d. Data & instruction, Knowledge & data,

60. Code optimization is an optional phase designed to improve the ___ code so that the ultimate object program runs ___ and takes ___ space. Its output is another intermediate code program that does the same job as the original but perhaps in a way that saves time and space.
1. intermediate, faster, less, time and space
2. program, slow, more, time and space
3. complex, faster, more, time and space
4. more, faster, program, time/space

61. A ___ table can be provided in the header of the object code file. Each “fixup” is a pointer to an address in the object code that must be changed when the ___ relocates the program.
a. FAT, loader
b. Fixup, loader
c. MOT, compiler
d. all of the above are correct

System Programming Objective Questions with Answers Pdf Download

Leave a Reply

Your email address will not be published. Required fields are marked *