Cpsc exam 2 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Cpsc exam 2? On this page you'll find 174 study documents about Cpsc exam 2.
All 174 results
Sort by
-
CPSC 217 FINAL Exam Questions and answers, Graded A+/ APPROVED EXAM PREDICTION PAPER/
- Exam (elaborations) • 24 pages • 2024
-
- $9.49
- 1x sold
- + learn more
CPSC 217 FINAL Exam Questions and 
answers, Graded A+ 
What is the best way to create functions for a program? Give example - -Top down approach, break 
it down into parts 
ex. Program to calculate interest, break it into 3 functions 
1. Get info 
2. Do Calculations 
3. Display results 
What is the result of and how does it work? 
def displayInstructions ( ): 
print ("Displaying instructions") 
displayInstructions ( ) 
print ("End") - -You created a function called displayIntructions. The body...
-
CPSC Exam 2 Questions & Answers 2024/2025
- Exam (elaborations) • 17 pages • 2024
- Available in package deal
-
- $9.49
- + learn more
CPSC Exam 2 Questions & Answers 2024/2025 
 
 
In Java there are ____ number types. - ANSWERS8 
 
A numeric computation _____ if the result falls outside the range for the number type. - ANSWERSoverflow 
 
Which of the following are acceptable number literals in Java. - ANSWERS10,000 
 
100_000 
 
10 1/2 
 
100000L 
 
all 
 
 Correct : b,d 
 
A/m ______ occurs when an exact representation of a floating point number is not possible. - ANSWERSrounding error 
 
To signify that a variable is a const...
-
CPSC Exam 2 Questions & Answers 2024/2025
- Exam (elaborations) • 9 pages • 2024
- Available in package deal
-
- $8.49
- + learn more
CPSC Exam 2 Questions & Answers 2024/2025 
 
 
specification file - ANSWERSa file containing a class declaration 
 
friend - ANSWERSa modifier used to indicated that a method/function is not a member of the class, but has access to the private members of the class 
 
encapsulation - ANSWERSthe bundling of an object's data into a single unit 
 
new - ANSWERSan operator that dynamically creates an object of the specified class and returns a pointer to the object 
 
delete - ANSWERSC++ operator us...
-
CPSC 1020 EXAM 2 QUESTIONS & ANSWERS 2024/2025
- Exam (elaborations) • 26 pages • 2024
- Available in package deal
-
- $10.49
- + learn more
CPSC 1020 EXAM 2 QUESTIONS & ANSWERS 2024/2025 
 
 
Each object of a class has its own copy of the class's 
A- static member functions 
B- all of these 
C- instance member variables 
D- none of these 
E- static member variables - ANSWERSC- instance member variables 
 
A(n) ________ member variable may be accessed before any object of the class have been declared. 
A- inline 
B- none of these 
C- private 
D- public 
E- static - ANSWERSE- static 
 
True/False: When a class declares an entire clas...
-
CPSC Exam 2 2023 with 100% correct answers
- Exam (elaborations) • 9 pages • 2023
- Available in package deal
-
- $15.49
- + learn more
specification file - correct answer a file containing a class declaration 
 
friend - correct answer a modifier used to indicated that a method/function is not a member of the class, but has access to the private members of the class 
 
encapsulation - correct answer the bundling of an object's data into a single unit 
 
new - correct answer an operator that dynamically creates an object of the specified class and returns a pointer to the object 
 
delete - correct answer C++ operator used to f...
Too much month left at the end of the money?
-
CPSC 2150 Exam 2 Questions with 100% Correct Answers | Latest Update 2024 | Verified
- Exam (elaborations) • 34 pages • 2024
-
- $9.99
- + learn more
CPSC 2150 Exam 2 Questions with 100% Correct Answers | Latest Update 2024 | Verified
-
Lead Inspector/Risk Assessor | ALL QUESTIONS AND ANSWERS 2023 GRADED A+!!
- Exam (elaborations) • 83 pages • 2023
- Available in package deal
-
- $12.49
- 1x sold
- + learn more
Lead Inspector/Risk Assessor | ALL QUESTIONS AND ANSWERS 2023 GRADED A+!! 
 
Permanent abatement options include... - Paint removal, component removal, enclosure, encapsulation 
Lead Inspector - A certified individual who conducts a surface-by-surface investigation 
 to determine the presence of lead-based paint. 
Lead-based paint - 1 mg/cm2 
5000micrograms/g = 5000ppm 
.5% by weight 
What is lead based paint? - any surface coating containing at least 1 miligram per square centimeter of lead...
-
CPSC 2150 Exam 2
- Exam (elaborations) • 34 pages • 2024
-
- $10.49
- + learn more
CPSC 2150 Exam 2 
 
A _______________________________ has occurred when the observed output did not match 
the expected output - failure 
 
An ____________________________________________________ is when any further 
processing will result in the observed output not matching the expected output - erroneous 
state 
 
A _______________________ is the algorithmic cause of the observed output not matching the 
expected output. - fault 
 
In order to have a complete test case, you need to have ... - ...
-
CPSC 2150 Exam 2 | Questions with 100% Correct Answers | Latest Update 2024 | Verified
- Exam (elaborations) • 34 pages • 2023
-
- $15.99
- + learn more
CPSC 2150 Exam 2 | Questions with 100% Correct Answers | Latest Update 2024 | Verified
-
CPSC 2150 Exam 2
- Exam (elaborations) • 10 pages • 2024
-
- $13.99
- + learn more
CPSC 2150 Exam 2
$6.50 for your textbook summary multiplied by 100 fellow students... Do the math: that's a lot of money! Don't be a thief of your own wallet and start uploading yours now. Discover all about earning on Stuvia