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.
Choose the CORRECT sequence of steps involved in machine learning cycle.
AData identification → Data preparation → Selection of machine learning algorithm → Evaluate the model → Train model → Deploy the model
BData identification → Data preparation → Selection of machine learning algorithm → Train model → Evaluate the model → Deploy the model
CData identification → Selection of machine learning algorithm → Data preparation → Train model → Evaluate the model → Deploy the model
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
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)
AI – 2; II – 3; III – 4; IV – 1
BI – 4; II – 3; III – 2; IV – 1
CI – 1; II – 4; III – 2; IV – 3
DI – 3; II – 1; III – 2; IV – 4
Show answerHide answer
Correct answer: (A) I – 2; II – 3; III – 4; IV – 1
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?
Which of the following algorithms is an example of the divide and conquer approach?
APrim's algorithm
BMatrix-chain multiplication
CQuick sort
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.