Question: Question 5: Consider the following two suggested implementations: (1) and (2) (1) - LO: code for condition (2) - Lo: code for body Jump false
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. ITCOM Question 6: Inheritance enables passing information from one data object to another without restrictions. a) True. b) False. Question 7: Consider Procedure N2(C: real): Var D, B: real; begin N2; statement 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
Lets go through each question Question 5 Implementation 1 L0 code for condition Jump false L1 code f... View full answer
Get step-by-step solutions from verified subject matter experts
