# Algorithms

## Algorithms

Congratulations - you have completed Algorithms.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%

 Question 1 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
In a flow chart a diamond is used to show what?

 A Start B End C Step D Decision
 Question 2 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What type of sort is this? A Merge B Bubble C Insertion D Pair
 Question 3 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What must be true in order to sort objects?

 A They must be wrapper classes of primitives (Integer, Double, etc.) B They must be Comparable. C At least one instance variable must be a primitive. D They must be Strings
 Question 4 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Scientists who apply their knowledge of computation to creating solutions using a computer system.

 A Computer Scientist B Programmer C Teacher D Principal
 Question 5 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What's missing? A On/Off B Pink/Blue C Hello/Goodbye D Yes/No
 Question 6 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which of the following algorithmic efficiencies would be considered LEAST efficient?

 A Linear B Constant C Polynomial D Exponential
 Question 7 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Under which of the following conditions, binary search algorithm terminates?
 A Item...found=true B lower...bound <= upper...bound C lower...bound > upper...bound D A and C
 Question 8 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A binary search will only work if the list is in the correct order

 A True B False
NTA NET study material
 Question 9 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Assume shell sort and a list of 6 elements, with a gap value of 3, how many interleaved lists will be sorted?

 A 1 B 2 C 3 D 6 