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:

താഴെ പറയുന്ന പ്രസ്താവനകളിൽ ജാവയുമായി ബന്ധപ്പെട്ട് ശരിയായത് ഏതാണ് ?

  1. സൺ മൈക്രോസിസ്റ്റത്തിന് വേണ്ടി ജെയിംസ് ഗോസ്‌ലിംഗ് വികസിപ്പിച്ചെടുത്തു 
  2. ജാവ ഇപ്പോൾ ഒറാക്കിൽ കമ്പനിയുടെ നിയന്ത്രണത്തിലാണ് 
  3. ജാവ പ്രോഗ്രാം ആദ്യമായി അവതരിപ്പിച്ചത് 1985 ൽ ആയിരുന്നു 
  4. ജാവ പ്രോഗ്രാമിങ് ഭാഷയുടെ പരിഷ്കരിച്ച പതിപ്പാണ് - ജാവ സ്ക്രിപ്റ്റ് 
The visual effects that occur when you move from one slide to the next during a presentation is :
With the help of assembler the source programme converts into :
ജാവയുടെ ആദ്യത്തെ പേരെന്താണ് ?