Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5: Consider the following two suggested implementations: (1) and (2) (1) - LO: code for condition (2) - Lo: code for body Jump false

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions