1. True or False? In C++, a friend function of a class have access…
Question Answered step-by-step 1. True or False? In C++, a friend function of a class have access… 1. True or False?In C++, a friend function of a class have access to private members of that class. 2. Suppose that a particular algorithm has a time complexity, T(n) = 8 * n3/2 and a particular machine take t time for n inputs with this algorithm. If you are given a machine 216 times faster with the same algorithm. How many inputs could we process in the new machine in the same amount of time t?Group of answer choicesn + 6n + 36216nn + 21636n 3. In a class hierarchy, a subclass reimplements an instance method of a superclass to add more functionality with the same name. In object oriented programming, this phenomenon is known as:Group of answer choicesa. overridingb. encapsulationc. overloadingd. type castinge. inheritance4. Given the two functions, f(n)= 2n2 + 10 and g(n) = n, select the most suitable relationship between the two functions:Group of answer choicesf(n) is in o(g(n))f(n) is in O(n)f(n) is in O(g(n))f(n) is Θ(g(n))f(n) is in Ω(g(n)) Given the two growth functions, f(n) = n3/100 + 10n2 – 100 and g(n) = 10n2 where n > 1, what is the smallest value of n (n0) such that f(n) is in O(g(n))?Group of answer choices2010111001000 Computer Science Engineering & Technology C++ Programming COMPUTER I 302 Share QuestionEmailCopy link Comments (0)


