Free Software Development Lifecycle MCQs with Answers
423 Software Development Lifecycle 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
423 questions · page 12 of 22
- A. 16
- B. 4
- C. 2
- D. 1
Explanation: Under the traditional MBR partitioning scheme, a disk can contain only one extended partition, which serves as a container for logical…
Correct answer: 1- A. GNU's not Unix
- B. Greek Needed Unix
- C. General Unix
- D. General Noble Unix
Explanation: GNU is a recursive acronym meaning “GNU's Not Unix.” It refers to the Unix-compatible free-software project, not to “General Unix” or the…
Correct answer: GNU's not Unix- A. wc - r
- B. wc - w
- C. wc - c
- D. wc - 1
Explanation: The `wc -c` option counts the number of bytes in a file and is traditionally described in basic Unix questions as counting characters.
Correct answer: wc - c224. For you to create a swap partition by using fdisk, what must the partition's system ID type be ?
- A. 83
- B. 82
- C. 5
- D. 4
Explanation: Partition type 82 is the Linux swap partition ID used by `fdisk`. Type 83 denotes a normal Linux filesystem, while type 5 denotes an…
Correct answer: 82- A. rpm -q
- B. rpm -a
- C. rpm -d
- D. rpm -1
Explanation: The RPM query option is `-q`, used to query whether a package is installed and retrieve package information.
Correct answer: rpm -q226. Which of the following NIS clients, finds and stores information about an NIS domain and server ?
- A. ypwhich
- B. ypbind
- C. ypcat
- D. yppoll
Explanation: `ypbind` binds an NIS client to an NIS server and maintains the domain-to-server information needed for NIS requests.
Correct answer: ypbind- A. *
- B. ?
- C. [!ijk]
- D. [ijk]
Explanation: The `*` shell wildcard matches any sequence of characters, including an empty sequence.
Correct answer: *- A. SPARC
- B. IBM-compatible
- C. Alpha
- D. Macintosh
Explanation: The listed Red Hat architecture choices traditionally included IBM-compatible x86, Alpha, and SPARC systems, whereas Macintosh was not…
Correct answer: Macintosh- A. ^pat
- B. $pat
- C. pat$
- D. pat^
Explanation: In a grep regular expression, `$` anchors a pattern to the end of a line, so `pat$` matches lines ending with `pat`.
Correct answer: pat$- 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 relocatable program includes the program code together with information that allows address-sensitive parts to be adjusted when it is…
Correct answer: consists of a program and relevant information for its relocation- A. Top-down development
- B. Bottom-up development
- C. Left-Right development
- D. All of the above
Explanation: Top-down development starts with the system's main control modules and progressively refines or replaces lower-level details.
Correct answer: Top-down development- A. Syntax analysis
- B. Code generation
- C. Storage assignment
- D. Assembly and output
Explanation: Assembly and output resolves symbolic labels into actual addresses and produces machine-language output.
Correct answer: Assembly and output- A. 4GL does not support a high-level of screen interaction
- B. Many database management system packages support 4GLs
- C. A 4GL is a software tool which is written, possibly, in some third generation language
- D. All of the above
Explanation: A 4GL usually provides high-level screen and database interaction, so saying that it does not support high-level screen interaction is…
Correct answer: 4GL does not support a high-level of screen interaction- 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. a program that accepts a program written in a high level language and produces an object program
Explanation: An assembler translates assembly-language mnemonics and symbols into machine-language or object code.
Correct answer: a program that automate the translation of assembly language into machine language- A. save the macro definitions
- B. recognize macro definitions and macro calls
- C. expand macro calls and substitute arguments
- D. All of the above
Explanation: A macro processor stores definitions, recognizes definitions and calls, and expands each call by substituting its arguments.
Correct answer: All of the above236. Advantage(s) of using assembly language rather than machine language is/are____________________?
- A. Introduction of data to program is easier
- B. Addresses any symbolic, not absolute
- C. It is mnemonic and easy to read
- D. All of the above
Explanation: Assembly language replaces binary instructions with readable mnemonics and permits symbolic addresses and easier data representation.
Correct answer: All of the above- A. is a term that refers to the control programs of an operating system
- B. allows multiple programs to reside in separate areas of core at the same time
- C. allows the programmer to write base registers and displacements explicitly in the source program
- D. is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain
Explanation: System/370 assembly language permits explicit specification of base registers and displacements in source instructions.
Correct answer: allows the programmer to write base registers and displacements explicitly in the source program- A. ASRA
- B. ADDA h#01FE, i
- C. LOADA h#OD4E, i
- D. STOREA h#014B, d
Explanation: In the referenced instruction format, hexadecimal machine code 48 decodes to ASRA, an accumulator arithmetic-shift-right instruction.
Correct answer: ASRA- A. Reductions
- B. Literal table
- C. Identifier table
- D. Terminal table
Explanation: A literal table records constants written directly in the source program, such as numeric or character literals, so the translator can…
Correct answer: Literal table240. Convert the ASLA assembly language instructions into hexadecimal machine language_______________?
- A. 40
- B. 0111EF
- C. 9001000000
- D. DA000F
Explanation: ASLA is a unary instruction whose opcode in this instruction set is hexadecimal 40, so no operand bytes are appended.
Correct answer: 40