BEL PE · Computer Science

Algorithms Previous Year Questions

9 Algorithms (Computer Science) questions asked in BEL PE previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 9 questions
  • Official answer key
  • Free

Other Computer Science topics

Q1BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Choose the CORRECT sequence of steps involved in machine learning cycle.
  1. AData identification → Data preparation → Selection of machine learning algorithm → Evaluate the model → Train model → Deploy the model
  2. BData identification → Data preparation → Selection of machine learning algorithm → Train model → Evaluate the model → Deploy the model
  3. CData identification → Selection of machine learning algorithm → Data preparation → Train model → Evaluate the model → Deploy the model
  4. DData identification → Data preparation → Selection of machine learning algorithm → Train model → Deploy the model → Evaluate the model
Show answerHide answer

Correct answer: (B) Data identification → Data preparation → Selection of machine learning algorithm → Train model → Evaluate the model → Deploy the model

Q2BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following machine learning algorithm does NOT use clustering?
  1. ALinear Discriminant Analysis
  2. BExpectation Maximization
  3. CK-means
  4. DK-Medians
Show answerHide answer

Correct answer: (A) Linear Discriminant Analysis

Q3BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Sort the following list using radix sort: 429, 557, 757, 939, 536, 820, 455 What is the output of the algorithm after the first pass?
  1. A820, 429, 536, 939, 455, 557, 757
  2. B820, 455, 536, 557, 757, 429, 939
  3. C939, 820, 757, 557, 536, 455, 429
  4. D429, 455, 557, 536, 757, 820, 939
Show answerHide answer

Correct answer: (B) 820, 455, 536, 557, 757, 429, 939

Q4BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
K-Nearest Neighbours algorithm is a ________ classification algorithm that classifies new data point based on the nearest data point.
  1. AUnsupervised
  2. BReinforcement
  3. CSupervised
  4. DDeep learning
Show answerHide answer

Correct answer: (C) Supervised

Q5BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is the external sorting?
  1. ASelection sort
  2. BQuick sort
  3. CInsertion sort
  4. DMerge sort
Show answerHide answer

Correct answer: (D) Merge sort

Q6BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Match the following algorithm with its average complexity. Algorithm: I. Binary search; II. Quick sort; III. Linear search; IV. Selection sort Average Complexity: 1. O(n²); 2. O(log n); 3. O(n log n); 4. O(n)
  1. AI – 2; II – 3; III – 4; IV – 1
  2. BI – 4; II – 3; III – 2; IV – 1
  3. CI – 1; II – 4; III – 2; IV – 3
  4. DI – 3; II – 1; III – 2; IV – 4
Show answerHide answer

Correct answer: (A) I – 2; II – 3; III – 4; IV – 1

Q7BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following is NOT the problems of synchronization?
  1. AThe Dining-Philosophers problem
  2. BThe Knapsack problem
  3. CThe Bounded-Buffer problem
  4. DThe Readers-Writer problem
Show answerHide answer

Correct answer: (B) The Knapsack problem

Q8BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
What is the total number of swaps performed to sort the following list of elements 18, 32, 17, 19, 41, 15, 23 in an ascending order, using bubble sort?
  1. A10
  2. B13
  3. C12
  4. D11
Show answerHide answer

Correct answer: (A) 10

Q9BEL PE Computer Science, 17 Dec 2023 (8:30 AM)
Which of the following algorithms is an example of the divide and conquer approach?
  1. APrim's algorithm
  2. BMatrix-chain multiplication
  3. CQuick sort
  4. DLongest common subsequence
Show answerHide answer

Correct answer: (C) Quick sort

How to use these BEL PE Computer Science questions

Every question here was asked in a real BEL PE paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full BEL PE papers as timed tests to check your speed under exam conditions.

More BEL PE subjects