100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Comp Sci 200 final review with 100- correct answers.

Rating
-
Sold
-
Pages
5
Grade
A
Uploaded on
11-12-2024
Written in
2024/2025

Comp Sci 200 final review with 100- correct answers.

Institution
Cogsi 200
Course
Cogsi 200









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Cogsi 200
Course
Cogsi 200

Document information

Uploaded on
December 11, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

Comp Sci 200 final review
with 100% correct answers

What will print out:
Double d1 = new Double(10);
double d2 = d1;
d1 = 14.1;
System.out.print(d2); - answer 14.1


What is printed:
String s1 = "hello";
String s2 = new String("hello");
String s3 = "hello";
System.out.print(s1 == s3); - answer true


What is printed:
String s1 = "hello";
String s2 = new String("hello");
String s3 = "hello";
System.out.print(s1 == s2); - answer false


What will be printed:

, double d1 = 8.1;
if (d1 == 8.1 ) {
System.out.println("equal")
} else {
System.out.println("not equal")
} - answer not equal


are classes stored on the stack or heap? - answer
heap


a type of UML - behavior diagram, how external
users interact with the system - answer use case
design


type of UML diagram - shows structure of a system
with features, constraints and relationships.
Independent of time - answer class diagram


type of UML diagram - snapshot of a system at a
point in time, instances of classes with specific
values - answer object diagram


type of UML diagram - behavior diagram, shows
flow of control emphasizing sequence and
conditions - answer activity diagram

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.
BRAINBOOSTERS Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
665
Member since
2 year
Number of followers
250
Documents
23070
Last sold
6 hours ago

In this page you will find all documents , flashcards and package deals offered by seller BRAINBOOSTERS

4.5

341 reviews

5
265
4
30
3
21
2
5
1
20

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

Frequently asked questions