- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 44 study documents about .
44 results
Exam (elaborations)
Cpsc 2150 (Final Exam) Questions With 100% Correct Answers.
Cpsc 2150 (Final Exam) Questions With 100% Correct Answers.
Exam (elaborations)
CPSC 2150 Exam 1 Questions & Answers 2024/2025
PopularCPSC 2150 Exam 1 Questions & Answers 2024/2025 
 
 
Who is responsible for making sure that the precondition of a function is met? - ANSWERSThe client that calls the function 
 
Who is responsible for making sure that the post-condition of a function is met? - ANSWERSThe implementer of the function 
 
Is it a good practice to have each function start with an if statement that checks to make sure the preconditions are true? - ANSWERSFalse 
 
True or False? The precondition automatically checks an...
Exam (elaborations)
Cpsc 2150 Exam 1 Questions And Answers
CPSC 2150 EXAM 1 QUESTIONS AND ANSWERS 
Who is responsible for making sure that the precondition of a function is met? - CORRECT 
ANSWERThe client that calls the function
Exam (elaborations)
CPSC 2150 Exam Questions Fully Solved Latest Update 2025 Graded A+
CPSC 2150 Exam Questions Fully Solved Latest Update 2025 Graded A+ 
A __________ has occurred when the observed output did not match the expected output - Answers failure 
An ____________________________________________________ is when any further processing will result in the observed output not matching the expected output - Answers erroneous state 
A _______________________ is the algorithmic cause of of the observed output not matching the expected output. - Answers fault 
In order to have a...
Exam (elaborations)
Cpsc 2150 Exam 1 Questions (Solved) 100% Correct!!
Cpsc 2150 Exam 1 Questions (Solved) 100% Correct!!
Exam (elaborations)
CPSC 2150 Exam 2
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 ... - ...
Exam (elaborations)
CPSC 2150 Exam 1 Questions & Answers 2024/2025
CPSC 2150 Exam 1 Questions & Answers 2024/2025 
 
 
When zipping up our directory on unix, which flag will we use to include all the subdirectories and their files as well? - ANSWERS-r 
 
Which of the following are included in a Makefile command? (may be more than one) - ANSWERStarget, dependencies, unix command to run 
 
In java, a main function must... - ANSWERSBe inside of a class 
Be static 
Have one argument, an array of strings 
 
Anything that is not one of the 8 primitive data types in J...
Package deal
CPSC 2150 Exams || A+ Graded Already.
Clemson CPSC 2150 Final Exam Study Guide || A Verified A+ Pass.
CPSC 2150: Final Exam || with Errorless Solutions 100%.
CPSC 2150 Final Exam Review || Questions and 100% Verified Answers.
Clemson CPSC 2150 Exam 1 & Exam 2 || All Answers Are Correct 100%.

Exam (elaborations)
CPSC 2150 - Exam 2 Terms || Already Graded A+.
Interface correct answers a place to specify a contract; provides a separation of concerns between class users and implementers; express some coherent concept like stacks, queues, sets and provides the methods and contracts for each 
 
How are Lists related to interfaces? correct answers Lists are interfaces in Java. It gives the contracts/methods that exist for all Lists, such as ArrayList, which is a class that implements this interface. ArrayList has all of the methods specified in the List i...
Exam (elaborations)
CPSC 2150: Final Exam || with Errorless Solutions 100%.
Java Language correct answers advanced coverage of programming language primitives, function-level design principles. 
 
Tools correct answers standard development and debugging tools. 
 
Software Engineering correct answers introductory coverage of module-level design principles, program specification, and reasoning principles, and validation and verification techniques. 
 
Java Language - Core Syntax and Features: correct answers declarations and statements, 
values and references, 
methods, o...
Exam (elaborations)
CPSC 2150 - Exam 1 || with 100% Error-free Solutions.
What is encapsulation? correct answers grouping related data and operations together 
 
What is information hiding? correct answers how we control access to encapsulated data and operations 
 
How do we hide information? correct answers using visibility settings (public, private, package private, protected) 
 
What does a good design help with? correct answers code reuse, debugging, and the ability to adapt to change 
 
What are the two roles in a contract? correct answers the implementer and th...
Exam (elaborations)
CPSC 2150 || with 100% Error-free Answers.
Generic Classes and Interfaces require that the data type that is passed in as the parameter is a 
A. Primitive data type 
B. Reference data type 
C. Immutable data type 
D. Generic data type correct answers Reference data type 
 
A(n) _____________ leads to a(n) ___________ which leads to a(n) ______________ 
 
