Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 1.Which of the following represents exponential time? A. O(2N) B. O(N2) C. O(2N) D. O(N9) E. None of these is correct. Question 2

Question 1

1.Which of the following represents "exponential" time?

A. O(2N)

B. O(N2)

C. O(2N)

D. O(N9)

E. None of these is correct.

Question 2

2.The order of growth efficiency of the function 3N3 + 17N2 is:

A. O(3N).

B. O(3N3).

C. O(17).

D. O(N2).

E. None of these is correct.

Question 3

3.In Java, method arguments are passed by:

A. value.

B. reference.

C. creating a copy of the argument and passing it.

D. using an array.

E. None of these is correct.

Question 4

4. What are the two basic structuring mechanisms described in the text?

A. The reference and the array

B. The array and the primitive variable

C. The stack and the queue

D. Objects and classes

E. None of these is correct. Question 5

5.This structure is the best model for a group of customers waiting to check out in a grocery store.

A. Array

B. Map

C. Stack

D. Queue

E. Tree

Question 6

6.The following code results in garbage being created.

Circle c1 = new Circle(8);

Circle c2;

A. True

B. False

Question 7

7. A tree child element can only have a single parent.

A. True

B. False

Question 8

8. A tree element can only have one successor.

A. True

B. False

Question 9

9.O(log2n) is called ________________ time.

Question 10

10. When we assign one object to another object, using =, we say we have created a(n) __________ for the object.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions