• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 19 pages
Exam (elaborations)

CMPSC 200 Midterm Questions with complete solution

Document preview thumbnail
Preview 3 out of 19 pages

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)

Content preview

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)


non-volatile memory - correct answer ✔slower, permanent storage (ROM,
CD)


program - correct answer ✔set of instructions to perform specific tasks


algorithm - correct answer ✔set of steps for doing something


operating system (OS) - correct answer ✔allocated computer resources


software - correct answer ✔consists of the OS and other programs used by
the computer

,high-level language - correct answer ✔easy to understand, hard for
computers


low-level language - correct answer ✔hard to understand, better for
computers


machine language - correct answer ✔binary digits (1s, 0s) good for
computers


compiled languages - correct answer ✔instructions are converted to machine
instructions prior to run time then saved as a file which can be run (C++)


interpreted languages - correct answer ✔instructions are saved in the same
format as they were written and converted to machine instructions at run time,
easier to develop (MATLAB)


MATLAB - correct answer ✔matrix laboratory


GUI - correct answer ✔graphical user interface


% - correct answer ✔single line comments


%{
%} - correct answer ✔block comments


clc - correct answer ✔clears screen


clear - correct answer ✔deletes variables

, .*,./ (not needed for +,-) - correct answer ✔element operations for matrices [ ]


; - correct answer ✔no result is printed on the screen


Arrays - correct answer ✔matrices (one line or several)
commas can separate terms
semicolons separate rows


a:b:c - correct answer ✔row of regularly spaced sets of numbers (if no 'b',
then spacing is 1)


A(i,j) - correct answer ✔ith row and jth column


abs(x) - correct answer ✔absolute value


sqrt(x) - correct answer ✔square root


nthroot(x,n) - correct answer ✔nth root of x


sign(x) - correct answer ✔sign (signum) function tells whether a function is
greater than, equal to or less than 0


1 - correct answer ✔positive, true


0 - correct answer ✔zero, false

Document information

Uploaded on
January 22, 2025
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

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

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.
STUVIAMAESTRO254
2.6
(40)
Sold
171
Followers
98
Items
9799
Last sold
3 weeks ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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