Answer:
Pseudo CODE
a)
n= Input “Enter 5 integer value”
b)
sum=0.0
For loop with i ranging from 0 - 5
Inside loop sum=n[i]+sum
Outside loop avg= sum/5
Print avg
c)
small=n[0] # assume the first number in the list is smallest
large= n[0] # assume the first number in the list is largest
For loop with i ranging from 0 - 5
Inside loop if n[i]<small #if any another number is smaller than small(variable)
Inside if Then small=n[i]
Inside loop if n[i]>large # if any another number is larger than large(variable)
Inside if then large=n[i]
Print small
Print large
d)
print avg
print small
print large
Answer:
Margin of Error=M.E= ± 0.0113
Explanation:
Margin of Error= M.E= ?
Probability that watched network news programs = p = 0.4
α= 95%
Margin of Error =M.E= zₐ/₂√p(1-p)/n
Margin of Error=M.E= ±1.96 √0.4(1-0.4)/7200
Margin of Error=M. E = ±1.96√0.24/7200
Margin of Error=M. E- ±1.96* 0.005773
Margin of Error=M.E= ±0.0113
The Margin of Error is the estimate of how much error is possible as a result of random sampling.
Step by step explanation:
Statement to be written in cell B10 :
IF ( B9 >= 350000
, 35000, 1000)
Formula:
IF ( logical_test , [value_if_true] , [value_if_false] )
logical_test = Net Profit After Tax (cell B9)
value_if_true = 35000
(if the Net Profit After Tax (cell B9) is greater than or equal to 350000)
value_if_false = 1000
(if the Net Profit After Tax (cell B9) is lesser than 350000)
Answer:
The answer is "Option A and Option C".
Explanation:
In choice a, it is true since a client-server design can be used for REST-application. A user is somebody who needs space and it doesn't deal with storing data on a central computer. A client is someone with the money, and the interface does not. Its server doesn't want to worry regarding core functionality on the ends of the server. The server does not have to know anything at all about the layer of UI used at the end of the server.
In choice c, it is true As just a Web app, services like corporate/employee resources must be organized, and HTTP verbs like the GET, Place, POST, DELETE must be used to modify these. It must be obvious, as a programmer, that what is required is clearly to look only at the interface or HTTP method used.