Question: 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

DESIGN AND IMPLEMENTATION OF PROGRAMMING LANGUAGES Question 5: Consider the following two

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!