- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 9 study documents about .
9 results
Exam (elaborations)
PSU CMPSC200 MIDTERM Question and answers rated A+
PSU CMPSC200 MIDTERM Question and answers rated A+ 
 
MATLAB generally interprets computer code line by line from the top to the bottom of a program. - correct answer True 
 
Volatile Memory - correct answer Temporary data storage 
 
Non-volatile Memory - correct answer Permanant data storage 
 
Main Memory - correct answer Stores programs and program data into random access memory 
 
Arithmetic and Logic Unit (ALU) - correct answer Performs mathematical operations 
 
Which of the foll...
Exam (elaborations)
CMPR 120 Midterm Exam Review Questions with complete solution
PopularCMPR 120 Midterm Exam Review Questions with complete solution 
 
Every C++ program must have one function called a... - correct answer main 
 
function definition - correct answer Consists of function heading and body between the left and right braces. 
 
What does the term "int main()" represent? - correct answer function heading 
 
syntax - correct answer The formal rules governing how valid instructions are written in a programming language. 
 
Strings of characters must be in....
Exam (elaborations)
CMRP Questions and Answers
NewCMRP Questions and Answers
Exam (elaborations)
CMPSC 465 Quizzes and answers already passed
CMPSC 465 Quizzes and answers already passed 
 
Worst case time complexity of insertion 
sort where position of the data to be inserted is calculated using binary search is: 
(a) O(n) 
(b) O(n2) 
(c) O(n ·log n) 
(d) O(n ·(log n)2) - correct answer Answer (b) Time required to swap elements in the correct position is still O(n) 
 
While performing insertion sort on the array 
{7,5,4,2,3,1}, 
which of the following is NOT a transition state of the array: 
(a) 4 5 7 2 3 1 
(b) 7 5 4 2 1 3 
(...
Exam (elaborations)
CMPSC 200 Practice Exam Question and answer correctly solved
CMPSC 200 Practice Exam Question and answer correctly solved 
 
What does MATLAB stand for? - correct answer Matrix Laboratory 
 
What numeric value would be produced by this calculation in MATLAB? 5-2/4^2 
a) 4.875 
b) 4.75 
c) 5.125 
d) This calculation would produce a syntax error - correct answer a) 4.875 
 
Which of the following is not a valid variable name in MATLAB? 
a) 38special 
b) B52s 
c) Blink_182 
d) U2 - correct answer a) 38special 
- a valid variable name must start wi...
Exam (elaborations)
CMPSC 200 Midterm Questions with complete solution
CMPSC 200 Midterm Questions with complete solution 
 
computer - correct answer a programmable electronic device that can store, retrieve, and process data 
 
GIGO - correct answer garbage in, garbage out 
 
CPU - correct answer central processing unit 
 
2 components of CPU - correct answer ALU: Arithmetic and Logic 
Control Unit: fetches next command 
 
volatile memory - correct answer fast, temporary storage (RAM, DRAM)
Exam (elaborations)
CMPS Final Exam Review Question and answers 100% correct
CMPS Final Exam Review Question and answers 100% correct 
 
bit - correct answer single digit 
 
byte - correct answer 8 bits 
 
comments - correct answer don't execute in the program and improves readability 
 
constants - correct answer do not change throughout program execution
Exam (elaborations)
CMPR 121 Question and answers verified to pass
CMPR 121 Question and answers verified to pass 
 
In an inheritance situation, you may not pass arguments to a base class constructor. 
True 
False - correct answer False 
 
An object's private member variables are accessed from outside the object by its public member functions only 
True 
False - correct answer True 
 
In C++, the default visibility of a class is public. 
True 
False - correct answer False 
 
Dynamic binding happens when the compiler knows exactly what functions to cal...
Exam (elaborations)
CMPE 148 Final Question and answers correctly solved
CMPE 148 Final Question and answers correctly solved 
 
Network - correct answer ___________ layer: transport segment from sending to receiving host. on sending side encapsulates segments into datagrams. on receiving side, delivers segments to transport layer 
 
forwarding - correct answer ______________: move packets from router's input to appropriate router output. Like process of getting through single interchange. 
 
routing - correct answer ___________: determine route taken by pa...