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

  • A. /home
  • B. /proc
  • C. /var
  • D. /sbin

Explanation: `/sbin` traditionally contains essential system-administration commands and system configuration-related executables, usually intended for…

Correct answer: /sbin
  • A. chgrp
  • B. chown
  • C. chmod
  • D. chusr

Explanation: `chmod` changes file permissions for the owner, group, and other users, including read, write, and execute permissions.

Correct answer: chmod
  • A. copy wb ../misc collect ../misc mon ../misc
  • B. cp wb collect mon ../misc
  • C. copy wb collect mon /misc
  • D. tar wb collect mon /misc

Explanation: `cp wb collect mon ../misc` copies all three files to the `misc` directory one level above the current `programs` directory.

Correct answer: cp wb collect mon ../misc
  • A. wc - r
  • B. wc - w
  • C. wc - c
  • D. wc - l

Explanation: In `wc`, the `-l` option counts newline characters, which normally corresponds to the number of lines in a text file.

Correct answer: wc - l
  • A. chmod g+x note
  • B. chmod u+w note
  • C. chmod u+x note
  • D. chmod ugo+x note

Explanation: The `u` permission class means the file owner, and `+x` adds execute permission, so `chmod u+x note` targets exactly the owner.

Correct answer: chmod u+x note
  • A. I
  • B. i
  • C. a
  • D. A

Explanation: In vi command mode, uppercase `A` moves to the end of the current line and enters insert mode, appending text there.

Correct answer: A
  • A. r
  • B. R
  • C. s
  • D. S

Explanation: Uppercase `R` enters replace mode and replaces successive characters from the cursor toward the right until the mode is exited.

Correct answer: R
  • A. 16
  • B. 4
  • C. 2
  • D. 1

Explanation: Under the traditional MBR partition scheme, a drive can contain at most four primary partition entries.

Correct answer: 4
  • A. x
  • B. y
  • C. a
  • D. z

Explanation: In vi’s normal mode, x removes the character under the cursor, making it the single-character deletion command.

Correct answer: x
  • A. /usr/tmp
  • B. /etc/default
  • C. /etc/skel
  • D. /etc/users

Explanation: The /etc/skel directory contains template files copied into a new user’s home directory when the account is created.

Correct answer: /etc/skel
  • A. copy
  • B. cp
  • C. cpio
  • D. tar

Explanation: cp is the standard Unix command for copying files and directories. cpio and tar primarily create or extract archives, while copy is not…

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

Explanation: The ? shell wildcard matches exactly one character, whereas * matches zero or more characters.

Correct answer: ?
  • A. which
  • B. pwd
  • C. i /4
  • D. who am i

Explanation: who am i displays the effective username of the current session, often helping identify the logged-in account.

Correct answer: who am i
  • A. Open System Software
  • B. Original Source Software
  • C. Open Source Software
  • D. Original System Server

Explanation: OSS means Open Source Software, whose source code is available for inspection, modification, and redistribution under its licence.

Correct answer: Open Source Software
  • A. a program that places programs into memory and prepares them for execution
  • B. a program that automate the translation of assembly language into machine language
  • C. is a program that appears to execute a source program as if it were machine language
  • D. program that accepts a program written in a high level language and produces an object program

Explanation: An interpreter executes a source program by translating and performing its instructions during execution, giving the appearance that the…

Correct answer: is a program that appears to execute a source program as if it were machine language
  • A. compiler
  • B. translator
  • C. assembler
  • D. system software

Explanation: A compiler reads the complete high-level-language program and translates it into machine or object code.

Correct answer: compiler
  • A. a program that places programs into memory and prepares them for execution
  • B. a program that automate the translation of assembly language into machine language
  • C. is a program that appears to execute a source program as if it were machine language
  • D. program that accepts a program written in a high level language and produces an object program

Explanation: A compiler accepts a high-level-language source program and produces an object program that can later be linked and executed.

Correct answer: program that accepts a program written in a high level language and produces an object program
  • A. cross compiler
  • B. one pass compiler
  • C. multipass compiler
  • D. optimizing compiler

Explanation: A cross compiler runs on one computer system but generates executable code for a different target machine or platform.

Correct answer: cross compiler
  • A. F8
  • B. 03 16
  • C. 0111EF
  • D. 42 65 61 72

Explanation: The notation d#790 represents decimal 790, which is 0x0316 in hexadecimal, so the word is written as 03 16 in two-byte form.

Correct answer: 03 16
  • A. Linking
  • B. Loading
  • C. Allocation
  • D. Reallocation

Explanation: With absolute loading, the object code already contains its final memory addresses, so the loader mainly places it into memory.

Correct answer: Loading