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

  • A. bzimage.img
  • B. tar
  • C. ghost
  • D. mkkickstart

Explanation: Red Hat's Kickstart mechanism automates installation using a configuration file, and `mkkickstart` is the option associated with creating…

Correct answer: mkkickstart
  • A. Linux
  • B. BSD
  • C. UnixWare
  • D. DOS

Explanation: Traditional Linux systems commonly used the DOS-style partition table, also known as the MBR partition table.

Correct answer: DOS
  • A. cat emp[!0-9]
  • B. more [emp][!0-9]
  • C. cat emp[x-z]
  • D. cat emp[a-z]

Explanation: In a shell glob, `[!0-9]` matches one character that is not a digit, so `cat emp[!0-9]` selects names beginning with `emp` and having a…

Correct answer: cat emp[!0-9]
  • A. chmod -R a+x progs
  • B. chmod -R 222 progs
  • C. chmod -1 a+x progs
  • D. chmod -x a+x progs

Explanation: The `-R` option applies the change recursively, while `a+x` adds execute permission for the owner, group, and others.

Correct answer: chmod -R a+x progs
  • A. chmod ugo+r letter
  • B. chmod ugo+rw letter
  • C. chmod u+x letter
  • D. chmod ugo+x letter

Explanation: `ugo+x` adds execute permission for the user, group, and others on `letter`. `u+x` would give execute permission only to the file owner.

Correct answer: chmod ugo+x letter
  • A. .exrc
  • B. .profile
  • C. lastlogin
  • D. .mbox

Explanation: The Bourne shell reads `.profile` when a user logs in, allowing environment variables and startup settings to be established.

Correct answer: .profile
  • A. cd..
  • B. cd/
  • C. cd
  • D. cd HOME.

Explanation: Running `cd` without a directory argument changes to the current user's home directory.

Correct answer: cd
  • A. mail
  • B. mesg
  • C. write
  • D. grep

Explanation: `write` sends an interactive message to another logged-in user and supports two-way communication.

Correct answer: write
  • A. R
  • B. v
  • C. C
  • D. u

Explanation: In the vi editor, capital `R` enters replace or overstrike mode, allowing existing characters to be replaced across a line.

Correct answer: R
  • A. +
  • B. -
  • C. =
  • D. %

Explanation: The `=` operator sets an exact permission set, so it is used for absolute assignment such as `chmod u=rw file`.

Correct answer: =
  • A. who
  • B. ls
  • C. tty
  • D. stty

Explanation: `tty` prints the device pathname of the terminal connected to the current session, such as `/dev/pts/0`.

Correct answer: tty
  • A. pg
  • B. cat
  • C. lp
  • D. /p

Explanation: `pg` displays a file page by page, traditionally showing about 24 lines per screen on a standard terminal.

Correct answer: pg
  • A. write
  • B. mesg
  • C. calendar
  • D. mail

Explanation: The Unix `calendar` command checks calendar files and displays scheduled reminders.

Correct answer: calendar
  • A. -m.n
  • B. +m.n
  • C. + n.m+1
  • D. +(m+l).n

Explanation: In the traditional Unix `sort` syntax, `+m.n` specifies a sort key beginning at a character position within a field, so option b matches…

Correct answer: +m.n
  • A. password
  • B. login
  • C. shell
  • D. home

Explanation: The seventh colon-separated field in `/etc/passwd` specifies the user’s login shell, such as `/bin/bash`.

Correct answer: shell
  • A. -c
  • B. -i
  • C. -d
  • D. -s

Explanation: With `ls`, the `-s` option displays the amount of disk space allocated to each file in blocks.

Correct answer: -s
  • A. chkdsk
  • B. fdisk
  • C. du
  • D. disk

Explanation: `du` means disk usage and summarizes the space consumed by files and directories.

Correct answer: du
  • A. ls
  • B. lp
  • C. dir
  • D. tar

Explanation: `ls` lists the contents of a directory, with optional flags controlling details, ordering, and formatting.

Correct answer: ls
  • A. rm *
  • B. rm -r *
  • C. rm all
  • D. rm *.*

Explanation: `rm -r *` recursively removes the non-hidden entries in the current directory, including their files and subdirectories.

Correct answer: rm -r *
  • A. ls -l
  • B. ls -x
  • C. ls -F
  • D. ls -a

Explanation: `ls -a` includes entries whose names begin with a dot, so it shows hidden files along with ordinary files.

Correct answer: ls -a