logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1553539 total)

Using this knowledge, what is the value of fibonacci(6)? And how many subcalls does it make? Do not include the initial call to the function (the top of the tree)

Separate your answers with a comma. For example, if the value was 10, and it makes 7 subcalls, write 10,7.

If you are stuck, the answer is on the next page

Переглянути це питання

Using this knowledge, what is the value of factorial(10)? And how many subcalls does it make? Do not include the initial call to the function (the top of the tree)

Separate your answers with a comma. For example, if the value was 10, and it makes 7 subcalls, write 10,7.

Переглянути це питання

In class we learned that an abstract class __________ (Select all that apply)

0%
0%
0%
0%
0%
0%
0%
Переглянути це питання
A method must be (not optional) implemented in a subclass. This mean that the method was declared ___________________ in the superclass.
0%
0%
0%
0%
Переглянути це питання

Static Casting can be used to convert between:

100%
100%
100%
Переглянути це питання
In C++, an interface is a class with all of its methods declared as abstract.
100%
0%
Переглянути це питання

Which of class A methods MUST be implemented in class B?

0%
100%
0%
0%
Переглянути це питання

Static casting is resolved at runtime, while dynamic casting is resolved at compile time. Is this statement true or false?

0%
100%
Переглянути це питання

A class inheriting from _____ is an example of multiple inheritance.

0%
0%
0%
0%
Переглянути це питання

What is a primary reason for using a private method instead of a public method?

0%
0%
0%
Переглянути це питання