Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is true about array of object? It holds primitive data. It holds reference value. It contains unlimited object elements. We can apply arrayname.length to

  1. What is true about array of object?

    It holds primitive data.

    It holds reference value.

    It contains unlimited object elements.

    We can apply arrayname.length to find the first element in the array.

  1. Which statement is TRUE about array doll. Doll doll[] = new Doll[10];?

    Array doll has 9 elements

    Doll.size() will return 10

    Every element in array doll must be initialised with new object Doll before use.

    The last index of array doll is 10.

  1. The time complexity for searching operation of a random key using Binary Search is __________

    O(log (n))

    O(1)

    O(n)

    O(n2)

  1. Big O notation tells__________________.

    how the speed of an algorithm relates to the size of the memory of items.

    how the size of a data structure related to the number of items.

    the performance time of an algorithm for a given size data structure.

    None of the above.

  1. Searching maximum values in an ordered array is ___________.

    O(1)

    O(n)

    O(n2)

    O(log n)

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

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

=+you think is being taxed when more money is printed? Why?

Answered: 1 week ago