MCQ Single Best Answer Easy

QIn programming, what is the term for a named block of code that performs a specific task or operation?

ID: #19964 Computer programming 104 views
Question Info
#19964Q ID
EasyDifficulty
Computer programmingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Function
  • B Variable
  • C Object
  • D Loop
Correct Answer: Option A

Explanation

A function in programming is a named block of code that performs a specific task or operation. Functions are designed to be reusable and modular, enhancing code organization.

Share This Question

Challenge a friend or share with your study group.