Answered step by step
Verified Expert Solution
Question
1 Approved Answer
DESIGN AND IMPLEMENTATION OF PROGRAMMING LANGUAGES Question 5: Consider the following two suggested implementations: (1) and (2) (1) - LO: code for condition (2) LO:
DESIGN AND IMPLEMENTATION OF PROGRAMMING LANGUAGES
Question 5: Consider the following two suggested implementations: (1) and (2) (1) - LO: code for condition (2) LO: code for body Jump false L1 code for condition code for Body Jump LO Jump LO L1: L1: a) implementation (1) is the correct one for while loop. b) implementation (2) is the correct one for repeat until. C) implementation (2) is the correct ono for repeat until, if Jump LO is replaced by Jump true LO. d) a and c. e) a and b. Te humanaman Question 6 : Inheritance enables passing information from one data object to another without restrictions. a) True. b) False. DED 0101010 102010101010 110101010 101 102 Question 7: Consider Procedure N21 C: real); Var D, B: real; begin N2; statement2 end N2; The run time representation of N2 will include: a) The static part of N2 that contains only the code respective to its body. b) The dynamic of N2 that contains: local variables; parameters; return address and link to non local variables. c) Only the static part of the of N2 that contains code respective to its body. d) The static part of N2 that contains: the code respective to its body; the constants and a code for allocation and deallocation of the dynamic part of N2. e) d and b
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started