Set - 6

Question 16 :

What is the main advantage of developing an application using an API ?

Answer :

The application can be connected to any back end server that is supported by the API.


Question 17 :

What is the main disadvantage of developing an application using an API ?

Answer :

The application cannot use any special features of the backend server.


Question 18 :

Why is an event driven program referred to a passive program ?

Answer :

Because an event driven program is always waiting for something to happen before processing.


Question 19 :

What are the four types of events ?

Answer :

1. System Events.
2. Control Events
3. User Events
4. Other Events.


Question 20 :

What is the difference between file server and a database server ?

Answer :

A file server just transfers all the data requested by all its client and the client processes the data while a database server runs the query and sends only the query output.