GATE CS 2023 | Question 60

Compiler Design › Basics & Lexical · NAT · 2 marks · Answer: 2.374 to 2.376

  1. Question 60Compiler Designnat2 marks
    For the SDT computing a signed binary value (N -> I # F), the value computed for input "10#011" (rounded to three decimals) is __________

    Answer: 2.374 to 2.376

    Solution

    Answer: 2.375 before # is the integer part "10" ; after # is the fraction ".011" . .

More GATE PYQ on Basics & Lexical

All GATE CS Compiler Design PYQ →

Attempt GATE CS 2023 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →