Application Programming Interface (API): Definition & Example


Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

Which keyword is typically used to download an API into your code?

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. Which system/language supports APIs?

2. The following code is not working: The line that reads File myFile.... is generating an error. What is the most likely solution?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

To pass this quiz on API basics, you'll need to be familiar with APIs used when writing an application for a desktop. You can take this quiz multiple times.

Quiz & Worksheet Goals

You'll be tested on the following topics:

  • Keyword used to download an API into your code
  • Systems/languages that support APIs
  • Reason a code isn't working when the 'File myFile' line generates an error
  • Valid reason for using an API
  • APIs used when writing an application for a desktop

Skills Practiced

  • Knowledge application - use your knowledge to answer questions about API basics
  • Information recall - access the knowledge you've gained regarding systems/languages that support APIs
  • Critical thinking - apply relevant concepts to examine information about a valid reason for using an API in a different light

Additional Learning

Further your understanding of this topic with a related lesson titled Application Programming Interface (API): Definition & Example. Here are some of the topics you'll find in this lesson:

  • APIs for desktop computers and mobile devices
  • How developers of iPhone apps use APIs
  • Examples of APIs