Cpsc 2150 exam - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Cpsc 2150 exam? On this page you'll find 51 study documents about Cpsc 2150 exam.
Page 2 out of 51 results
Sort by
-
CPSC 2150 Exam 2 || with 100% Verified Solutions.
- Exam (elaborations) • 9 pages • 2024
- Available in package deal
-
- $11.39
- + learn more
Failure correct answers any deviation of the observed behavior from the specified behavior 
 
Erroneous State correct answers the system is in a state such that further processing of the system will result in a failure 
 
Fault correct answers the mechanical or algorithmic cause of the erroneous state 
 
Test Component correct answers part of the system that can be isolated for testing 
 
Test Plan correct answers set of test cases for a specific unit 
 
Generics correct answers the idea that we...
-
CPSC 2150 Exam 2 Questions and Correct Answers
- Exam (elaborations) • 16 pages • 2024
- Available in package deal
-
- $10.49
- + learn more
Generics 
Ans make interfaces and classes reusable by parameterizing them 
reference types 
Ans Java demands that generic arguments must be 
wrapper type 
Ans Each of the primitive types has a corresponding 
immutable 
Ans Wrapper types are 
reference types 
Ans Wrapper types are 
Aliasing 
Ans occurs when two or more references to an object exist within the object graph of a 
running program 
final keyword 
Ans The memory address can't change. However, you might be able to change the data 
s...
-
CPSC 2150 Exam 1 || Questions and 100% Accurate Answers.
- Exam (elaborations) • 8 pages • 2024
- Available in package deal
-
- $11.29
- + learn more
As a professional... correct answers - projects will be much more complex 
- will work on a large team 
- projects can span years, with incremental releases 
- will have to build off someone else's code 
 
Major projects don't rewrite the system with new versions but... correct answers change parts of the system 
 
Bad Coding Habits correct answers - lack of comments 
- poor design 
- code first, questions later 
- no testing 
- assumptions made 
- print to screen from anywhere 
 
Difference b...
-
CPSC 2150 Exam 1 || A+ Graded Already.
- Exam (elaborations) • 6 pages • 2024
- Available in package deal
-
- $11.09
- + learn more
When zipping up our directory on unix, which flag will we use to include all the subdirectories and their files as well? correct answers -r 
 
Which of the following are included in a Makefile command? (may be more than one) correct answers target, dependencies, unix command to run 
 
In java, a main function must... correct answers Be 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 Java is a... correct answers Ref...
-
CPSC 2150 Exam 2 || with Complete Solutions.
- Exam (elaborations) • 6 pages • 2024
- Available in package deal
-
- $11.09
- + learn more
A _____ can implement a _____ in Java. correct answers Class, Interface 
Abstract Class, Interface 
 
A _____ can extend a _____ in Java. correct answers Class, Class 
Interface, Interface 
Class, Abstract Class 
 
Newer Versions of Java (after Java 8) allow for private data fields in an interface, allowing you to write code for the methods that access the private data in the interface. correct answers False 
 
New versions of Java (8 and later) allow for code in our interface file as long as it...
Make study stress less painful
-
CPSC 2150 Exam 2 Review || with Accurate Answers 100%.
- Exam (elaborations) • 7 pages • 2024
- Available in package deal
-
- $11.19
- + learn more
_________ make interfaces and classes reusable by parameterizing them correct answers Generics 
 
What is this an example of? 
public interface IStack <T> { 
 public void push(T x); 
 public T pop(); 
 public int depth(); 
} correct answers Generic Interface 
 
How to instantiate a variable of type Integer? 
 
public interface IStack <T> { 
 public void push(T x); 
 public T pop(); 
 public int depth(); 
} correct answers IStack<Integer> si = new Stack1<>(100); 
 
Java de...
-
CPSC 2150 Exam 1 || A+ Guaranteed.
- Exam (elaborations) • 5 pages • 2024
- Available in package deal
-
- $10.99
- + learn more
Some important differences between Java and C++ include... correct answers -Every class in Java can have it's own main method 
-Everything in Java is inside a class 
-Since Java runs in its own virtual environment, the same Java code can run on any operating system 
 
In Java, a main method must.... correct answers -Be static 
-Have one argument, an array of Strings 
-Be inside of a class 
 
Anything that is not one of the 8 primitive data types in Java is a... correct answers Reference Data Ty...
-
CPSC 2150 Exam 1 || All Questions Answered Correctly.
- Exam (elaborations) • 6 pages • 2024
- Available in package deal
-
- $10.99
- + learn more
Who is responsible for making sure that the precondition of a function is met? correct answers The client that calls the function 
 
Who is responsible for making sure that the post-condition of a function is met? correct answers The 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? correct answers False 
 
True or False? The precondition automatically checks and enforces itself by checking t...
-
CPSC 2150 Exam with Correct Answers
- Exam (elaborations) • 9 pages • 2024
-
- $10.49
- + learn more
Who is responsible for making sure that the precondition of a function is met? - correct answer The client that calls the function 
 
Who is responsible for making sure that the post-condition of a function is met? - correct answer The 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? - correct answer False 
 
True or False? The precondition automatically checks and enforces itself by checkin...
-
Clemson CPSC 2150 Exam 1 & Exam 2 Questions and Answers 2024
- Exam (elaborations) • 31 pages • 2024
-
- $13.49
- + learn more
Clemson CPSC 2150 Exam 1 & Exam 2 
Questions and Answers 2024 
What are the three parts of a UML class diagram? 
a. The name of the class 
b. The contracts for the class 
c. The decisions made in the code 
d. The attributes of the class 
e. The location of the file contains the class 
f. The methods of the class - Answer-a. The name of the class 
d. The attributes of the class 
f. The methods of the class 
Static methods can access _______________ 
a. Private Data 
b. Public Static Data 
c. Publ...
Study stress? For sellers on Stuvia, these are actually golden times. KA-CHING! Earn from your study resources too and start uploading now. Discover all about earning on Stuvia