System Programming MCQ – MCQ on System Programming

System Programming MCQ – MCQ on System Programming for Students who are preparing for IT exams of various Distance and regular Institutes.

Welcome to the ultimate destination for System Programming Multiple-Choice Questions (MCQs). If you’re seeking to enhance your understanding of System Programming, you’ve arrived at the perfect hub. Our carefully curated collection of MCQs on System Programming offers a comprehensive exploration of key concepts and principles.

Whether you’re a student aiming to solidify your knowledge or a professional eager to assess your expertise, our MCQs provide an engaging platform to navigate the intricacies of System Programming. From memory management to program control, our questions challenge and enlighten, making learning an enriching experience.

Embark on this journey with us and delve into the world of System Programming MCQs to expand your insights and prowess in system-level software development.

System Programming MCQ with Answers

Q1. 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

Q2. 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

Q3. 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

Q4. 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

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

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

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

Q8. 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

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

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

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

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

Q13. 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

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

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

Q16. 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

Q17. ___ 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

Qs 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

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

Q20. 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

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

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

Q23. 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

Q24. 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

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

Q26. 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

Q27. 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

Q28. 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

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

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

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

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

Q33. 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

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

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

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

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

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

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

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

Q41. 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

Q42. 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

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

Q44. 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

Q45. 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

Q46. 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

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

Q48. ___ 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

Q49. 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

Q50. 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

Q51. 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

Q52. 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

Q53. 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

Q54. 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

Q55. 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

Qs 17. 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

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

Q57. 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.

Q58. ___ 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

Q59. 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,

Q60. 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

MCQ on assembler, compiler, object program, machine language and source program

Q1. In bottom-up parsing, a compiler is defined as:
a) A set of high-level language instructions
b) A set of machine-level instructions
c) A program that translates source code into object code
d) A program that executes the source code directly

Answer: c) A program that translates source code into object code

Explanation: In bottom-up parsing, a compiler is defined as a program that translates the source code written in a high-level programming language into machine-level object code.

Q2. The object program is a:
a) High-level language code
b) Source code of the program
c) Machine-level code produced by the compiler
d) Set of test cases for the program

Answer: c) Machine-level code produced by the compiler

Explanation: The object program is the machine-level code generated by the compiler from the source code of a program. It is the executable code that can be directly run on a computer.

Q3. Machine language is:
a) A high-level programming language
b) A language used for documentation purposes
c) A low-level programming language consisting of binary instructions
d) An assembly language used for symbolic programming

Answer: c) A low-level programming language consisting of binary instructions

Explanation: Machine language consists of binary instructions that can be directly executed by a computer’s central processing unit (CPU). It is the lowest level of programming language and represents the actual hardware operations.

Q4. A source program is usually in:
a) Machine language
b) Assembly language
c) English language
d) High-level programming language

Answer: d) High-level programming language

Explanation: A source program is typically written in a high-level programming language such as C, Java, Python, etc. High-level languages provide a more human-readable and understandable way to write code.

Q5. Pass of assembler is:
a) The phase of scanning the source code
b) The phase of generating the symbol table
c) A single execution of the assembler
d) The final phase of code optimization

Answer: c) A single execution of the assembler

Explanation: In assembly language processing, a “pass” refers to a single execution of the assembler on the source code. Assemblers often involve multiple passes to perform tasks such as scanning, generating symbol tables, and generating machine code.

Web Technology MCQ Questions and answers for IT Courses

Conclusion Points

Participating in the System Programming MCQ has provided valuable insights into the intricacies of this field. By answering a range of questions on topics such as operating systems, memory management, and file systems, participants have deepened their understanding of system programming concepts.

We hope that this experience has been both informative and enjoyable. If you found this quiz helpful, please consider sharing it on your social media platforms to help others test their knowledge in system programming. Keep exploring and expanding your expertise in this fascinating field!

Share on Social Media

Similar Posts

Leave a Reply

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