Back to the 2022 paper
Similar questions
Compiler DesignThree-address code involves (i) Exactly 3 address (ii) At most 3 addresses (iii) No unary operator (iv) None20232m Compiler DesignA three-address code uses (i) One operand (ii) Two operands (iii) Three operands (iv) No operands20252m Compiler DesignFind the three-address codes of the following program. There are four bytes per word: ``c Sum = 0; for (i = 1; i<=20; i++) Sum = Sum + a[i] + b[i]; ``20227mCOMPUTER ORGANIZATION & ARCHITECTUREExplain one-, two- and three-address instruction with suitable examples.20197m
PreviousChoose the correct answer of the following: A compiler for a high-level language that runs on one machine and produce code for different machines is called (i) optimizing compiler (ii) one-pass compiler (iii) cross-compiler (iv) multipass compilerNextChoose the correct answer of the following: What is the similarity between LR, LALR and SLR? (i) Use of same algorithm, but different parsing table (ii) Same parsing table, but different algorithm (iii) Their parsing tables and algorithms are similar but use top-down approach (iv) Both parsing tables and algorithms are different.