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

  • A. to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.
  • B. to move the cursor to the upperleft corner of the screen
  • C. to move the cursor backward to the beginning of a word
  • D. to move the cursor to the first column in the current line

Explanation: In vi, `%` moves the cursor between matching delimiters such as parentheses, brackets, and braces.

Correct answer: to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.
  • A. -4
  • B. -f
  • C. -1
  • D. -2

Explanation: The `-f` option gives a fuller process listing, including the complete command-line information.

Correct answer: -f
  • A. $
  • B. #
  • C. :
  • D. ;

Explanation: A semicolon separates commands so the shell executes them sequentially on the same command line.

Correct answer: ;
  • A. ls -l -d
  • B. ls -l
  • C. ls -x
  • D. ls -F

Explanation: The `-d` option makes `ls` display the directory entry itself rather than listing the directory's contents, and `-l` shows its attributes…

Correct answer: ls -l -d
  • A. sort
  • B. sh
  • C. st
  • D. sort -r

Explanation: `sort` orders lines alphabetically by default, while the `-r` option reverses that order.

Correct answer: sort -r
  • A. chmod u + r, g + r, o - x letter
  • B. chmod ugo = r letter
  • C. chmod a - rw letter
  • D. chmod go + r letter

Explanation: `ugo` refers to user, group, and others, and `=r` assigns read permission while removing other permissions.

Correct answer: chmod ugo = r letter
  • A. Bob Young
  • B. Mark Eving
  • C. Richard Stallman
  • D. Linus Torvalds

Explanation: Linus Torvalds created the Linux kernel, which became the core of the Linux operating system.

Correct answer: Linus Torvalds
  • A. ls | ws - c
  • B. ls | wc - w
  • C. ls | wc - l
  • D. ls | wc

Explanation: `ls` produces one directory entry per line in its normal output, and `wc -l` counts those lines.

Correct answer: ls | wc - l
  • A. 16
  • B. 4
  • C. 2
  • D. 1

Explanation: Under the traditional MBR partitioning scheme, a disk can contain only one extended partition, which serves as a container for logical…

Correct answer: 1
  • A. GNU's not Unix
  • B. Greek Needed Unix
  • C. General Unix
  • D. General Noble Unix

Explanation: GNU is a recursive acronym meaning “GNU's Not Unix.” It refers to the Unix-compatible free-software project, not to “General Unix” or the…

Correct answer: GNU's not Unix
  • A. wc - r
  • B. wc - w
  • C. wc - c
  • D. wc - 1

Explanation: The `wc -c` option counts the number of bytes in a file and is traditionally described in basic Unix questions as counting characters.

Correct answer: wc - c
  • A. 83
  • B. 82
  • C. 5
  • D. 4

Explanation: Partition type 82 is the Linux swap partition ID used by `fdisk`. Type 83 denotes a normal Linux filesystem, while type 5 denotes an…

Correct answer: 82
  • A. rpm -q
  • B. rpm -a
  • C. rpm -d
  • D. rpm -1

Explanation: The RPM query option is `-q`, used to query whether a package is installed and retrieve package information.

Correct answer: rpm -q
  • A. ypwhich
  • B. ypbind
  • C. ypcat
  • D. yppoll

Explanation: `ypbind` binds an NIS client to an NIS server and maintains the domain-to-server information needed for NIS requests.

Correct answer: ypbind
  • A. *
  • B. ?
  • C. [!ijk]
  • D. [ijk]

Explanation: The `*` shell wildcard matches any sequence of characters, including an empty sequence.

Correct answer: *
  • A. SPARC
  • B. IBM-compatible
  • C. Alpha
  • D. Macintosh

Explanation: The listed Red Hat architecture choices traditionally included IBM-compatible x86, Alpha, and SPARC systems, whereas Macintosh was not…

Correct answer: Macintosh
  • A. ^pat
  • B. $pat
  • C. pat$
  • D. pat^

Explanation: In a grep regular expression, `$` anchors a pattern to the end of a line, so `pat$` matches lines ending with `pat`.

Correct answer: pat$
  • A. consists of a program and relevant information for its relocation
  • B. can itself perform the relocation of its address-sensitive portions
  • C. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
  • D. All of the above

Explanation: A relocatable program includes the program code together with information that allows address-sensitive parts to be adjusted when it is…

Correct answer: consists of a program and relevant information for its relocation
  • A. Top-down development
  • B. Bottom-up development
  • C. Left-Right development
  • D. All of the above

Explanation: Top-down development starts with the system's main control modules and progressively refines or replaces lower-level details.

Correct answer: Top-down development
  • A. Syntax analysis
  • B. Code generation
  • C. Storage assignment
  • D. Assembly and output

Explanation: Assembly and output resolves symbolic labels into actual addresses and produces machine-language output.

Correct answer: Assembly and output