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)

CSCI 1103 Final Exam Study Guide with Verified Answers A+ Grade 100%.

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
27-03-2025
Written in
2024/2025

classes are... - definitions of a group of like things called objects (abstract constructs) classes and objects have attributes that... - describe them and functions which are actions they perform (or have performed on them) classes/objects are like... - nouns attributes are like... - adjectives functions are like... - verbs object-oriented programming - is based on the premise that all problems can be broken down into smaller problems and all problems deal with the interaction of objects in the real world (communication between objects) intrinsic data types - are those organizations of bits which the CPU can understand and work with - int, char, double, bool user-defined types (UDTs) - are classes that are created to handle more sophisticated data such as strings, dates, cards, decks, hands, vehicles, animals, etc. object-oriented programming uses inheritance to... - allow us to build onto existing classes and create additional functionality - generic animals can be customized into lions, tigers and bears (oh my!) we can override functions of the parent class to... - create customized actions in the child class - animals all makeSound() but some people have to Google the sounds that other animals like say a fox make

Show more Read less
Institution
Course

Content preview

CSCI 1103 Final Exam Study Guide with Verified
Answers A+ Grade 100%.
classes are... - definitions of a group of like things called objects (abstract constructs)

classes and objects have attributes that... - describe them and functions which are actions they
perform (or have performed on them)

classes/objects are like... - nouns

attributes are like... - adjectives

functions are like... - verbs

object-oriented programming - is based on the premise that all problems can be broken down
into smaller problems and all problems deal with the interaction of objects in the real world
(communication between objects)

intrinsic data types - are those organizations of bits which the CPU can understand and work
with - int, char, double, bool

user-defined types (UDTs) - are classes that are created to handle more sophisticated data such as
strings, dates, cards, decks, hands, vehicles, animals, etc.

object-oriented programming uses inheritance to... - allow us to build onto existing classes and
create additional functionality - generic animals can be customized into lions, tigers and bears
(oh my!)

we can override functions of the parent class to... - create customized actions in the child class -
animals all makeSound() but some people have to Google the sounds that other animals like say
a fox make

overloading functions simply mean... - we have created more than one implementation of a
function using the same name but different parameters - for example we might have two
functions which calculate distance between points one of which uses four parameters (double x1,
double y1, double x2, double y2) and another which uses the Point class for its parameters like
(Point first, Point second) - both calculate distance the same way, but use different types of
parameters

mathematical functions are the same for C++ as they are for us with one exception: - integer
division results in an integer with a remainder (the modulus) so 7/3 would return 2 and 7%3
would return 1

you can force numbers from integer to decimal by... - using the inline typcasting of (double) or
by just multiplying one of the integer values by 1.0

Written for

Course

Document information

Uploaded on
March 27, 2025
Number of pages
3
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$5.68
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
EXAMHUB1

Get to know the seller

Seller avatar
EXAMHUB1 Cambridge University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
111
Last sold
-
EXAMHUB1

Hello! My name is EXAMHUB, and I’m an experienced and dedicated online tutor committed to helping students succeed. I provide study materials, notes, and guides to support your academic journey. Your feedback is highly valued, as it helps improve the quality of service and enhances your learning experience. Special Offer! For every student you refer who completes and pays for an order transparently, you’ll receive a free study document of your choice or a complimentary assignment completion! Thank you for your purchase! Please leave a review to share your experience and help others assess the quality of the documents. Your feedback is greatly appreciated!

Read more Read less
0.0

0 reviews

5
0
4
0
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