Search Header Logo

Numerical-Based MCQs

Authored by Trilochan Sahoo

English

University

Used 1+ times

Numerical-Based MCQs
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If an array has 10 elements, what is the index of the last element?

10

9

8

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of reversing an array using two pointers?

O(n²)

O(log n)

O(n)

O(1)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of pushing an element into a stack?

O(n)

O(1)

O(log n)

O(n log n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If an infix expression has 5 operators, how many operands must it have at minimum to be valid?

5

4

6

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the postfix expression 5 3 2 * +.

11

16

17

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many comparisons does binary search make in worst-case for 64 elements?

6

7

8

9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many rotations are needed to rotate a 6-element array left by 2 using one-by-one method?

1

2

3

4

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?