- What is an API?
API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. An API is the messenger that delivers your request to the provider that youāre requesting it from and then delivers the response back to you. Each time you use an app like Facebook, send an instant message, or check the weather on your phone, youāre using an API.
2. In the article the author compares Java API to Twitter API. What is the main difference between these two APIs?
An API enables computers to possess a common interface, to allow them to communicate with each other. Javaās API is included in Javaās development kit (JDK). It includes classes, interfaces, packages and also their methods, fields, and constructors.The Twitter API is a web-based API that allows developers to programmatically interact with Twitter data. Unlike the Java API, must be accessed by making requests over the Internet to services that Twitter hosts, as an HTTP request, just like a web browser does. But instead of the response being delivered as a webpage, for human understanding, itās returned in a format that applications can easily parse.Twitter uses a popular and easy-to-use format called JSON.
3.The section in the article about abstraction is important, try to understand it and write down an abstraction from your daily life.
Abstraction means displaying only essential information and hiding the details. An example that epitomizes the concept of abstraction is the US fighter aircraft F117A
As early as 1964 physicists demonstrated that the strength of the radar return from an object is related to its edge configuration - not its size. The obvious and logical conclusion was that even a large aircraft could reduce its radar signature by exploiting this principle. However, the resulting design would make the aircraft aerodynamically unstable, and the state of computer technology in the early 1960s could not provide the kinds of flight computers which allow aircraft to stay airborne.
By the 1970s, when Lockheed analyst discovered this research, computers and software had advanced significantly, and the stage was set for the development of a stealth airplane.
The F117A used a quadruple redundant fly-by-wire flight control system, run by three International Business Machines (IBM) mission computers, derived from those used on the Space Shuttle, in order to drive the complete avionics suite. This massive amount of technolgical complexity was all abstracted away from the pilot who could simply steer this large aerodynamically unstable rock like structure with a simple joystick!