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 41 of 87

  • 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
  • A. mkfs
  • B. fdisk
  • C. fsck
  • D. mount

Explanation: `fdisk` creates and modifies disk partitions. `mkfs` creates a filesystem in a partition, `fsck` checks it, and `mount` attaches it to the…

Correct answer: fdisk
  • A. tty ^c
  • B. stty intr \^c
  • C. stty echoe
  • D. stty echo \^a

Explanation: `stty intr \^c` changes the terminal's interrupt character to Control-C.

Correct answer: stty intr \^c
  • A. sort
  • B. wc
  • C. grep
  • D. cat

Explanation: A filter reads standard input, transforms or selects data, and writes standard output; `sort`, `wc`, and `grep` are classic filters.

Correct answer: cat
  • A. x
  • B. q!
  • C. :w
  • D. :q

Explanation: The `:w` command writes the current file to disk and leaves the user in vi, allowing further editing.

Correct answer: :w
  • A. stands for Linux loader
  • B. is the Linux boot loader
  • C. is a tool used to boot the Kernel on x86 hardware
  • D. All of the above

Explanation: LILO means Linux Loader and is a boot loader traditionally used to load the Linux kernel, especially on x86 systems.

Correct answer: All of the above
  • A. mv *.* /bin/
  • B. mv * /bin/*
  • C. mv * ../bin
  • D. mv * ../bin *.*

Explanation: `mv * ../bin` moves the non-hidden files and directories from the current directory into the `bin` directory in its parent directory.

Correct answer: mv * ../bin
  • A. mkfs
  • B. fdisk
  • C. fsck
  • D. mount

Explanation: `fsck` checks file-system structures and repairs detected inconsistencies.

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

Explanation: In older Unix terminal conventions, `#` served as the erase character for correcting the previous typed character.

Correct answer: #
  • A. NFS
  • B. SMB
  • C. NIS
  • D. DNS

Explanation: DNS, or the Domain Name System, resolves human-readable domain names such as `example.com` into IP addresses.

Correct answer: DNS
  • A. Bill Gates
  • B. Ben Thomas
  • C. Richard Stallman
  • D. Linus Torvalds

Explanation: Linus Torvalds created and initiated development of the Linux kernel in 1991.

Correct answer: Linus Torvalds
  • A. /usr
  • B. /tmp
  • C. /opt
  • D. /mntEngineering & Technology

Explanation: `/usr` contains standard user programs and administrative commands, commonly under `/usr/bin` and `/usr/sbin`.

Correct answer: /usr
  • A. constructs packets of data and sends them across the network
  • B. controls error detection and correction
  • C. defines the electrical characteristics of signals passed between the computer and communication devices
  • D. All of the above

Explanation: The physical layer specifies how bits are represented and transmitted, including the electrical characteristics of signals and interfaces.

Correct answer: defines the electrical characteristics of signals passed between the computer and communication devices