11) The term STL stands for ?
a. Simple Template Library
b. Static Template Library
c. Single Type Based Library
d. Standard Template Library
12) Which of the following is not a feature of C++ ?
a. Operator overloading
b. Namespaces
c. Inheritance
d. Reflection
13) Which of the following laws deals with finding the solution of a problem
with maximum size along with limited requirement of memory?
a) Amdahl’s law
b) Gustafson’s law
c) Sun and Ni’s law
d) None of the above
14) A __________ is established when the value of one attribute is dependent
on the value of another attribute.
A )primary key
B )data anomaly
C )dependency
D )transitive relationship
15) which of the following is not an Evolutionary Algorithm
a) genetic algorithm
b) evolutionary programming
c) learning classifier system
d) black board architecture
16) Which of the following law used the notion of constant execution time?
a) Amdahl’s law
b) Gustafson’s law
c) Sun and Ni’s law
d) None of the above
Amdahl's law is used to find the maximum expected improvement to an overall system when only part of the system is improved. Amdahl's law is also used in parallel computing to predict the theoretical maximum speedup using multiple processors.
17) The weakest form of cohesion is
a.coincidental
b.functional
c.logical
d.communicational
18) In parallel processing a program has 30% of code can be
process parallel and system has 3 processors what is the speed up:Use Amdahl's Law
a. 1.24
b. 1.44
c. 1.64
d. None of the above
N=3
P=30%=30/100=0.3
Speedup(n) = 1 / ((p/n)+(1-p))
=1 /(0.3/3 + (1-0.3))
=1/(0.1+0.7)
=1/0.8
=1.25
No comments:
Post a Comment