1.3.1 - system Application Software.
1: How many basic categories of software are there?
Correct Answer: B) Two
2: Which of the following is NOT a type of system software?
Correct Answer: C) Word Processor
3: What is the primary role of system software?
Correct Answer: B) To facilitate easy operation and interaction between the hardware and the user
4: Which of the following is an example of system software?
Correct Answer: B) Linux
5: What is the most basic type of system software?
Correct Answer: D) Operating System
6: Which of the following is NOT a function of an operating system?
Correct Answer: C) Word processing
7: What software translates high-level programming languages into machine code?
Correct Answer: C) Programming Language Translators
8: What is the role of device drivers in a computer system?
Correct Answer: A) To manage and troubleshoot hardware
9: Which of the following is NOT a feature of system software?
Correct Answer: C) Easy to manipulate
10: What is firmware typically used for?
Correct Answer: B) To control the operation of a device at a basic level
11: Which type of software is designed for end-users to perform specific tasks?
Correct Answer: C) Application Software
12: Which of the following is an example of application software?
Correct Answer: B) Chrome Web Browser
13: What is the primary purpose of spreadsheet software?
Correct Answer: B) Data storage and complex calculations
14: Which software type is used for creating and delivering presentations?
Correct Answer: C) Presentation Software
15: What kind of software is Photoshop considered to be?
Correct Answer: C) Graphics Software
16: Which of the following is NOT a characteristic of application software?
Correct Answer: C) System troubleshooting
17: Which type of software is free to use but restricts the ability to modify the source code?
Correct Answer: B) Freeware
18: What is the key difference between open-source and closed-source software?
Correct Answer: B) Open-source software allows source code modifications, while closed-source software does not
19: What is the main purpose of customer relationship management (CRM) software?
Correct Answer: B) To manage interactions with current and potential customers
20: Which of the following is an example of a database management system (DBMS)?
Correct Answer: B) Microsoft Access
1.3.2 - Compilers and Interpreters.
21: What is the primary function of a compiler?
Correct Answer: B) To translate source code into machine code or another programming language
22: In which language is the source code typically written for a compiler to translate?
Correct Answer: C) High-level language
23: What is the difference between a compiler and an interpreter?
Correct Answer: B) A compiler translates the entire code at once and identifies all errors
24: What type of compiler operates on platform A and produces executable code for platform B?
Correct Answer: B) Cross-compiler
25: Which compiler converts source code from one programming language to another?
Correct Answer: A) Source-to-source compiler
26: What is the extension used for C source files?
Correct Answer: C) .c
27: Which command is used to compile C source files?
Correct Answer: A) gcc
28: What is the output file generated after the assembly stage in the C compilation process?
Correct Answer: D) main.o
29: At which stage of the C compilation process are comments removed and macros expanded?
Correct Answer: B) Pre-processing
30: What is the final stage of the C compilation process where function calls are linked to their definitions?
Correct Answer: D) Linking
31: Which compiler system is invoked by the 'cc' command in C compilation?
Correct Answer: A) GNU Compiler Collection
32: Which phase in the C compilation process produces the intermediate file 'main.s'?
Correct Answer: B) Compilation
33: What does the assembler generate in the C compilation process?
Correct Answer: B) Object code
34: Which command is used to compile the source file 'main.c' in C?
Correct Answer: D) gcc main.c
35: What type of file is 'a.out' in the C compilation process?
Correct Answer: C) Executable file
36: Which C compiler is known for its fast speed and small size, suitable for slow computers?
Correct Answer: B) Tiny C Compiler (TCC)
37: Which C compiler was first introduced in 1987 and is known for its small size and speed?
Correct Answer: A) Borland Turbo C
38: Which compiler is considered one of the best due to its durability, optimization, and error-checking capabilities?
Correct Answer: B) GNU Compiler Collection (GCC)
39: Which type of parser did GCC use in its early stages?
Correct Answer: B) LALR parser
40: Which programming languages does Clang support besides C?
Correct Answer: B) Objective-C and Objective-C++
41: What is the main difference between a compiler and an interpreter?
Correct Answer: C) A compiler validates the entire source code before execution
42: Which type of interpreter executes intermediate code step by step?
Correct Answer: B) Bytecode interpreter
43: Which type of interpreter uses a syntax tree to direct execution?
Correct Answer: C) Syntax-directed interpreter
1.3.3 - Assembler, Linker and Loader.
44: What is the primary function of an assembler?
Correct Answer: C) To convert assembly language into machine code
45: What does an assembler use to represent CPU operations?
Correct Answer: B) Mnemonics and symbolic names
46: What is the result of the assembly process?
Correct Answer: D) Machine code
47: Which component is directly responsible for translating assembly language instructions into machine code?
Correct Answer: C) Assembler
48: How does assembly language relate to machine code?
Correct Answer: A) Assembly language has a one-to-one mapping to machine code instructions
49: What is the main role of a linker in the compilation process?
Correct Answer: B) To merge multiple object files into a single executable program
50: What does the linker do during static linking?
Correct Answer: B) It combines object files and libraries into a single executable file
51: Which of the following is handled by the linker?
Correct Answer: A) Address binding
52: What is a key task performed by a loader?
Correct Answer: B) Loading an executable file into the computer's memory
53: Which file formats must loaders understand to perform their function?
Correct Answer: C) Executable file formats
54: What is the purpose of address binding performed by loaders?
Correct Answer: B) To assign actual memory addresses to program variables and functions
55: How does dynamic linking differ from static linking?
Correct Answer: B) Dynamic linking resolves references to libraries at runtime
56: What role does a symbol table play in the linking process?
Correct Answer: B) It maps symbol names to their memory addresses
57: What does the relocation process involve?
Correct Answer: A) Adjusting addresses in object files to reflect final memory locations
58: Which task is performed by a loader during program initialization?
Correct Answer: B) Configuring the program's stack and initializing global variables
59: What are linker scripts used for?
Correct Answer: A) Organizing sections in the executable file
60: Which type of loader handles loading and relocating programs dynamically?
Correct Answer: C) Dynamic loader
61: What kind of error-checking mechanisms do loaders typically include?
Correct Answer: B) File format validation and address conflict resolution
62: What does the term 'platform-specific' mean in the context of assembly language?
Correct Answer: B) Assembly language is specific to a particular computer architecture or microprocessor
63: Which of the following is a primary function of a loader?
Correct Answer: C) Loading an executable file into memory for execution