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)

CMPSC 200 Final Exam PSU Questions With Correct Answers

Rating
-
Sold
-
Pages
65
Grade
A+
Uploaded on
25-03-2026
Written in
2025/2026

CMPSC 200 Final Exam PSU Questions With Correct Answers

Institution
CMPSC 200
Course
CMPSC 200

Content preview

CMPSC 200 Final Exam PSU Questions With
Correct Answers

Computer - CORRECT ANSWER✔✔-a programmable electronic device that can
| | | | | | | | |


store, retrieve, and process data
| | | |




input - CORRECT ANSWER✔✔-data from the user is entered into the computer
| | | | | | | | | | |




Processing - CORRECT ANSWER✔✔-the computer is instructed what to do you
| | | | | | | | | | |


the program, often using information that was input to the program
| | | | | | | | | |




Output - CORRECT ANSWER✔✔-input inputted or processed through the
| | | | | | | | |


program is output to the user
| | | | |




High-level computer architecture - CORRECT ANSWER✔✔-the main memory
| | | | | | | |


stores programs and program data in random access memory (RAM)
| | | | | | | | |




CPU - CORRECT ANSWER✔✔-central processing unit
| | | | |




CPU has two main components - CORRECT ANSWER✔✔-arithmetic and logic unit
| | | | | | | | | | |


(ALU) - mathematical operations
| | | |




control unit - fetches the next instruction, decodes the instruction, and then
| | | | | | | | | | | |


executes the instruction as appropriate
| | | |

,Volatile memory - CORRECT ANSWER✔✔-temporary storage, information is lost
| | | | | | | | |


when the power to the memory is lost. typically faster or higher performing than
| | | | | | | | | | | | | |


non-volatile memory | |




ex: RAM, DRAM (dynamic ram)
| | | |




Non-volatile memory - CORRECT ANSWER✔✔-permanent storage, information
| | | | | | |


persists even after power is lost. typically slower than volatile memory
| | | | | | | | | | |




ex: read-only memory (ROM), compact discs (CD), magnetic tape
| | | | | | | |




Program - CORRECT ANSWER✔✔-a set of instructions to perform specific tasks
| | | | | | | | | |




Algorithm - CORRECT ANSWER✔✔-a set step for "doing something"
| | | | | | | |




Operating systems - CORRECT ANSWER✔✔-allocated computer resources and
| | | | | | | |


allows communication between the user and the computer
| | | | | | |




High-level languages - CORRECT ANSWER✔✔-easy for humans to understand, but
| | | | | | | | |


too difficult for a computer to understand
| | | | | | |




Low-level languages - CORRECT ANSWER✔✔-harder for humans to understand,
| | | | | | | | |


but easier for a computer to convert to usable instructions
| | | | | | | | |




Machine language - CORRECT ANSWER✔✔-generally quite difficult for humans to
| | | | | | | | |


understand, the binary digits that contain instructions that can be understood by
| | | | | | | | | | | | |


the computer
|

,Compiled - CORRECT ANSWER✔✔-code written by the programmer is reduced to
| | | | | | | | | | |


a set of machine-specific instructions prior to runtime. these instructions are
| | | | | | | | | | |


saved as executable files, which can be run
| | | | | | |




MATLAB stands for - CORRECT ANSWER✔✔-Matrix laboratory
| | | | | |




Three phases of program writing - CORRECT ANSWER✔✔-Analyze, implement,
| | | | | | | | |


maintain the code | |




Analyze - CORRECT ANSWER✔✔-- specify what the program needs to do
| | | | | | | | | | |




- develop the algorithm(s) to solve your problem
| | | | | | | |




- verify that what you have will work
| | | | | | |




Implement - CORRECT ANSWER✔✔-- code the program
| | | | | | |




- test the program
| | |




Maintain the code - CORRECT ANSWER✔✔-for large or long-term software
| | | | | | | | | |


systems, this can be the most expensive part
| | | | | | |




Constant - CORRECT ANSWER✔✔-a variable whose value is not intended to
| | | | | | | | | | |


change


Create script - CORRECT ANSWER✔✔-- where we are going to store commands
| | | | | | | | | | | |




- they do not execute they are simply stored
| | | | | | | |




- working in a script allows you to save your work
| | | | | | | | | |

, clc - CORRECT ANSWER✔✔-clear the command window
| | | | | |




clear - CORRECT ANSWER✔✔-delete all the variables from the workspace
| | | | | | | | |




To delete specific variables type - CORRECT ANSWER✔✔-clear(variable)
| | | | | | |




Block comment - CORRECT ANSWER✔✔-%{..........%}
| | | |




- must put writing on the next line from the first percent
| | | | | | | | | | |




By doing .* it gives you - CORRECT ANSWER✔✔-an element by element operation
| | | | | | | | | | | |




A variable can - CORRECT ANSWER✔✔-contain multiple pieces of information
| | | | | | | | |




abs(data#) - CORRECT ANSWER✔✔-absolute value | | | |




sqrt(#) - CORRECT ANSWER✔✔-square root
| | | |




nthroot(#,#) - CORRECT ANSWER✔✔-nth root (x,n) | | | | |




sign(#) - CORRECT ANSWER✔✔-signum function
| | | | |




- if the input is positive MATLAB will return the number +1
| | | | | | | | | | | |




- if the input is negative MATLAB will return the number -1
| | | | | | | | | | | |

Written for

Institution
CMPSC 200
Course
CMPSC 200

Document information

Uploaded on
March 25, 2026
Number of pages
65
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$21.49
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
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Lectphilip West Virginia University
Follow You need to be logged in order to follow users or courses
Sold
258
Member since
1 year
Number of followers
6
Documents
23843
Last sold
1 day ago
WELCOME TO LECTPHILIP, A PLACE WHERE WE UNLOCK YOUR ACADEMIC OPPORTUNITIES

On this page, you find all documents, package deals and flashcards offered by seller lectphilip

4.0

41 reviews

5
20
4
8
3
9
2
2
1
2

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