Challenger App

No.1 PSC Learning App

1M+ Downloads
In programming, what is the purpose of a loop?

ATo execute a block of code multiple times

BTo terminate the program

CTo define a function or sub program

DTo handle exceptions

Answer:

A. To execute a block of code multiple times

Read Explanation:

loop in programming is a fundamental control structure that repeats a block of code until a specific condition is met. Loops are essential for saving time, reducing errors, and organizing code.


Related Questions:

Which of the following is used as a language for designing web pages ?
The symbols used in an assembly language are :
ഉയർന്ന തലത്തിലുള്ള ഭാഷകളിൽ എഴുതിയ പ്രോഗ്രാമുകൾ യന്ത്രഭാഷകളിലേക്ക് മാറ്റുന്നതിന് -------- ഉപയോഗിക്കുന്നു.
The 'C' Programming language was designed by ____ as a system programming language for UNIX.
Which is not a Unicode encoding form?