Question 10553 – Programming
February 13, 2024Question 9944 – Programming
February 13, 2024Question 9907 – Programming
Given the programming constructs (i) assignment (ii) for loops where the loop parameter cannot be changed within the loop (iii) if-then-else (iv) forward go to (v) arbitrary go to (vi) non-recursive procedure call (vii) recursive procedure/function call (viii) repeat loop, which constructs will you not include in a programming language such that it should be possible to program the terminates (i.e., halting) function in the same programming language.
Correct Answer: B
Question 18 Explanation:
Arbitrary goto, recursive call and repeat loop may enter infinite loop and the program might never terminate.
(ii), (iii), (iv)
(v), (vii), (viii)
(vi), (vii), (viii)
(iii), (vii), (viii)
Subscribe
Login
0 Comments