Which programming language elements perform similar tasks?

IT Exam Items Repository › Category: Ethical Hacker › Which programming language elements perform similar tasks?

Which programming language elements perform similar tasks?

  • Procedures and functions
  • Procedures and libraries
  • Libraries and classes
  • Functions and libraries

Explanation: A procedure is a section of code that is created to perform a specific task. It can be used several times throughout a program. A function is a block of code useful when executing similar jobs repeatedly. Procedures and functions are very similar. In some programming languages, functions and procedures are practically the same thing.

Related exam: 10.3.3 Quiz - Tools and Code Analysis Answers