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

Tools for Syntax Analysis (e.g., YACC, Bison) MCQs

15 min Score: 0 Attempted: 0/15 Subscribe 1. What does YACC stand for? (A) Yet Another Compiler Compiler (B) Yet Another Context-free Compiler (C) Your Automated Compiler Compiler (D) Your Advanced Compiler Creation 2. Which of the following tools is used for generating parsers based on context-free grammars? (A) YACC (B) Lex (C) GCC (D) … Read more

Parsing Techniques: Top-down and Bottom-up Parsing MCQs

15 min Score: 0 Attempted: 0/15 Subscribe 1. What is the main difference between top-down parsing and bottom-up parsing? (A) Top-down parsing starts from the start symbol, while bottom-up parsing starts from the input string. (B) Bottom-up parsing is faster than top-down parsing. (C) Top-down parsing processes the entire string before deriving rules. (D) Bottom-up … Read more

Syntax Analysis MCQs

10 min Score: 0 Attempted: 0/10 Subscribe 1. What is Syntax Analysis? (A) The process of checking the meanings of a program (B) The process of verifying the correctness of a program’s syntax (C) The process of optimizing a program’s code (D) The process of executing a program 2. Which of the following is NOT … Read more

Regular Expressions and Finite Automata MCQs

10 min Score: 0 Attempted: 0/10 Subscribe 1. Which of the following is true about regular expressions? (A) Regular expressions define a sequence of tokens (B) Regular expressions can only match numeric values (C) Regular expressions are used for syntax analysis (D) Regular expressions are used to describe patterns in strings 2. What is the … Read more

Role of the Lexical Analyzer MCQs

10 min Score: 0 Attempted: 0/10 Subscribe 1. What is the primary function of the lexical analyzer in the compilation process? (A) Divide the source code into meaningful tokens (B) Translate the source code into intermediate code (C) Convert high-level code to machine code (D) Perform error checking and recovery 2. Which of the following … Read more

Lexical Analysis MCQs

10 min Score: 0 Attempted: 0/10 Subscribe 1. What is the main function of the lexical analyzer? (A) Check the syntax of the program (B) Break the input source code into tokens (C) Convert high-level code into machine code (D) Optimize the code 2. Which of the following represents a sequence of characters that matches … Read more

All copyrights Reserved by MCQsAnswers.com - Powered By T4Tutorials