1. Home
  2. questions

Filters

Found 2 Questions

Set Default
Subjects
Topics

List of practice Questions

Consider the following definition of a lexical token id for an identifier in a programming language, using extended regular expressions: \[ \text{letter} \;\;\rightarrow\;\; [A\!-\!Za\!-\!z] \] \[ \text{digit} \;\;\rightarrow\;\; [0\!-\!9] \] \[ \text{id} \;\;\rightarrow\;\; \text{letter (letter | digit)}^* \] Which one of the following Non-deterministic Finite-state Automata with $\epsilon$-transitions accepts the set of valid identifiers? (A double-circle denotes a final state). 

  • GATE CS - 2023
  • GATE CS
  • Computer Science and IT Engineering
  • Compiler Design

Consider the control flow graph shown. Which one of the following choices correctly lists the set of live variables at the exit point of each basic block? 

  • GATE CS - 2023
  • GATE CS
  • Computer Science and IT Engineering
  • Compiler Design
contact us
terms & conditions
Privacy & Policy
© 2026 Patronum Web Private Limited