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

  • A. ypwhich
  • B. ypbind
  • C. ypcat
  • D. yppoll

Explanation: `ypwhich` reports the name of the NIS server currently used by the client.

Correct answer: ypwhich
  • A. kill
  • B. cancel
  • C. haltsys
  • D. shutdownGet Study Guides

Explanation: `kill` sends a signal to a process, with the default signal normally terminating it.

Correct answer: kill
  • A. c
  • B. d
  • C. b
  • D. eExplore Design Agencies

Explanation: In vi, `e` moves the cursor forward to the end of the current or next word.

Correct answer: eExplore Design Agencies
  • A. /etc/mount.sys
  • B. /etc/filesys
  • C. /etc/sysconfig
  • D. /etc/fstab

Explanation: `/etc/fstab` contains the filesystems and mount options used for automatic mounting, especially during system startup.

Correct answer: /etc/fstab
  • A. save
  • B. sync
  • C. edbuff
  • D. flush

Explanation: `sync` writes pending filesystem buffers from memory to disk, helping ensure that recent changes reach storage.

Correct answer: sync
  • A. lpq
  • B. lpr
  • C. lprm
  • D. lpc

Explanation: `lprm` removes print jobs from a queue, usually by specifying a job ID or user.

Correct answer: lprm
  • A. lpd
  • B. lpr
  • C. lpq
  • D. lpc

Explanation: `lpr` submits a file as a print job and places it in the printer queue.

Correct answer: lpr
  • A. /etc/services
  • B. /etc/nsorder
  • C. /etc/nsswitch.conf
  • D. /etc/hosts

Explanation: `/etc/nsswitch.conf` specifies both the sources for services such as host and user lookup and their lookup order.

Correct answer: /etc/nsswitch.conf
  • A. i
  • B. j
  • C. k
  • D. h

Explanation: In vi's normal mode, `h` moves the cursor one position to the left. The keys `j` and `k` move down and up, while `i` enters insert mode.

Correct answer: h
  • A. -l
  • B. -d
  • C. -r
  • D. -b

Explanation: The `-l` option makes `cmp` print each differing byte's position and the differing byte values in octal.

Correct answer: -l
  • A. who the owner of the file is
  • B. the name of the group owner of the file
  • C. how large the file is and when the file was last modified.
  • D. All of the above

Explanation: The long listing option displays the file owner, group owner, size, and last-modification time along with permissions and other metadata…

Correct answer: All of the above
  • A. ls -F -x
  • B. ls -l
  • C. ls ~ x
  • D. Ip

Explanation: The -x option arranges names across rows in multiple columns, while -F appends markers such as / for directories and * for executable…

Correct answer: ls -F -x
  • A. standard input file
  • B. standard output file
  • C. both input and output file
  • D. neither standard input nor standard output file

Explanation: cp copies data from named source files to named destination files and does not normally read from standard input or write to standard…

Correct answer: neither standard input nor standard output file
  • A. cd
  • B. od
  • C. of
  • D. oct

Explanation: The od command, meaning octal dump, displays file data in octal and other selectable formats.

Correct answer: od
  • A. S
  • B. s
  • C. r
  • D. C

Explanation: In vi, s substitutes the character under the cursor and enters text-insertion mode, allowing new text to be typed.

Correct answer: s
  • A. rename
  • B. delete
  • C. rm
  • D. cp

Explanation: rm removes files from a Unix filesystem, while cp copies them and rename is not the standard Unix deletion command.

Correct answer: rm
  • A. lp
  • B. pg
  • C. prn
  • D. print

Explanation: lp is the traditional Unix command for sending a file to a line printer or print queue.

Correct answer: lp
  • A. w
  • B. e
  • C. a
  • D. b

Explanation: In vi, `b` moves the cursor backward to the beginning of the current or previous word.

Correct answer: b
  • A. countw
  • B. wcount
  • C. wc
  • D. count p

Explanation: `wc` means word count and reports the number of lines, words, and bytes or characters in a file.

Correct answer: wc
  • A. capture a file
  • B. display a file
  • C. print a file
  • D. copy a file

Explanation: `cat` reads a file and writes its contents to standard output, so it is commonly used to display a file in the terminal.

Correct answer: display a file