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

  • A. /etc/apache.conf
  • B. /etc/httpd/config.ini
  • C. /etc/httpd/conf/httpd.conf
  • D. /etc/srm.conf

Explanation: On traditional Apache installations, the primary configuration file is `/etc/httpd/conf/httpd.conf`.

Correct answer: /etc/httpd/conf/httpd.conf
  • A. /dev
  • B. /bin
  • C. /etc
  • D. /home

Explanation: System startup scripts are kept under `/etc`, commonly in subdirectories such as `/etc/init.d` or `/etc/rc.d`.

Correct answer: /etc
  • A. switchdesk
  • B. intrc
  • C. xinitre
  • D. Xchange

Explanation: `switchdesk` was a graphical Linux utility used to select or change the default X Window desktop environment.

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

Explanation: In traditional Unix terminal settings, @ was the line-kill character, removing the complete input line without issuing a new shell prompt.

Correct answer: @
  • A. :pat
  • B. ?pat
  • C. /pat
  • D. All of the above

Explanation: The vi command /pat searches forward for the pattern pat, while ?pat searches backward.

Correct answer: /pat
  • A. lc
  • B. wc - l
  • C. cl
  • D. count

Explanation: wc counts lines, words, and bytes; the -l option restricts its output to the number of lines. Thus wc -l filename is the standard command.

Correct answer: wc - l
  • A. ren
  • B. mv
  • C. remove
  • D. change

Explanation: The Unix mv command moves a file and also changes its name when the destination is another filename.

Correct answer: mv
  • A. cdir
  • B. chdir
  • C. changedir
  • D. cd

Explanation: cd changes the shell's current working directory, for example cd /var/log.

Correct answer: cd
  • A. NFS
  • B. FTP
  • C. PCMCIA
  • D. All of the above

Explanation: NFS, FTP, and PCMCIA installations may require special boot disks because the installer needs drivers or network support before the…

Correct answer: All of the above
  • A. /etc/hosts.allow
  • B. /etc/hosts.deny
  • C. /etc/hosts
  • D. /etc/tcp.conf

Explanation: tcp_wrappers reads /etc/hosts.allow for permitted connections, so an entry such as ALL: ALL allows connections from every host.

Correct answer: /etc/hosts.allow
  • A. au
  • B. ps
  • C. du
  • D. pid

Explanation: ps displays information about active processes, including process IDs, terminals, CPU usage, and command names.

Correct answer: ps
  • A. rmdir
  • B. rd
  • C. remove
  • D. rdir

Explanation: rmdir removes an empty directory in Unix and Linux. A directory containing files must first be emptied or removed recursively with an…

Correct answer: rmdir
  • A. shutry
  • B. TRY
  • C. trial
  • D. None of the above

Explanation: In Unix-like systems, shutry, TRY, and trial are all valid filenames because ordinary letters may be used and case is significant.

Correct answer: None of the above
  • A. lpq
  • B. lpr
  • C. lprm
  • D. lpc

Explanation: lpq displays the print jobs currently waiting in printer queues. lpr submits a print job, while lprm removes one.

Correct answer: lpq
  • A. netstat
  • B. route
  • C. trace
  • D. ipchains

Explanation: ipchains was a Linux firewall administration tool used before iptables became standard.

Correct answer: ipchains
  • A. /var/log
  • B. /etc/log
  • C. /mail
  • D. All of the above

Explanation: Red Hat Linux stores system and mail-related log files under /var/log. The other paths are not the standard central log directory.

Correct answer: /var/log
  • A. oct
  • B. of
  • C. od
  • D. cd

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

Correct answer: od
  • A. NFS
  • B. SMD
  • C. smbclient
  • D. smbserver

Explanation: `smbclient` is the Linux command-line client for connecting to and working with SMB or Windows file shares.

Correct answer: smbclient
  • A. mkboot disk
  • B. bootfp disk
  • C. ww and rawwrite
  • D. dd and rawrite

Explanation: `dd` copies a disk image at the block level, and `rawrite` writes an image to a floppy, so these tools were used to create bootable Linux…

Correct answer: dd and rawrite
  • A. @
  • B. #
  • C. $
  • D. !

Explanation: In traditional vi input mode, `#` backs up over the character immediately before the cursor, making it useful for correcting typing…

Correct answer: #