
Multiple-Choice Quiz: Algorithms Lab 2
Authored by Yasmin Kandil
Information Technology (IT)
University
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of the standard matrix multiplication algorithm?
O(n)
O(n²)
O(n³)
O(2ⁿ)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output matrix size when multiplying two matrices of size n × n?
n × n
2n × 2n
n × 2n
It depends on the input
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If matrix A has dimensions 3 × 4 and matrix B has dimensions 4 × 2, what will be the dimensions of the resultant matrix C?
4 × 4
3 × 2
4 × 2
3 × 4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of C[1][1] after multiplying the following matrices? A =[1 2 3 4] B =[2 0 1 3]
3
4
5
7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an efficient way to represent a graph with a large number of edges (dense graph)?
Adjacency List
Adjacency Matrix
Edge List
DFS Tree
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid type of graph?
Directed Graph
Weighted Graph
Unsorted Graph
Cyclic Graph
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which graph representation is best suited for sparse graphs (few edges)?
Adjacency Matrix
Adjacency List
Both are equally good
None of the above
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?