Free Software Design and Architecture MCQs with Answers
493 Software Design and Architecture MCQs from Software Engineering, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.
Last updated
493 questions · page 7 of 25
- A. index mode
- B. indirect mode
- C. absolute mode
- D. immediate mode
Explanation: In indexed addressing, the processor adds a constant displacement to the contents of an index register to form the effective address.
Correct answer: index mode- A. creation of more optional matrix
- B. recognition of basic syntactic constructs through reductions
- C. recognition of basic elements and creation of uniform symbols
- D. use of macro processor to produce more optimal assembly code
Explanation: Lexical analysis converts the character stream into basic elements such as identifiers, keywords, literals, and operators, usually…
Correct answer: recognition of basic elements and creation of uniform symbols- A. relative loaders
- B. relocating loaders
- C. both A and B
- D. None of the above
Explanation: A relocating loader adjusts address-dependent parts of a program when loading it at a different memory location.
Correct answer: both A and B- A. creation of more optional matrix
- B. recognition of basic syntactic constructs through reductions
- C. recognition of basic elements and creation of uniform symbols
- D. use of macro processor to produce more optimal assembly code
Explanation: Syntax analysis checks whether the token sequence follows the language grammar and builds structures through grammar rules or reductions.
Correct answer: recognition of basic syntactic constructs through reductions- A. a program that places programs into memory and prepares them for execution
- B. a program that automate the translation of assembly language into machine language
- C. is a program that appears to execute a source program as if it were machine language
- D. program that accepts a program written in a high level language and produces an object program
Explanation: A loader places an object program into memory, resolves or adjusts required addresses, and prepares it for execution.
Correct answer: a program that places programs into memory and prepares them for execution- A. Machine language
- B. Assembly language
- C. High level language
- D. All of the above
Explanation: LDA B is written using an assembler mnemonic and symbolic operand, so it is assembly language.
Correct answer: Assembly language- A. lexical analysis
- B. syntax analysis
- C. general syntax analysis
- D. interpretation analysis
Explanation: Lexical analysis groups the character stream into tokens or syntactic classes such as identifiers, keywords, and operators.
Correct answer: lexical analysis- A. consists of a program and relevant information for its relocation
- B. can itself perform the relocation of its address-sensitive portions
- C. 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
- D. All of the above
Explanation: A self-relocating program contains code that adjusts its own address-sensitive instructions when loaded at a different location.
Correct answer: can itself perform the relocation of its address-sensitive portions- A. compiler
- B. macroprocessor
- C. two pass assembler
- D. load-and-go assembler
Explanation: A load-and-go assembler translates source directly into absolute machine code and loads it into memory for immediate execution, without…
Correct answer: load-and-go assembler- A. 40
- B. DA000F
- C. 0111EF
- D. 9001000000
Explanation: In the given assembly notation, CHARI uses opcode DA and the hexadecimal operand 000F, producing the machine instruction DA000F.
Correct answer: DA000F- A. A greater degree of machine independence
- B. Improved debugging capability, and superior documentation
- C. Fewer people, less management and shorter transition in learning time
- D. All of the above
Explanation: High-level languages reduce dependence on a particular machine, make debugging and documentation easier, and generally reduce development…
Correct answer: All of the above- A. ASRA
- B. ADDA h#01FE, i
- C. LOADA h#OD4E, i
- D. STOREA h#014B, d
Explanation: The leading 08 identifies LOADA, and the remaining 0D4E is the hexadecimal operand with immediate addressing.
Correct answer: LOADA h#OD4E, i- A. Utility program
- B. Security software
- C. Networking software
- D. Documentation system
Explanation: Merging records from files is a general file-processing function provided by a utility program.
Correct answer: Utility program- A. F8
- B. 03 16
- C. 0111EF
- D. 42 65 61 72
Explanation: The hexadecimal ASCII codes for the characters B, e, a, and r are 42, 65, 61, and 72 respectively.
Correct answer: 42 65 61 72- A. mouse
- B. printer
- C. keyboard
- D. scanner
Explanation: A mouse, keyboard, and scanner send data into the computer, so they are input devices.
Correct answer: printer- A. EBCDIC
- B. Binary numbering system
- C. Unicode
- D. ASCII
Explanation: ASCII is the traditional character code commonly represented using 8 bits in its extended form, with a distinct numeric code for each…
Correct answer: ASCII- A. ensure that the system processes data as it was designed to and that the results are reliable
- B. protect data from accidental or intentional loss
- C. inspect the system and check that it is built as per specifications
- D. ensure privacy of data processed by it
Explanation: A system control is designed to keep processing consistent with the approved design and to make its outputs dependable.
Correct answer: ensure that the system processes data as it was designed to and that the results are reliable- A. A CD-RW can be written to, but a CD-ROM can only be read from.
- B. They are the same - just two different terms used by different manufacturers.
- C. A CD-ROM holds more information than a CD-RW.
- D. A CD-ROM can be written to and a CD-RW cannot.
Explanation: CD-ROM media are read-only, whereas CD-RW media can be erased and written again.
Correct answer: A CD-RW can be written to, but a CD-ROM can only be read from.- A. microchip
- B. macrochip
- C. macroprocessor
- D. calculator
Explanation: A microprocessor is implemented as an integrated circuit, commonly called a microchip, and performs the computer's processing functions.
Correct answer: microchip- A. Monitor and Printer
- B. Floppy disc nad CD
- C. Keyboard and Mouse
- D. Windows 2000 and Windows NT
Explanation: Monitors and printers are standard examples of output devices: a monitor displays results and a printer produces them on paper.
Correct answer: Monitor and Printer