All Free Software Engineering MCQs with Answers

Every Software Engineering question in the bank, across all chapters, each with the correct answer and a written explanation. Free and unlimited, with no account needed.

1,731 questions · page 39 of 87

  • A. /sbin/usrquota
  • B. /sbin/edquota
  • C. /sbin/quotaon
  • D. /sbin/quota

Explanation: `edquota` opens the quota settings for editing and allows administrators to set soft and hard limits for users or groups.

Correct answer: /sbin/edquota
  • A. chmod ugo + x letter
  • B. chmod u + x letter
  • C. chmod u + w letter
  • D. chmod g + x letter

Explanation: In `chmod`, `u` identifies the file owner and `+x` adds execute permission, giving `chmod u+x letter`.

Correct answer: chmod u + x letter
  • A. /dev
  • B. /bin
  • C. /etc
  • D. /home

Explanation: The `/dev` directory contains special device files that provide interfaces to hardware and virtual devices.

Correct answer: /dev
  • A. chmod u+x emp[1-3]
  • B. chmod 777 emp*
  • C. chmod u+r ??? emp
  • D. chmod 222 emp?

Explanation: The pattern `emp[1-3]` matches names beginning with `emp` and ending in 1, 2, or 3, while `chmod u+x` changes the owner's execute…

Correct answer: chmod u+x emp[1-3]
  • A. ccp
  • B. du
  • C. cmp
  • D. comp

Explanation: The Unix `cmp` command compares two files byte by byte and reports where their contents first differ.

Correct answer: cmp
  • A. [Control-d]
  • B. [Control - u]
  • C. [Control-c]
  • D. [Control -P]

Explanation: In vi, Ctrl-U scrolls backward by approximately half a screen. Ctrl-D scrolls forward by half a screen, while Ctrl-C interrupts and Ctrl-P…

Correct answer: [Control - u]
  • A. -t
  • B. -tt
  • C. -4
  • D. -i

Explanation: The `-t` option is used in the command convention tested here to include the filesystem's total disk-space information.

Correct answer: -t
  • A. /
  • B. ?
  • C. //
  • D. ??

Explanation: A forward slash `/` starts a forward search in vi, moving from the cursor toward the end of the file.

Correct answer: /
  • A. s
  • B. S
  • C. a
  • D. i

Explanation: The vi command `i` enters insert mode immediately before the cursor, so new text appears to its left.

Correct answer: i
  • A. cat
  • B. cut
  • C. grep
  • D. paste

Explanation: `cut` extracts selected fields or character columns from each input line, commonly using a delimiter with the `-d` and `-f` options.

Correct answer: cut
  • A. grep
  • B. tail
  • C. head
  • D. cat

Explanation: `tail` displays the end of a file and shows the final 10 lines by default.

Correct answer: tail
  • A. chmod 4=7, g = 6, o = 1 letter
  • B. chmod a = 761 letter
  • C. chmod u = rwx, g = rw, o = x letter
  • D. chmod 167 letter

Explanation: In `761`, the digits represent user, group, and other permissions: 7 is `rwx`, 6 is `rw-`, and 1 is `--x`.

Correct answer: chmod u = rwx, g = rw, o = x letter
  • A. 2GB
  • B. 128MB
  • C. 64MB
  • D. 32MB

Explanation: Under the Linux 2.2.x limit referenced by this question, one swap partition could be at most 2 GB.

Correct answer: 2GB
  • A. vi
  • B. Outlook
  • C. Scheduler
  • D. cron

Explanation: `cron` runs commands according to scheduled times defined in crontab entries, making it suitable for recurring jobs.

Correct answer: cron
  • A. Session
  • B. Data-link
  • C. Application
  • D. Network

Explanation: The OSI Application layer provides network services closest to end-user applications and therefore forms the user-facing interface.

Correct answer: Application
  • A. ??
  • B. //
  • C. ?
  • D. /

Explanation: In vi, `/pattern` searches forward from the current position, while `?pattern` searches backward.

Correct answer: /
  • A. Using useradd
  • B. Using adduser
  • C. Using linuxconf
  • D. All of the above

Explanation: `useradd` and `adduser` create users, while `linuxconf` also provided user-management functions on older Linux systems.

Correct answer: All of the above
  • A. r user-list
  • B. m user-list
  • C. d user-list
  • D. e user-list

Explanation: In the Unix `mail` program, `m user-list` starts a message addressed to the specified user or list.

Correct answer: m user-list
  • A. A
  • B. a
  • C. i
  • D. I

Explanation: Uppercase `A` moves to the end of the current line and enters insert mode, so new text is appended there.

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

Explanation: `cpio` copies files and directory structures into and out of archive files, which is the significance of “in and out” in the question.

Correct answer: cpio