BPSC TRE – Arrays, Stacks, Queues, Recursion & Complexity Analysis | Test 1

Questions 1-5 of 50

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

Question 1

MCQ · Single Correct 1 mark

Which asymptotic notation bounds a function from both above and below, representing a tight bound?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

What is the worst-case time complexity of accessing an element in a 1D array by its index?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

In a Row-Major ordered 2D array A[M][N] with base address B and element size W, what is the formula for the address of element A[i][j] (assuming 0-based indexing)?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

Which data structure operates strictly on the Last-In, First-Out (LIFO) principle?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

Which condition indicates an Overflow condition in a fixed-size Stack implemented using an array of size N with top initialized to -1?

Answers for question 5
Scroll to Top