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)

CSE 205 UPDATED ACTUAL Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
20-08-2025
Written in
2025/2026

CSE 205 UPDATED ACTUAL Exam Questions and CORRECT Answers encapsulation - CORRECT ANSWER - mechanism of wrapping the data (variables) and code acting on the data (methods) together as as single unit. An example of this is an object of a class with setter and getter methods. Can be thought of as a black box visibility modifiers - CORRECT ANSWER 2) private 3) protected accessor method - CORRECT ANSWER mutator method - CORRECT ANSWER Constructor - CORRECT ANSWER - 1) public - gives access to a private varia

Show more Read less
Institution
CSE 205
Course
CSE 205

Content preview

CSE 205 UPDATED ACTUAL Exam
Questions and CORRECT Answers
encapsulation - CORRECT ANSWER - mechanism of wrapping the data (variables) and
code acting on the data (methods) together as as single unit. An example of this is an object of a
class with setter and getter methods. Can be thought of as a black box


visibility modifiers - CORRECT ANSWER - 1) public
2) private
3) protected


accessor method - CORRECT ANSWER - gives access to a private variable



mutator method - CORRECT ANSWER - modifies a private variable in the class



Constructor - CORRECT ANSWER - special methods which have no return type (not
even void) and must have the same name as the class.
They are used to create objects of a class and for parameter passing (if necessary)


Wrapper classes - CORRECT ANSWER - 'wrap' primitive data types/values in an object
so that the primitive data type can use methods associated with objects


Instance variables - CORRECT ANSWER - variables declared at a class level. They are
used by all methods in that class


Local variables - CORRECT ANSWER - variables declared in a method. They are used
only in that method


Overloading - CORRECT ANSWER - The process of using the same name for multiple
methods

, You can only use the same name for different methods if either the return type or parameters
passed to the method are different


Overriding - CORRECT ANSWER - You can overwrite a method that is inherited from a
parent class by redefining that method in the child class
Once the method is redefined, when it is called it will use the method defined for the subclass
instead of the on defined for the superclass


Static method - CORRECT ANSWER - cannot reference instance variables. Can
reference static variables or local variables


Static variables - CORRECT ANSWER - All objects created from the class share access
to the static variable
Changing the value of a static variable in one object changes it for all others


waterfall method - CORRECT ANSWER - 1) Establish requirements
2) Create design
3) Implement code
4) Test system
5) Deploy


white box testing - CORRECT ANSWER - focuses on the internal logic such as the
implementation of a method
Statement coverage guarantees that all statements in a method are executed
Condition coverage guarantees that all paths through a method are executed


black box testing - CORRECT ANSWER - maps a set of specific inputs to a set of
expected outputs
Test program with values that surround and fall on the boundaries as well as some general values
from the equivalence categories

Written for

Institution
CSE 205
Course
CSE 205

Document information

Uploaded on
August 20, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.99
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


Also available in package deal

Thumbnail
Package deal
CSE 205 Bundled Exam Questions WITH CORRECT Answers
-
25 2025
$ 118.89 More info

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.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1459
Member since
2 year
Number of followers
105
Documents
97742
Last sold
23 hours ago
MGRADES

Welcome to MGRADES ,Based at Stanford University in California. I guarantee success and you may end up coming back again and again. We do this for you . We offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

235 reviews

5
97
4
50
3
53
2
15
1
20

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