Question 74

Computer Awareness Arrays Easy

Given an array A={55,66,77,88,99} and a key =88 . How many iterations are done until the element is found?

(A) 1
(B) 3
(C) 4
(D) 2
✓ Correct Answer: Option C Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

We assume the search is performed using Linear Search, as no other searching methods are specified. Linear Search Steps: Linear search iterates through each element of the array sequentially until it finds the desired element (key = 88). Let's walk through the array step-by-step: 1. First iteration: Compare ( 55 ) with ( 88 ) → Not a match. \[\] 2. Second iteration: Compare ( 66 ) with ( 88 ) → Not a match. \[\] 3. Third iteration: Compare ( 77 ) with ( 88 ) → Not a match. \[\] 4. Fourth iteration: Compare ( 88 ) with ( 88 ) → Match found. \[\] The element is found during the fourth iteration. \[\] Correct Answer: (c)

Practice Similar Arrays Questions

Reinforce your conceptual grasp with related questions from CUET-MCA 2021:

Q51 Which of the following operations is not ( O(1) ) for an array of sorted...
Solve →
Q34 Which of the following commands is used to delete a table in SQL?
Solve →
Q35 Which of the following standard algorithms is not a greedy algorithm?
Solve →
Q36 The waterfall model of software development is
Solve →
Q37 A graph is a collection of
Solve →
Full-Length Test Series

Prepare for CUET-MCA Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series →