• Verkeerd document? Gratis ruilen
  • Geschreven door studenten die geslaagd zijn
  • Direct beschikbaar na je betaling
  • Online lezen of als PDF
Verkopen
Kies je studieland
Kies je taal
Document preview thumbnail
Voorbeeld 2 van de 11 pagina's
Tentamen (uitwerkingen)

PSU Computer Science 101 Exam 1 Study Guide

Document preview thumbnail
Voorbeeld 2 van de 11 pagina's

PSU Computer Science 101 Exam 1 Study Guide

Voorbeeld van de inhoud

ons@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZHxh-2Page
ons10/27/2026,
10/27/2026,
3:41:20
4:25:30
AM~~~~~~())))))))))))))(@)(*@U*(PSU
AMPSU Computer Science 101 Exam
Computer
1 Study
Science
1Questions10/27/2026,
of 11PSU
101 Exam
Computer
1 Study
Science
3:41:20
Questions@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZH
101
AM~~~~~~())))))))))))))(@)(*@U*(PSU
Exam 1 Study Questions.pdf10/27/2026,
Computer
3:41:39
Science
AM 101 Exa




PSU Computer Science 101 Exam 1 Study
Questions
Which term refers to a series of finite steps for solving a problem or carrying out a task?
a. pattern
b. algorithm
c. decomposition
d. level of abstraction - CORRECT ANSWER-algorithm

Why are computer scientists interested in algorithm efficiency?
a. Efficient algorithms increase the security of computer programs.
b. Efficient algorithms always produce a programming blueprint that can easily be
applied to any programming language.
c. Efficient algorithms produce simple, straightforward computer programs with very few
lines of code.
d. Efficient algorithms tend to produce computer programs that operate efficiently,
quickly, and reliably. - CORRECT ANSWER-d. Efficient algorithms tend to produce
computer programs that operate efficiently, quickly, and reliably.

An effective algorithm _____.
a. applies to only one specific input
b. terminates only upon user request
c. produces at most one output
d. produces one or more outputs - CORRECT ANSWER-d. produces one or more
outputs

A compiler uses ____ as input and generates ____ as output.
a. binary executable files; object files
b. object files; binary executable files
c. source code; object code
d. object code; source code - CORRECT ANSWER-c. source code; object code

A(n) ____ is a software utility that begins with the first statement in a program,
preprocesses it into a binary instruction, and then executes it.
a. preprocessor
b. linker
c. interpreter
d. compiler - CORRECT ANSWER-c. interpreter




ons@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZHxh-2Page
26, 3:41:20
10/27/2026,
AM~~~~~~())))))))))))))(@)(*@U*(PSU
4:25:30 AMPSU Computer Science
Computer
101Science
Exam 1101
Study
Exam
1Questions10/27/2026,
of 11PSU
1 StudyComputer
Questions@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZHxh-2Page
Science
3:41:20 101
AM~~~~~~())))))))))))))(@)(*@U*(PSU
Exam 1 Study Questions.pdf10/27/2026,
Computer
3:41:39
Science
AM 101 Exa
1

,ons@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZHxh-2Page
ons10/27/2026,
10/27/2026,
3:41:20
4:25:30
AM~~~~~~())))))))))))))(@)(*@U*(PSU
AMPSU Computer Science 101 Exam
Computer
1 Study
Science
2Questions10/27/2026,
of 11PSU
101 Exam
Computer
1 Study
Science
3:41:20
Questions@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZH
101
AM~~~~~~())))))))))))))(@)(*@U*(PSU
Exam 1 Study Questions.pdf10/27/2026,
Computer
3:41:39
Science
AM 101 Exa




Which action can cause a runtime error in a program?
a. dividing a number by zero
b. inserting a keyword in the wrong position
c. leaving quotes or brackets unpaired
d. using the wrong variable in a calculation - CORRECT ANSWER-a. dividing a number
by zero

Which action will cause a syntax error?
a. accessing a file that does not exist
b. leaving a keyword out of a statement
c. using the wrong expression for a decision
d. forgetting the order of operations - CORRECT ANSWER-b. leaving a keyword out of
a statement

Which action can cause a logic error in a program?
a. inserting a keyword in the wrong position
b. forgetting to declare a variable before using it
c. using the wrong expression for a decision
d. dividing a number by zero - CORRECT ANSWER-c. using the wrong expression for a
decision

When you install Python, it comes with a built-in, easy-to-use integrated development
environment called _____.
a. REPL
b. PyPi
c. PyCharm
d. IDLE - CORRECT ANSWER-d. IDLE

When using IDLE, you choose shell mode _____.
a. in order to save your work for future use
b. by saving your file and then pressing F5
c. when you want to quickly test lines of code
d. by closing the IDLE window on your desktop - CORRECT ANSWER-c. when you
want to quickly test lines of code

Which phrase describes character and string literals?
a. words used by a programming language for a specific purpose
b. named memory locations that hold data that is not changed by the statements in a
program




ons@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZHxh-2Page
26, 3:41:20
10/27/2026,
AM~~~~~~())))))))))))))(@)(*@U*(PSU
4:25:30 AMPSU Computer Science
Computer
101Science
Exam 1101
Study
Exam
2Questions10/27/2026,
of 11PSU
1 StudyComputer
Questions@#&&*#&()&(*&)*$*)($*)*@($*(*@)$(*@$(&(*$$(&*$($2ZOIZHxh-2Page
Science
3:41:20 101
AM~~~~~~())))))))))))))(@)(*@U*(PSU
Exam 1 Study Questions.pdf10/27/2026,
Computer
3:41:39
Science
AM 101 Exa
2

Documentinformatie

Geüpload op
28 oktober 2026
Aantal pagina's
11
Geschreven in
2026/2027
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden
€10,39

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

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.
read
4,7
(583)
Verkocht
5506
Volgers
7
Items
1656
Laatst verkocht
1 week geleden



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 Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het 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