DSA mid-term revision (FIT HANU) pt.1

Quiz
•
Education
•
University
•
Medium
Shiroi Kitsunee
Used 43+ times
FREE Resource
80 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
- Which is not a property of a algorithm?
It must terminate for all inputs.
The order of the algorithm’s steps must be precisely defined.
The execution time and the memory needed for a algorithm must be percisely defined.
It must be correct and composed of precisely defined steps.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
– Which statement below is wrong?
Select one:
For the same data, some data structures may require more or less space.
A data structure is a way of organizing data for processing within a computer program.
A data structure is a piece of information (a physical instantiation of a data type)
For the same operations on the data, some data structures lead to more or less efficient algorithms.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
– Which statement is correct concerning to the complexity of algorithm?
Select one:
The complexity of an algorithm is determined by the total lines of code of the program that implements
the algorithm using a given programming language.
The complexity of an algorithm is a measure of the amount of time and cost needed to implement this
algorithm.
The complexity of an algorithm is a measure of the amount of time and space required by the algorithm
for an input of a given size n.
The complexity of an algorithm is determined by the maximum value of the input size n that does not
affect the correctness of the algorithm.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
– When evaluating algorithm’s complexity, which approach makes possible an evaluation that is
independent of the hardware and software environments?
Select one:
Using input data sets of varying size.
Theoretical approach.
Measuring the running time and memory space using the same hardware and software environment.
Experimental approach.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
– What is time complexity of an algorithm?
Select one:
The amount of time needed to implement the algorithm.
The amount of time that the algorithm needs to run for an input of a given size n.
The upper limits for excution time of the algorithm.
The response time of the algorithm.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
– Which statement is wrong concerning to the best-case time complexity of an algorithm?
Select one:
The best case of an algorithm A is estimated as the minimum number of primitive operations performed
by A on an input size n.
Many algorithms perform exactly the same in the best case.
The best-case is used frequently to analyze the time complexity of algorithms.
The best-case gives us an lower bound on the time complexity of algorithms.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
– Which statement is wrong concerning to the average-case time complexity of an algorithm?
Select one:
The average-case is places somewhere between the best-case and the worse-case.
The average-case of an algorithm A is estimated as the average number of primitive operations
performed by A on an input size n.
The average-case of an algorithm A is depended on the characteristic of the input data.
The average-case is easy to determine.
Create a free account and access millions of resources
Similar Resources on Wayground
79 questions
Effects of Immobility

Quiz
•
University
79 questions
CPE105

Quiz
•
University
79 questions
Kisi-Kisi Soal PPPK 2023 PPKN dan B.Indonesia

Quiz
•
University
81 questions
Project Management

Quiz
•
University
75 questions
solidarism and cooperativism

Quiz
•
University
77 questions
SSC2 Quiz Online 5/6/2025

Quiz
•
University
80 questions
PKn Kewarganegaraan 2 B

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University