App Logo

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:

ASCII stands for :

താഴെ പറയുന്ന പ്രസ്താവനകൾ ഏത് പ്രോഗ്രാമിങ് ലാംഗ്വേജിനെപ്പറ്റിയാണ് എന്ന് തിരിച്ചറിയുക ?

  1. 1957 ൽ ജോൺ ബർക്കസ് എന്ന അമേരിക്കൻ കമ്പ്യൂട്ടർ ശാസ്ത്രജ്ഞൻ വികസിപ്പിച്ചു 
  2. ആദ്യത്തെ ഹൈലെവൽ പ്രോഗ്രാമിങ് ഭാഷയാണ് ഇത് 
  3. പുതിയ കമ്പ്യൂട്ടർ പ്രോസസറുകളുടെ പ്രവർത്തനമികവ് കണക്കാക്കുന്നതിനുള്ള പ്രോഗ്രാമുകൾ എഴുതാൻ ഉപയോഗിക്കുന്നു 
What does SQL refer to ?
Which is not a property of attribute behaviour of tag?
The system program that sets up an executable program in main memory for execution is: