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 14 of 87
- A. int
- B. char
- C. string
- D. double
Explanation: The main method receives command-line arguments as a String array, written as String[].
Correct answer: string- A. javacmd
- B. javaamd
- C. javap
- D. java
Explanation: javap is the Java class-file disassembler and can display bytecode, fields, methods, and signatures.
Correct answer: javap- A. java compiler
- B. java debugger
- C. java Interpreter
- D. java Disassemble
Explanation: The name javap refers to Java's disassembler tool, which examines compiled .class files and can show their bytecode structure.
Correct answer: java Disassemble- A. Deep cloning
- B. Shallow cloning
- C. Both of above
- D. None of above
Explanation: Deep cloning copies an object and recursively copies the objects referenced by its fields, so the clone has independent constituent parts.
Correct answer: Deep cloning- A. java Disassemble
- B. java Interpreter
- C. java compiler
- D. java debugger
Explanation: `jdb` is Java's command-line debugger, used to set breakpoints, inspect variables, and step through program execution.
Correct answer: java debugger- A. Byte code
- B. First code
- C. Mid code
- D. None of above
Explanation: Java source is compiled into bytecode, which is stored in `.class` files and executed by the Java Virtual Machine.
Correct answer: Byte code- A. Final class
- B. abstract class
- C. parent class
- D. None of above
Explanation: A class declared `final` cannot be extended, which prevents inheritance from that class.
Correct answer: Final class- A. moderate typed
- B. strogly typed
- C. weakly typed
- D. none of these
Explanation: Java is strongly typed because variables and expressions have defined types, and incompatible assignments generally require explicit…
Correct answer: strogly typed- A. None
- B. One
- C. Two
- D. Many
Explanation: A .NET DLL is an assembly that can contain multiple types, including many classes, interfaces, structures, and other metadata.
Correct answer: Many- A. Threading
- B. AppDomain
- C. RCW
- D. Serialization
Explanation: Serialization converts an object into a storable or transmissible representation, such as a byte stream, while deserialization…
Correct answer: Serialization- A. CORBA toolkit
- B. COM/DCOM toolkit
- C. ORE toolkit
- D. OLE DB toolkit
Explanation: GNOME historically used CORBA for communication between desktop components, commonly through the ORBit implementation.
Correct answer: CORBA toolkit- A. Layer 4 protocols
- B. Layer 5 protocols
- C. Layer 6 protocols
- D. Layer 7 protocols
Explanation: OSI Layer 7, the application layer, provides network services directly to user applications, including file transfer and network…
Correct answer: Layer 7 protocols- A. fdisk
- B. fsck
- C. dd
- D. rawrite
Explanation: The `dd` command copies data byte by byte between devices or image files, so it can write a boot image directly to a floppy.
Correct answer: dd- A. utilinux
- B. cempre
- C. switchdesk
- D. window
Explanation: `switchdesk` was a Red Hat Linux utility for selecting the default X Window desktop environment, such as KDE or GNOME.
Correct answer: switchdesk- A. path
- B. pwd
- C. prompt $p$g
- D. dir
Explanation: `pwd` means print working directory and displays the full path of the directory in which the shell is currently operating.
Correct answer: pwd- A. init 0
- B. Shutdown -t
- C. Shutdown -g -y0
- D. Ctrl+Alt+Del
Explanation: `init 0` changes the system to runlevel 0, which shuts the system down.
Correct answer: init 0- A. SMB (Samba) Connectivity
- B. IPX/NetWare Connectivity
- C. Dial-up Workstation
- D. All of the above
Explanation: SMB, provided by Samba on Linux, enables file and printer sharing with Windows clients.
Correct answer: SMB (Samba) Connectivity278. Which command is used to display all the lines with the string 'sales' from the file empl.lst ?
- A. cut sales empl.lst
- B. /sales > empl.lst
- C. grep sales empl.lst
- D. cat | /sales > empl.lst
Explanation: `grep sales empl.lst` searches `empl.lst` and prints every line containing the string `sales`.
Correct answer: grep sales empl.lst- A. /usr/local
- B. /usr/src/linux
- C. /usr/sre/redhat
- D. /usr/bin
Explanation: In traditional Linux layouts, kernel source and header files are placed under `/usr/src/linux`, which is the usual starting point for…
Correct answer: /usr/src/linux- A. fdisk
- B. mkfs
- C. fsck
- D. mount
Explanation: `mkfs` creates a file system on a disk partition or device. `fdisk` changes partition tables, `fsck` checks or repairs file systems, and…
Correct answer: mkfs