Question: Exercise 1: (i) Describe the following three programming constructs with a suitable problem statement for each. You must write the code as well. Not required

Exercise 1: (i) Describe the following three programming constructs with a suitable problem statement for each. You must write the code as well. Not required to code in Java and paste it, you can type it sing MS- Word (a) Sequence (b) Selection (c) lteration/Repetition (30 points) (ii) Describe the Relational operators you are familiar with and their usage as well. (ii) Describe the three logical operators and explain their usage (iv) Describe the difference between a local variable and a global variable. (v) Describe one difference between the While loop and the do while loop. (10 points) (10 points) (5 points) (5 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
