BPSC TRE – Data Structures & Algorithms | Full Subject Test 1

Questions 1-5 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 1

MCQ · Single Correct 1 mark
Previous Year Question BPSC TRE 3.0 PYQ

Which of the following statements about direct access in an array are correct?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark
Previous Year Question BPSC TRE 2.0 PYQ

In a 0-indexed Column-Major ordered 2D array A[M][N] with base address B and element byte size W, what is the address formula for A[i][j]?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark
Previous Year Question BPSC TRE 3.0 PYQ

According to the Master Theorem, what is the asymptotic solution to the recurrence relation T(n) = 2T(n/2) + O(n)?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

What is the tightest upper bound time complexity for solving the recurrence T(n) = T(n-1) + O(1) with T(1) = O(1)?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

Which sparse matrix representation stores only non-zero elements using 3-tuples containing (row_index, column_index, value)?

Answers for question 5
Scroll to Top