
Intro to DSA
Authored by Cristy Lea Laquindanum
Information Technology (IT)
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following best describes a data structure?
A programming language
A way to organize and store data in memory
A secret code only nerds understand
A type of algorithm
Answer explanation
Data structures help arrange data efficiently. Like how students survive college: if you don’t organize your notes, files, and barkada group projects properly, your life (and your code) becomes chaos.
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
An algorithm can be best compared to:
A shortcut in coding
A recipe or step-by-step instruction
A random sequence of code
A last-minute cramming session
Answer explanation
Algorithms are like recipes. Skip a step and you’ll end up with sunog na pancit canton.
3.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the time complexity of linear search in the worst case?
O(1) – Easy peasy
O(log n) – Smarter than it looks
O(n) – Gotta check everything
O(n²) – May the odds be ever in your favor
Answer explanation
Worst case: you check everything.
Linear search = “look through every paper in your bag until you find the assignment.”
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In pseudocode, what keyword is often used for a repetition/loop?
START
END
WHILE
Answer explanation
In pseudocode, WHILE (or FOR) usually represents repetition.
Because “WHILE True” loops are basically Netflix asking “Are you still watching?”
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is NOT a linear data structure?
ARRAY
QUEUE
STACK
GRAPH
Answer explanation
Graphs aren’t linear, just like relationships—messy and full of unexpected connections.
6.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Big-O notation is used to describe:
The programming syntax
The growth rate of algorithms
The number of lines of code
The memory address of variables
Answer explanation
Big-O tells you how much your program suffers when data gets bigger… like your stress during finals week.
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which data structure works on the principle of First In, First Out (FIFO)?
Queue
Stack
Array
Tree
Answer explanation
First come, first served. Like the line at Jollibee—unless someone is feeling bee-da bee-da sa linya.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?