Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Data Structures & Algorithms (Midterm Study) Exam Review | A+ Verified Answers

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
01-02-2024
Written in
2023/2024

Data Structures & Algorithms (Midterm Study) Exam Review | A+ Verified Answers What are the Software Development Life Cycle Models? - ANSW Waterfall Agile Spiral V-Model DevOps List steps in waterfall model - ANSW 1. Analysis 2. Requirements specification 3. Design 4. Implementation 5. Testing and integration 6. Operation and maintenance

Show more Read less
Institution
Course

Content preview

Data Structures & Algorithms (Midterm Study)
Exam Review | A+ Verified Answers

What are the Software Development Life Cycle Models? - ANSW Waterfall
Agile
Spiral
V-Model
DevOps

List steps in waterfall model - ANSW 1. Analysis
2. Requirements specification
3. Design
4. Implementation
5. Testing and integration
6. Operation and maintenance

List components of technical documentation - ANSW 1. Hierarchical diagram / structure
chart
2. Procedure specification
3. Program listing
4. Test cases
6. Major problems encountered
7. Limitation of current works

What are the 3 Design strategies - ANSW 1. Top-down design
2. Bottom-up design
3. Stepwise refinement

What are the 3 types of parameters? - ANSW 1. Input parameters
2. Output parameters
3. Input-output parameters

What are the two types of testing (Include what they're also known as)? - ANSW 1.
Black-box (Function Testing)
2. White-box (Structural Testing)

Define Algorithm - ANSW A set of instructions for solving a problem in a finite number
of sets

Define Program - ANSW A particular implementation of an algorithm in a chosen
program language

, Algorithm analysis approaches - ANSW 1. Assess time and space recourse
requirements
2. Quantitative comparison (# of operations)
3. Best case, worst case, and average case analysis
4. Lower bound theory
5. Theory of NP-hard and NP-Complete

What is complexity? - ANSW The measure of how resource requirements of a program
or algorithm SCALE (time and space)

What are the typical growth rate functions (8 covered in notes) in order from most
efficient to least efficient? - ANSW 1. 1
2. log n
3. n
4. n log n
5. n^2
6. n^3
7. 2^n
8. n!

What are the two classes of algorithms based on growth rates? - ANSW 1. Polynomial-
time
2. Exponential-time

What are the 6 polynomial-time algorithms? (Bounded by polynomial in n degree) -
ANSW 1. Constant O(1)
2. Logarithmic O(log n)
3. Linear O(n)
4. Linearithmic O(n log n)
5. Quadratic O(n^2)
6. Cubic O(n^3)

Does the time requirement of polynomial-time or exponential-time algorithms grow
faster? - ANSW Exponential

When is the only time that exponential-time algorithms are practical? - ANSW For small
values of n

What is the complexity goal of an algorithm? - ANSW Polynomial-time with low growth
rate

What are the three growth rate notations? - ANSW Big O
Omega
Theta

Written for

Course

Document information

Uploaded on
February 1, 2024
Number of pages
5
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.79
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
smartchoices Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
36
Member since
5 year
Number of followers
5
Documents
4504
Last sold
2 months ago

4.8

9 reviews

5
7
4
2
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions