Free Online Directory Category: Computer Science MCQs - Page 4 - MCQs Answers

Dynamic Linking and Loading MCQs

30 min Score: 0 Attempted: 0/30 Subscribe 1. What is dynamic linking? (A) Linking libraries at runtime (B) Linking libraries at compile time (C) Copying source code into the main program (D) Ignoring library calls 2. Which of the following is an advantage of dynamic linking? (A) Eliminates all runtime errors (B) Increases compile time … Read more

Memory Management Techniques (Static, Stack, and Heap) MCQs

30 min Score: 0 Attempted: 0/30 Subscribe 1. Which memory allocation occurs at compile time? (A) Static allocation (B) Stack allocation (C) Heap allocation (D) Dynamic allocation 2. Which memory region stores local variables of a function? (A) Static memory (B) Heap (C) Stack (D) Register 3. Which memory allocation allows variable size at runtime? … Read more

Runtime Environments MCQs

30 min Score: 0 Attempted: 0/30 Subscribe 1. What is a runtime environment in the context of programming languages? (A) The memory allocated for global variables (B) The compiler’s internal data structures (C) The environment in which a program executes, including memory, stack, heap, and I/O handling (D) A code editor 2. Which component is … Read more

Error Types in Compilation (Lexical, Syntax, Semantic) MCQs

30 min Score: 0 Attempted: 0/30 Subscribe 1. What is a lexical error? (A) An invalid or unrecognized token during scanning (B) An error in program logic (C) A type mismatch in an expression (D) Missing semicolon 2. Which compiler phase primarily detects lexical errors? (A) Syntax analysis (B) Code generation (C) Semantic analysis (D) … Read more

Error Handling MCQs

30 min Score: 0 Attempted: 0/30 Subscribe 1. What is the main goal of error handling in compilers? (A) To detect, report, and recover from errors gracefully (B) To ignore errors (C) To slow down compilation (D) To optimize code 2. Which type of errors can a compiler detect? (A) Runtime errors only (B) Lexical, … Read more

All copyrights Reserved by MCQsAnswers.com - Powered By T4Tutorials