Answer:
1. multiplying two numbers when you meant to add them - Logical Error
2. dividing by zero - Compile time error
3. semi colon at the end of a programming statement - Logical error
4. wrong in output - Run time error
5. when you should have typed a - Compile time error
6. producing inaccurate results - Logical error or Run time error
Explanation:
Compile time error is a lack in computer programming which causes to violate the rules which are defined by user in the program.
Run time error produces wrong outputs. It causes lags in the softwares which makes the output inefficient. It even causes programs crash when the output is just seconds away.
Logical error is the situation where programs completes the task assigned but with the wrong syntax. The output is produced with some abnormality.
Answer:
(a) scope: function, lifetime: duration of the function
(b) scope: function, lifetime: duration of the program
(c) scope: global (all modules), lifetime: duration of the program
(d) scope: module (file), lifetime: duration of the program
Answer:
An application programming interface (API) is the code the CPU recognizes to perform a procedure in an application.
Explanation:
An application programming interface (API) is the code the CPU recognizes to perform a procedure in an application. API allows an application to communicate with another application, or an operating system, database, network, etc.
An Application Programming Interface (API) creates a consideration for a problem and specifies how clients should interact with software components that implement a solution to that problem.
More recently, API has been used to refer to a specific type of interface between a client and a server, which has been described as a “contract” between both - such that if the client makes a request in a specific format, it will always get a response in a specific format or initiate a defined action.This is a specialized form of API, defined as a Web API.
"Scott Cawthon" did that.........