What is a stack?

Review Quiz

Quiz
•
Computers
•
3rd Grade
•
Easy
Yunis Nabiyev
Used 1+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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)
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Tin học 5

Quiz
•
1st - 12th Grade
20 questions
ÔN TẬP HỌC KÌ II - LỚP 3

Quiz
•
3rd Grade
21 questions
LỚP 3/6_KHẢO SÁT CHỦ ĐỀ 1 MÔN TIN HỌC

Quiz
•
3rd Grade
26 questions
Keyboard Letters

Quiz
•
1st - 12th Grade
20 questions
BÀI THI THỬ MÔN TIN HỌC LỚP 4

Quiz
•
1st - 8th Grade
20 questions
m1-html-css-js

Quiz
•
KG - Professional Dev...
22 questions
Python_Lv1_Số (mới học)

Quiz
•
1st - 5th Grade
20 questions
Bài 15 Công việc được thực hiện theo điều kiện

Quiz
•
1st - 5th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
Basement Basketball

Quiz
•
3rd Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
20 questions
Fun Trivia

Quiz
•
2nd - 4th Grade
20 questions
Context Clues

Quiz
•
3rd Grade
20 questions
Kids Movie Trivia

Quiz
•
3rd Grade
13 questions
Multiplication Facts Practice

Quiz
•
3rd Grade
20 questions
Silent e

Quiz
•
KG - 3rd Grade
6 questions
Alexander Graham Bell

Quiz
•
3rd Grade