Top 350+ Solved Data Structure and Algorithms (DSA) MCQ Questions Answer

From 166 to 180 of 305

Q. Array is a

a. index data structure

b. non liturenear data structure

c. complx data structure

d. none of the above

  • d. none of the above

Q. Row -major order in two -dimentional array refers to an arrangement where

a. all elements of a row are stored in memory in sequence followed by next row in sequence,and so on

b. all elements of row are stored in memory in sequence followed by next column in sequence ,and so on

c. all elements of row are stored in memory in sequence followed by next column in sequence

d. none of the above

  • a. all elements of a row are stored in memory in sequence followed by next row in sequence,and so on

Q. Array is

a. data in physical order

b. data in logical order

c. both a& b

d. none of the above

  • a. data in physical order

Q. how many vlue can held by an array A(-1…m,1…m)?

a. m

b. m^2

c. m(m+1)

d. m(m+2)

  • d. m(m+2)

Q. _______ refers to the operation of finding the location of a given item in a collection of items.

a. sorting

b. searching

c. function

d. complexity

  • b. searching

Q. _______ is a field whose values uniquely determine the records in the file.

a. pointer

b. primary key

c. secondary key

d. function

  • b. primary key

Q. By using which of the following methods sorting is not possible?

a. insertion

b. exchange

c. selection

d. deletion

  • d. deletion

Q. Which is the simplest file structure?

a. sequential

b. indexed

c. random

d. bubble

  • a. sequential

Q. A ______ is a data structure use foe a storage of a records.

a. tree

b. hash table

c. stack

d. graph

  • b. hash table

Q. _________ is a search for data that uses an index to locate the item.

a. binary search

b. sequential search

c. indexed search

d. jump search

  • c. indexed search

Q. If the input array is unsorted, then only a linear ______ can be used.

a. binary search

b. sequential search

c. indexed search

d. jump search

  • b. sequential search

Q. _______ is a attribute of a sort, indicating that data with equal keys maintain their relative input order in the output.

a. sort order

b. sort stability

c. sort efficiency

d. collision

  • b. sort stability

Q. In ______ method of hashing, selected digit are extracted from the key and used as the address.

a. subtraction

b. digit extraction

c. rotation

d. folding

  • b. digit extraction

Q. ________ hashing method is used in combination with other methods.

a. subtraction

b. digit extraction

c. rotation

d. division

  • c. rotation
Subscribe Now

Get All Updates & News