Which two programming components are defined as blocks of code that perform tasks when executed? (Choose two.)

IT Exam Items RepositoryCategory: DevNetWhich two programming components are defined as blocks of code that perform tasks when executed? (Choose two.)

Which two programming components are defined as blocks of code that perform tasks when executed? (Choose two.)

  • functions
  • methods
  • parameters
  • objects
  • arguments

Explanation: Methods and functions are both blocks of code that perform tasks when executed. Functions are stand alone code blocks whereas methods are code blocks associated with an object.

Related exam: 3.7.2 Module 3: Software Development and Design Quiz