Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CMPSC 200 Final Exam Questions With Correct Answers

Beoordeling
-
Verkocht
-
Pagina's
21
Cijfer
A+
Geüpload op
25-03-2026
Geschreven in
2025/2026

CMPSC 200 Final Exam Questions With Correct Answers

Instelling
CMPSC 200
Vak
CMPSC 200

Voorbeeld van de inhoud

CMPSC 200 Final Exam Questions With
Correct Answers

Issue with trying to time computer code runs - CORRECT ANSWER✔✔-run times
| | | | | | | | | | | |


can vary from run to run; operating system can make adjustments to the system
| | | | | | | | | | | | | |


clock--so using the system clock for timing is difficult
| | | | | | | |




Data types from least to most storage - CORRECT ANSWER✔✔-
| | | | | | | | |


singe<complex=double


~= - CORRECT ANSWER✔✔-not equal
| | | |




sparse matrix - CORRECT ANSWER✔✔-most elements are zero
| | | | | | |




Storage order for field names (structure arrays) - CORRECT ANSWER✔✔-in order
| | | | | | | | | | |


of creation
|




x = [4 3] - CORRECT ANSWER✔✔-x~=3
| | | | | |




x~=4


Flow chart characteristics - CORRECT ANSWER✔✔-it is a graphical representation
| | | | | | | | | |


of how computer code flows or progresses, and it is constructed with well-
| | | | | | | | | | | |


defined conventions |

,continue - CORRECT ANSWER✔✔-skips the rest of the current loop iteration,
| | | | | | | | | | |


advances to the next loop pass | | | | |




short circuit evaluation - CORRECT ANSWER✔✔-When checking logic, you do not
| | | | | | | | | | |


evaluate the other terms if you find you do not have to; only with scalars, &&,
| | | | | | | | | | | | | | | |


and || |




do while - CORRECT ANSWER✔✔-not in MATLAB; guaranteed to run at least once
| | | | | | | | | | | |




units of information used to store 1 logical variable - CORRECT ANSWER✔✔-bit
| | | | | | | | | | |




while loop vs for loop - CORRECT ANSWER✔✔-use while loop when you can only
| | | | | | | | | | | | | |


know after the fact how many times the loop will need to execute
| | | | | | | | | | | |




solving linear equations - CORRECT ANSWER✔✔-option 1: x = A\b
| | | | | | | | |




option 2: x = inv(A)*b | | | |




option 3: aug_A = [A b] | | | | |




reduced_echelon_form = rref(aug_A) | |




x = reduced_echelon_form(:, end)
| | |




Tic and toc - CORRECT ANSWER✔✔-how much wall time has elapsed for a code
| | | | | | | | | | | | | |


to run
|




Memory used to store a dense 100x100 matrix of single precision floating point
| | | | | | | | | | | | |


numbers - CORRECT ANSWER✔✔-=100*100*8*.5 KB
| | | |

, Sentinel loop - CORRECT ANSWER✔✔-terminates when a certain condition is met
| | | | | | | | | |


(sentinel condition)
| |




code vectorization - CORRECT ANSWER✔✔-uses vector operations instead of
| | | | | | | | |


element-element loop-based operations | |




computer code categories - CORRECT ANSWER✔✔-1: sequences
| | | | | |




2: selection structures
| |




3: repetition structures
| |




completely remove last cell of a cell array C - CORRECT ANSWER✔✔-C{end} = []
| | | | | | | | | | | | |




Valid for loop index - CORRECT ANSWER✔✔-a scalar, vector, or matrix
| | | | | | | | | |




if MATLAB finds a true case in a switch, it will continue checking the other cases -
| | | | | | | | | | | | | | | | |


CORRECT ANSWER✔✔-false |




An exclusive or evaluates as false when either inputs A or B (but not both) are
| | | | | | | | | | | | | | | |


non-zero - CORRECT ANSWER✔✔-false
| | |




The ' operator and the transpose command both compute transposes but these
| | | | | | | | | | | |


two techniques do not behave identically under all circumstances - CORRECT
| | | | | | | | | | |


ANSWER✔✔-true

Geschreven voor

Instelling
CMPSC 200
Vak
CMPSC 200

Documentinformatie

Geüpload op
25 maart 2026
Aantal pagina's
21
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$16.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Lectphilip West Virginia University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
258
Lid sinds
1 jaar
Aantal volgers
6
Documenten
23843
Laatst verkocht
1 dag geleden
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 beoordelingen

5
20
4
8
3
9
2
2
1
2

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen