Tag: architecture

Questions Related to architecture

The memory address of the first element of an array is called

  1. floor address

  2. foundation address

  3. first address

  4. base address


Correct Option: D
  1. linear arrays

  2. linked lists

  3. both of above

  4. none of above


Correct Option: A
  1. The list must be sorted

  2. there should be the direct access to the middle element in any sublist

  3. There must be mechanism to delete and/or insert elements in list

  4. none of above


Correct Option: C
  1. must use a sorted array

  2. requirement of sorted array is expensive when a lot of insertion and deletions are needed

  3. there must be a mechanism to access middle element directly

  4. binary search algorithm is not efficient when the data elements are more than 1000.


Correct Option: D
  1. tables arrays

  2. matrix arrays

  3. both of above

  4. none of above


Correct Option: C
  1. LOC(Array[5]=Base(Array)+w(5-lower bound), where w is the number of words per memory cell for the array

  2. LOC(Array[5])=Base(Array[5])+(5-lower bound), where w is the number of words per memory cell for the array

  3. LOC(Array[5])=Base(Array[4])+(5-Upper bound), where w is the number of words per memory cell for the array

  4. None of above


Correct Option: A