GATE CS 2024 (Afternoon) — Question 43

Compiler DesignIntermediate Code Generation & Local Code OptimizationMCQ2 marks · −2/3 if wrongMedium

Consider the following expression: \( x[i] = (p + r)* - s[i] + u/w \). The following sequence shows the list of triples representing the given expression, with entries missing for triples (1), (3), and (6).
Question image
Which of the following options fill in the missing entries CORRECTLY?
  1. A
    (1) = [ ] s i, (3) *(0) (2), (6) [ ] = x i
  2. B
    (1) [ ] = s i, (3) - (0) (2), (6) = [ ] x (5)
  3. C
    (1) = [ ] s i, (3) *(0) (2), (6) [ ] = x (5)
  4. D
    (1) [ ] = s i, (3) - (0) (2), (6) = [ ] x i
Practise the full 2024-AN paper
Challenge a friend: WhatsApp Telegram
From RENYXERAPractise this subject in the exam simulatorTimed, GATE-style tests with analytics that find your weak topics.
Practise more on Intermediate Code Generation & Local Code OptimizationTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group