Q. The space factor when determining the efficiency of algorithm is measured by

  • (A) counting the maximum memory needed by the algorithm
  • (B) counting the minimum memory needed by the algorithm
  • (C) counting the average memory needed by the algorithm
  • (D) counting the maximum disk space needed by the algorithm
πŸ’¬ Discuss
βœ… Correct Answer: (A) counting the maximum memory needed by the algorithm

Q. The time factor when determining the efficiency of algorithm is measured by

  • (A) counting microseconds
  • (B) counting the number of key operations
  • (C) counting the number of statements
  • (D) counting the kilobytes of algorithm
πŸ’¬ Discuss
βœ… Correct Answer: (B) counting the number of key operations

Q. Two main measures for the efficiency of an algorithm are

  • (A) processor and memory
  • (B) complexity and capacity
  • (C) time and space
  • (D) data and space
πŸ’¬ Discuss
βœ… Correct Answer: (C) time and space

Q. Computers are used for processing numerical data called _______ data.

  • (A) float
  • (B) local
  • (C) character
  • (D) non-local
πŸ’¬ Discuss
βœ… Correct Answer: (C) character

Q. Each programming language contains a ______ set that is used to communicate with the computer.

  • (A) character
  • (B) integer
  • (C) float
  • (D) numeric
πŸ’¬ Discuss
βœ… Correct Answer: (A) character

Q. A computer which can access an individual byte is called a ________ machine.

  • (A) memory addressable
  • (B) byte addressable
  • (C) bit
  • (D) byte
πŸ’¬ Discuss
βœ… Correct Answer: (B) byte addressable

Q. Groups of consecutive elements in a string, such as words, phrases and sentences are called ________.

  • (A) main strings
  • (B) substring
  • (C) index
  • (D) block
πŸ’¬ Discuss
βœ… Correct Answer: (B) substring

Jump to