Give answer in one word:
a. Which technique in programming is used to reduce the number of instructions and also the memory space?
b. Which variable is used to assign the initial and final value?
c. Which variable is used with FOR … NEXT to increment/decrement the value by a desired number?
d. Name a variable that stores the sum of the numbers entered during the execution.
e. In FOR … NEXT Loop, which variable is assigned an initial and final value?
f. Which statement directs the program control back to the FOR statement?
g. What do we call the Statement in which one FOR … NEXT statement lies within another FOR … NEXT statement?
h. What is the maximum number of loops that can reside within a loop?
Application based problems:
a. The teacher has asked Priya to make a program and print the series 2, 5, 10 … 101. She wants that the program should run for 10 times. What logic will you suggest her to apply to get the desired output?
b. Ritu is making a program using FOR … NEXT statement. She wants to give increment to the counter by the value 5 but she is not able to apply the clause. Which clause will you suggest her to use with FOR … NEXT?
Answers
Answered by
15
1. use of loops
2.asignment(=) operator
3. increment operator(++)
4. sum
5. looping variable
6. next
7. nested loop
8. infinite
application
1. use of for next
2. i=i+5
2.asignment(=) operator
3. increment operator(++)
4. sum
5. looping variable
6. next
7. nested loop
8. infinite
application
1. use of for next
2. i=i+5
Answered by
9
ANSWER
.............
1. Which technique in programming is used to reduce the number of instructions and also the memory space?
➡️ ANSWER = USE OF LOOPS
2. Which variable is used to assign the initial and final value?
➡️ ANSWER = ASSIGNMENTS OPERATING
3. Which variable is used with FOR … NEXT to increment/decrement the value by a desired number?
➡️ ANSWER = INCREMENT ASSIGNMENTS
4. Name a variable that stores the sum of the numbers entered during the execution.
➡️ ANSWER = SUM
5. = LOOPING VARIABLE
6. = NEXT
7. NESTED LOOP
8. INFINITE
.........
APPLICATION.
.......
1. USE OF THE NEXT
2. I + P = 5
.............
1. Which technique in programming is used to reduce the number of instructions and also the memory space?
➡️ ANSWER = USE OF LOOPS
2. Which variable is used to assign the initial and final value?
➡️ ANSWER = ASSIGNMENTS OPERATING
3. Which variable is used with FOR … NEXT to increment/decrement the value by a desired number?
➡️ ANSWER = INCREMENT ASSIGNMENTS
4. Name a variable that stores the sum of the numbers entered during the execution.
➡️ ANSWER = SUM
5. = LOOPING VARIABLE
6. = NEXT
7. NESTED LOOP
8. INFINITE
.........
APPLICATION.
.......
1. USE OF THE NEXT
2. I + P = 5
Similar questions