Free CompTIA ITF+ FC0-U61 Practice Question

Alice is working on a website that calculates the total cost of products selected by a user. She notices that she is repeatedly writing the same code to calculate the sum of prices. To make her code more efficient, she decides to group this repeated code in one place so that she can call it whenever she needs to perform the calculation. What is the programming concept Alice is utilizing to improve her code?

  • Variables

  • Arrays

  • Objects

  • Functions

This question's topic:
CompTIA ITF+ FC0-U61 / 
Software Development Concepts
Your Score:

Check or uncheck an objective to set which questions you will receive.