Answer:
Prototype is a framework that provides a simple API for performing web tasks.
Explanation:
Prototype is a JavaScript framework that aims to ease up the development of dynamic web applications. It basically take out the complexity out of the client-side programming.
Following are some salient features of Prototype:
1) Applies useful methods to extend DOM elements and built-in types.
2) Provides advance support for Event Management.
3) Provides powerful Ajax feature.
4) Built-in support for class-style OOP.
5) Not a complete application development framework
Enclosed in number signs ######
Answer:
G=(A^3 + B) * 4-c^2
To calculate G if A=3, b=4 and C=5
cobegin
p1: A^3 = 27
P2:C^2 =25
P3: p1 +B =31
P4:P3*4 =124
P5:P4-P2 =99
coend
Explanation:
One operation is performed at a time, and on the basis of priority as we have only one processor.
Answer:
Two systems are connected by a router. Both systems and the router have transmission rates of 1,000bps. Each link has a propagation delay of 10ms. Also, it takes router 2ms in order to process the packet (e.g. decide where to forward it). Suppose the first system wants to send a 10,000 bit packet to the second system. How long will it take before receiver system receives the entire packet.
Transmission time for first Router = 10,000 bits / 1000 bps = 10 seconds
Receiving time for seond route r= 10,000 bits / 1000 bps = 10 seconds
Propagation delay = 10ms = .01 seconds x 2 for two delays = .02 seconds
First router 2ms to process = .002 seconds
Add all the times together and we get 20.022 seconds which is the same as or 20 seconds and 22 ms