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 7 of 22

  • A. mkfs
  • B. fdisk
  • C. fsck
  • D. mount

Explanation: `fdisk` creates and modifies disk partitions. `mkfs` creates a filesystem in a partition, `fsck` checks it, and `mount` attaches it to the…

Correct answer: fdisk
  • A. tty ^c
  • B. stty intr \^c
  • C. stty echoe
  • D. stty echo \^a

Explanation: `stty intr \^c` changes the terminal's interrupt character to Control-C.

Correct answer: stty intr \^c
  • A. sort
  • B. wc
  • C. grep
  • D. cat

Explanation: A filter reads standard input, transforms or selects data, and writes standard output; `sort`, `wc`, and `grep` are classic filters.

Correct answer: cat
  • A. x
  • B. q!
  • C. :w
  • D. :q

Explanation: The `:w` command writes the current file to disk and leaves the user in vi, allowing further editing.

Correct answer: :w
  • A. stands for Linux loader
  • B. is the Linux boot loader
  • C. is a tool used to boot the Kernel on x86 hardware
  • D. All of the above

Explanation: LILO means Linux Loader and is a boot loader traditionally used to load the Linux kernel, especially on x86 systems.

Correct answer: All of the above
  • A. mv *.* /bin/
  • B. mv * /bin/*
  • C. mv * ../bin
  • D. mv * ../bin *.*

Explanation: `mv * ../bin` moves the non-hidden files and directories from the current directory into the `bin` directory in its parent directory.

Correct answer: mv * ../bin
  • A. mkfs
  • B. fdisk
  • C. fsck
  • D. mount

Explanation: `fsck` checks file-system structures and repairs detected inconsistencies.

Correct answer: fsck
  • A. !
  • B. $
  • C. #
  • D. @

Explanation: In older Unix terminal conventions, `#` served as the erase character for correcting the previous typed character.

Correct answer: #
  • A. NFS
  • B. SMB
  • C. NIS
  • D. DNS

Explanation: DNS, or the Domain Name System, resolves human-readable domain names such as `example.com` into IP addresses.

Correct answer: DNS
  • A. Bill Gates
  • B. Ben Thomas
  • C. Richard Stallman
  • D. Linus Torvalds

Explanation: Linus Torvalds created and initiated development of the Linux kernel in 1991.

Correct answer: Linus Torvalds
  • A. /usr
  • B. /tmp
  • C. /opt
  • D. /mntEngineering & Technology

Explanation: `/usr` contains standard user programs and administrative commands, commonly under `/usr/bin` and `/usr/sbin`.

Correct answer: /usr
  • A. constructs packets of data and sends them across the network
  • B. controls error detection and correction
  • C. defines the electrical characteristics of signals passed between the computer and communication devices
  • D. All of the above

Explanation: The physical layer specifies how bits are represented and transmitted, including the electrical characteristics of signals and interfaces.

Correct answer: defines the electrical characteristics of signals passed between the computer and communication devices
  • A. Pine
  • B. The MTA
  • C. The MUA
  • D. procmail

Explanation: A typical Red Hat Linux mail setup includes an MTA for transferring mail, an MUA for user access, and procmail for delivery or filtering.

Correct answer: Pine
  • A. nm
  • B. nu
  • C. ic
  • D. li

Explanation: In vi, `:set nu` or `:set number` enables line numbers, and `nu` is the accepted abbreviation.

Correct answer: nu
  • A. httpd
  • B. shttp
  • C. dns
  • D. named

Explanation: BIND is the Berkeley Internet Name Domain software, and its DNS server daemon is called `named`.

Correct answer: named
  • A. copy
  • B. cp - p
  • C. cpio
  • D. cp

Explanation: `cpio` archives and copies files or directory structures, supporting operations both into and out of an archive.

Correct answer: cpio
  • A. Free Software File
  • B. File Server First
  • C. First Serve First
  • D. Free Software Foundation

Explanation: FSF expands to Free Software Foundation, an organization that promotes software freedom and supports GNU-related projects.

Correct answer: Free Software Foundation
  • A. sort - r
  • B. st
  • C. sh
  • D. sort

Explanation: `sort` orders lines lexicographically, which normally produces alphabetical order for ordinary text.

Correct answer: sort
  • A. tee
  • B. tr
  • C. sort
  • D. grep

Explanation: `tee` copies standard input to standard output while also writing the same data to a specified file, making it useful in pipelines.

Correct answer: tee
  • A. wc infile >newfile
  • B. wc newfile
  • C. wc infile - newfile
  • D. wc infile | newfileHire Civil Engineers

Explanation: `wc infile > newfile` counts the contents of `infile`, while `>` redirects that output into `newfile`.

Correct answer: wc infile >newfile