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
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

CS 3321 exam 2 review Questions And Answers Solved 100% Correct!!

Document preview thumbnail
Preview 1 out of 2 pages

Glass Box testing - Answer-A method of software testing which tests the code and internal program structure of software. Functional testing - Answer-A type of software testing that verifies the functionality of a software system or application. Focuses on ensuring the system behaves according to the functional requirements. Unit testing - Answer-A testing method which individual units of source code are tested to determine whether they are fit for use. Define coupling - Answer-The degree of interaction between two modules List the five categories (levels) of coupling - Answer-5. Data coupling (good) 4. Stamp coupling 3. Control coupling 2. Common coupling 1. Content coupling (bad) Define cohesion - Answer-The degree of interaction within a module List the seven categories (levels) of cohesion - Answer-7. Informational cohesion (good) 6. Functional cohesion 5. Communicational cohesion 4. Procedural cohesion 3. Temporal cohesion 2. Logical cohesion 1. Coincidental cohesion (bad)What is portability? - Answer-Refers to the ability of an application to operate on different devices or software platforms Give at least two methods of portability. - Answer-1. Use a popular programming language 2. Use a popular operating system 3. Adhere strictly to language standards 4. Avoid numerical incompatibilities 5. Document meticulously Strengths of design patterns - Answer-Design patterns promote reuse by solving a general design problem. Design patterns provide high-level design documentation, because patterns specify design abstractions. Weaknesses of design patterns - Answer-The use of 23 standard design patterns may be an indication that the language we are using is not powerful enough. There is as yet no systematic way to determine when and how to apply design patterns. Four principles that make a good programming language. - Answer-Encapsulation Data abstraction Polymorphism Inheritance Give 4 solutions to make your code more readable. - Answer-1) Use consistent and meaningful variable names. 2) Use indentation 3) Use blank lines to break up big blocks of code. 4) Leave clear comments when a code is written in a non-obvious way. Disadvantages of Object Oriented Programming (OOP) - Answer-OOP has a steep learning curve, a larger programming size, slower programs, and is not suitable for all types of problems.

Content preview

CS 3321 exam 2 review

Glass Box testing - Answer -A method of software testing which tests the code and internal program
structure of software.

Functional testing - Answer -A type of software testing that verifies the functionality of a software system
or application. Focuses on ensuring the system behaves according to the functional requirements.

Unit testing - Answer -A testing method which individual units of source code are tested to determine
whether they are fit for use.

Define coupling - Answer -The degree of interaction between two modules

List the five categories (levels) of coupling - Answer -5. Data coupling (good)
4. Stamp coupling
3. Control coupling
2. Common coupling
1. Content coupling (bad)

Define cohesion - Answer -The degree of interaction within a module

List the seven categories (levels) of cohesion - Answer -7. Informational cohesion (good)
6. Functional cohesion
5. Communicational cohesion
4. Procedural cohesion
3. Temporal cohesion
2. Logical cohesion
1. Coincidental cohesion (bad)
Powered by TCPDF (www.tcpdf.org)
1 / 1

Document information

Uploaded on
May 5, 2024
Number of pages
2
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$8.49

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

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.
Brainarium
3.8
(333)
Sold
1975
Followers
1045
Items
23753
Last sold
1 day ago



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