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

Questions 11-15 of 100

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

Question 11

MCQ · Single Correct 1 mark

In 1-based indexing for a 2D array A[1..M][1..N], what is the Row-Major address of A[i][j] given Base B and element size W?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

What is the asymptotic solution of T(n) = T(n/2) + O(1), with T(1) = O(1)?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

What is the maximum number of elements that can be stored in a 3D array A[D1][D2][D3]?

Answers for question 13

Question 14

MCQ · Single Correct 1 mark

Which data structure is most appropriate for representing a symmetric matrix of size N x N without storing redundant elements?

Answers for question 14

Question 15

MCQ · Single Correct 1 mark

Which statements correctly describe Little-o notation f(n) = o(g(n))?

Answers for question 15
Scroll to Top