Algorithms and algorithmic Complexity

Quiz
•
Computers
•
University
•
Hard
j song
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT a characteristic of an algorithm?
A) Input
B) Output
C) Finiteness
D) Memory Usage
E) Feasibility
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
An algorithm must always end after executing a finite number of steps, and each step must be completed in a finite time. This characteristic is known as:
A) Determinism
B) Feasibility
C) Finiteness
D) Correctness
E) Readability
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a requirement when designing an algorithm?
A) It must be computationally expensive
B) It must be easy to understand, code, and debug
C) It must always produce the fastest result
D) It must use the minimum amount of storage
E) It must require no input data
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the primary disadvantage of ex post facto analysis of an algorithm’s efficiency?
A) It ignores environmental factors like hardware and software
B) It only estimates performance, not actual measurements
C) It requires writing a program to implement the algorithm
D) It cannot measure time complexity
E) It doesn’t account for the algorithm's correctness
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The time complexity of an algorithm is generally expressed as a function of the problem size n. This function is usually referred to as:
A) Space Complexity
B) Fundamental Operation
C) Big-O Notation
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following time complexities grows the fastest as n increases?
O(1)
O(n)
O(n^2)
O(n!)
O(nlogn)
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If an algorithm has a time complexity of O(n^2) and another has O(n^3), what is the time complexity of the sum of the two algorithms?
O(n^2)
O(n^3)
O(n^4)
O(n)
O(nlogn)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
PDS - 04225 Intro to Data Structures and Algorithms - Chapter 2

Quiz
•
University
10 questions
Complexity Quizz

Quiz
•
University
9 questions
Asymptomatic Efficiency

Quiz
•
University
15 questions
R_Quiz on Algorithms and Programming Languages

Quiz
•
12th Grade - University
15 questions
Data Analytics

Quiz
•
University
10 questions
Algorithm analysis: divide & conquer theory

Quiz
•
University
8 questions
TEAM 2

Quiz
•
University
10 questions
Analysis of Algorithms Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University