wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Number of temporary variable required to create 3 address code in static single assignment form for the expression:
P+Q RS/(QR)

A
6
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
4
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 4
P+Q RS/(QR)
T1=QR
T2=P+T1
T3=S/T1
T4=T2T3
So, total 8 variables [P,Q,R,S,T1,T2,T3,T4].

Here, 4 temporary variables.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to Number Systems
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon