KnowledgeBoat Logo
|

Computer Applications

A physical education teacher asks the students to do the side stretch as shown below, 10 times. Which programming construct the teacher uses?

A physical education teacher asks the students to do the side stretch as shown below, 10 times. Which programming construct the teacher uses? ICSE 2025 Computer Applications Solved Question Paper.
  1. if
  2. switch
  3. for
  4. if else if

Java Iterative Stmts

2 Likes

Answer

for

Reason — The teacher asks the students to do the side stretch 10 times, which means repeating the same action multiple times. In programming, the for loop is used to repeat a block of code a specific number of times. Hence, the teacher is using the concept similar to a for loop to instruct repetition.

Answered By

1 Like


Related Questions