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 6 of 22
- A. ic
- B. ai
- C. sm
- D. ts
Explanation: The vi setting ic means ignore case during pattern searches, so uppercase and lowercase letters are treated as equivalent.
Correct answer: ic- A. who | tee user.lst
- B. who > user.lst
- C. who >> user.lst
- D. who < user.lste
Explanation: tee sends the command's output to both standard output and the specified file, so who | tee user.lst displays the result while saving it.
Correct answer: who | tee user.lst- A. copy programs/wb misc/wbx
- B. cp programs/wb misc/wbx
- C. tar programs/wb misc/wbx
- D. copy a:programs/wb b:misc/wbx
Explanation: cp copies the source path programs/wb to the destination path misc/wbx.
Correct answer: cp programs/wb misc/wbx- A. more
- B. pg
- C. cat
- D. lp
Explanation: pg displays text one page at a time and is traditionally associated with viewing a file in fixed screen-sized pages, such as 24 lines.
Correct answer: pg- A. s
- B. r
- C. w
- D. d
Explanation: Within the traditional mail command, s saves the current message to a separate file, normally followed by its filename.
Correct answer: s- A. .exrc
- B. .profile
- C. .autoexec
- D. autoexec.bat
Explanation: The .profile file contains shell commands executed when a user logs in, such as environment-variable and path settings.
Correct answer: .profile- A. pid
- B. du
- C. ps
- D. au
Explanation: ps displays information about active processes, including their process IDs, owners, and status.
Correct answer: ps- A. head - r
- B. tail
- C. eof
- D. bof
Explanation: `tail` displays the last part of a file, whereas `head` displays its beginning.
Correct answer: tail- A. write
- B. mail
- C. wall
- D. mesg
Explanation: `wall` broadcasts a message to all users currently logged in to the system.
Correct answer: wall- A. sort
- B. sh
- C. st
- D. sort -r
Explanation: `sort` arranges input lines in ascending lexicographic order by default, which is usually described as alphabetical order.
Correct answer: sort- A. logic
- B. profile
- C. shell
- D. erxc
Explanation: The shell is the command interpreter between the user and the UNIX kernel, accepting commands and launching programs.
Correct answer: shell- A. cd
- B. changedir
- C. chdir
- D. cdir
Explanation: `cd` changes the shell's current working directory. The other names are not the standard UNIX command used for this purpose.
Correct answer: cd- A. chmod 761 note
- B. chmod 671 note
- C. chmod 167 note
- D. chmod 4=rwx, g=rw note
Explanation: In numeric permissions, 7 means read, write, and execute; 6 means read and write; and 1 means execute only.
Correct answer: chmod 761 note- A. cat
- B. head
- C. more
- D. grep
Explanation: `head` displays the beginning, or top portion, of a file. `tail` is its counterpart for the end of a file, while `grep` searches for…
Correct answer: head- A. -1
- B. -i
- C. -x
- D. -R
Explanation: The `-R` option makes `chmod` operate recursively on a directory and its contents, including subdirectories.
Correct answer: -R- A. chmod go + x, u - x letter
- B. chmod g - x, uo + r letter
- C. chmod go + r, u + x letter
- D. chmod u - x, go + r letter
Explanation: `u-x` removes execute permission from the user, and `go+r` adds read permission for the group and others.
Correct answer: chmod u - x, go + r letter- A. shutdown
- B. haltsys
- C. cancel
- D. kill
Explanation: The `kill` command sends a signal to a process, including the termination signal.
Correct answer: kill- A. /boot/lilo.conf
- B. /etc/conf.modules
- C. /etc/named.boot
- D. /etc/lilo.conf
Explanation: On traditional Linux systems using LILO, `/etc/lilo.conf` contains the kernel image and boot-entry configuration that must be updated…
Correct answer: /etc/lilo.conf- A. grep
- B. wc
- C. touch
- D. cat
Explanation: `touch` updates a file's access and modification timestamps, creating the file if it does not already exist.
Correct answer: touch- A. 0
- B. 755
- C. 744
- D. 555
Explanation: Permissions are written as owner, group, and others: `7` gives the owner read, write, and execute, while `5` gives each remaining class…
Correct answer: 755