Search Header Logo

Review Quiz

Authored by Yunis Nabiyev

Computers

3rd Grade

Used 1+ times

Review Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a stack?

a. a type of map

b. a FIFO (First In, First Out) data structure

c. a LIFO (Last In, First Out) data structure

d. None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function adds an element to the top of a stack?

a. push()

b. pop()

c. top()

d. insert()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'count()' do in a map?

a. Counts the number of maps

b. Checks if a key exists

c. Counts the number of values

d. Returns the size of the map

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following has the BEST time complexity for searching?

a. Linear Search

b. Binary Search

c. Selection Sort

d. Insertion Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In recursion, what is the base case?

a. The case that repeats

b. The case that calls itself

c. The initial call to the function

d. The case that ends the recursion

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the value in a map using a key?

map[key]

map.value(key)

map.get(key)

map.find(key)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Big O time complexity of a binary search?

a. O(n)

b. O(nlogn)

c. O(n^2)

d. O(2^n)

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?