A. Erroneous state, error, failure 
B. Failure, Erroneous State, Fault 
C. Fault, Erroneous State, Failure 
D. Fault, Erroneous State, Error 
E. Bad Input, Expected Output Observed Outp...
Exam (elaborations)
CPSC 2150 (FINAL EXAM) All Answers Are Correct 100%.
Who is responsible for making sure that the precondition of a function is met? correct answers The client that calls the function 
 
Who is responding for making sure that the postcondition of a function is met? correct answers The implementers of the function 
 
At which time is it safe to assume that the invariant of a class is true? correct answers After the constructor for the object has completed 
At the beginning of a public method 
After a public method has finished 
 
Which data types ...
Exam (elaborations)
CPSC 2150 || Questions and 100% Accurate Answers.
Test Driven Development (TDD) cons correct answers Only works with blackbox testing 
Coding to the test plan relies on having a great test plan 
 
What are we parameterizing with generics? correct answers A data type used somewhere in the class or interface (Ex. Lists) 
 
What is used as a stand in for data type using generics? correct answers T 
 
When is the actual type of a generic entry selected? correct answers When the client uses the type to declare or instantiate a variable. (as of java ...
Exam (elaborations)
cpsc 2150 quiz questions || with Error-free Solutions.
Unlike when working with vim or emacs, in IntelliJ you can actually use your mouse while editing your code 
 
t/f correct answers true 
 
Once you are done working on your code in IntelliJ, you have to move it to Unix to run it. There is no way to run your code inside of IntelliJ 
 
t/f correct answers false 
 
IntelliJ includes it's own debugger, which allows you to easily set breakpoints to pause your program while its running and to view the current state of all the variables 
 
t/f correct ...
Exam (elaborations)
CPSC 2150 final || A+ Verified Solutions.
grouping related data and operations together correct answers encapsulation 
 
Encapsulation is done with _________________ through ________________, keeps data in sync correct answers classes and objects, states and methods 
 
how we control access to encapsulated data and operations correct answers information hiding 
 
information hiding is done with __________________ correct answers visibility settings 
 
We hide information to keep data _________________, keep data _________________, keep ...
Exam (elaborations)
CPSC 2150 Final Review ||with A+ Guaranteed Solutions.
Some important differences between Java and C++ include... correct answers 1. Every class in Java can have its own main function 
2. Everything in Java is inside a class 
3. Since Java runs in its own virtual environment, the same Java code can run on any operating system 
 
What are the three parts of a UML class diagram? correct answers 1. The methods of the class 
2. The name of the class 
3. The attributes of the class 
 
Which of the following can be in an Abstract Class? correct answers ...
Exam (elaborations)
Cpsc 2150 final review Clemson || with Error-free Solutions.
Boolean and boolean are the same data type correct answers False 
 
Static members belong to the class itself, and not to the object correct answers True 
 
A class in java can have multiple constructors correct answers True 
 
in java, it is possible to have a function that exists outside the class correct answers False 
 
Static member functions have access to instance members and data correct answers False 
 
in junit testing, we can safely assume that the test cases will run in the order the...
Exam (elaborations)
CPSC 2150 Final Exam || with 100% Correct Answers.
Who is responsible for making sure that the precondition of a method is met? correct answers The client that calls the method 
 
Who is responsible for making sure that the postcondition of a method is met? correct answers The implementer of the method 
 
At which times is it safe to assume that the invariant of a class is true? correct answers After the constructor for the object has completed 
At the beginning of a public method 
After a public method has finished 
 
Which data types can be th...
Exam (elaborations)
CPSC 2150 Final Exam Review || Questions and 100% Verified Answers.
Encapsulation correct answers Grouping related data and operations together 
 
Information Hiding correct answers How we control access to encapsulated data and operations. Done through visibility settings (public, private, package private, protected) 
 
Separation of Concerns correct answers When every module has its own role and concerns. AKA Modular Design 
 
What are the two design by contract roles? correct answers 1. the implementer 
2. the client 
 
Precondition correct answers - def...
Exam (elaborations)
CPSC 2150 Final Exam || with 100% Errorless Solutions.
Interface files can contain private attributes that we know we will use in every implementation correct answers False 
 
What type of data types can be the declared type? Select all correct answer correct answers Interfaces 
Primitive Data Types 
Classes 
 
What type of data types can be the dynamic type? Select all correct answers correct answers Primitive Data Types 
Classes 
 
An interface specification can refer to private data variables correct answers False 
 
_______________________ are u...