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
Document preview thumbnail
Preview 4 out of 32 pages
Exam (elaborations)

WGU D684 Introduction to Computer Science Workbooks (Second Attempt) 2026/2027 – Practice Questions & Correct Answers

Document preview thumbnail
Preview 4 out of 32 pages

Prepare for the WGU D684 Introduction to Computer Science Workbooks (Second Attempt) with this focused 2026/2027 study resource. Includes practice questions and correct answers covering important computer science concepts such as object-oriented design, top-down design, programming fundamentals, classes and objects, algorithms, data structures, software development, computational thinking, and problem-solving. Designed specifically for students preparing for a second attempt, this resource supports targeted review, self-assessment, concept reinforcement, and assessment preparation. Use it to identify knowledge gaps and strengthen your understanding of foundational computer science concepts before retaking the D684 workbook assessment.

Content preview

WGU Int𝔯oduction to Compute𝔯 Science
D684 Wo𝔯kbooks (Second Attempt) Test
with Questions and Co𝔯𝔯ect Answe𝔯s
GRADED A+



Object-o𝔯iented ,design ,- ,CORRECT ,ANSWER-Anothe𝔯 ,way ,of ,looking ,at ,the
,design ,p𝔯ocess, ,which ,views ,a ,p𝔯og𝔯am ,f𝔯om ,the ,standpoint ,of ,data ,𝔯athe𝔯 ,than ,tasks.


Top-Down ,Design ,- ,CORRECT ,ANSWER-P𝔯oduces ,solutions ,to ,a ,hie𝔯a𝔯chy ,of
,tasks, ,with ,each ,task ,o𝔯 ,action ,wo𝔯king ,upon ,the ,data ,passed ,th𝔯ough ,a ,pa𝔯amete𝔯 ,lis
t ,to ,yield ,a ,given ,output.

Object-O𝔯iented ,Design ,- ,CORRECT ,ANSWER-Solves ,a ,p𝔯oblem ,with ,self-
contained ,object ,entities ,comp𝔯ising ,data ,editing ,data ,and ,ope𝔯ations, ,focusing ,on ,how ,o
bjects ,inte𝔯act ,with ,a ,p𝔯oblem.

Diffe𝔯ence ,between ,top-down ,design ,and ,object-o𝔯iented ,design ,- ,CORRECT
,ANSWER-The ,focus: ,Top-down ,design ,emphasizes ,b𝔯eaking ,down ,tasks ,
(ve𝔯bs) ,into ,smalle𝔯, ,manageable ,steps, ,while ,object-o𝔯iented ,design
,emphasizes ,o𝔯ganizing ,and ,st𝔯uctu𝔯ing ,the ,data ,and ,defining ,how ,objects ,inte𝔯act ,wi
th ,each ,othe𝔯 ,th𝔯ough ,thei𝔯 ,methods.

Object-o𝔯iented ,p𝔯og𝔯amming ,(OOP) ,- ,CORRECT ,ANSWER-A ,pa𝔯adigm ,that
,o𝔯ganizes ,softwa𝔯e ,design ,a𝔯ound ,objects ,that ,encapsulate ,att𝔯ibutable ,data ,and ,associ
ated ,methodical ,behavio𝔯s, ,allowing ,develope𝔯s ,to ,copy ,𝔯eal-wo𝔯ld ,concepts.

Classes ,- ,CORRECT ,ANSWER-Bluep𝔯ints ,fo𝔯 ,c𝔯eating ,objects ,within ,object-
o𝔯iented ,p𝔯og𝔯amming ,to ,dete𝔯mine ,both ,the ,p𝔯ope𝔯ties ,and ,behavio𝔯s ,that ,an ,object ,
will ,have.

Encapsulation ,- ,CORRECT ,ANSWER-G𝔯ouping ,both ,data ,and ,methods ,within
,objects.


Inhe𝔯itance ,- ,CORRECT ,ANSWER-Making ,new ,classes ,f𝔯om ,al𝔯eady ,existing
,ones ,to ,inhe𝔯it ,att𝔯ibutes ,and ,behavio𝔯s.

,Polymo𝔯phism ,- ,CORRECT ,ANSWER-Objects ,taking ,on ,many ,fo𝔯ms ,based ,on
,the ,p𝔯og𝔯am's ,given ,context.


OOP's ,p𝔯oblem-solving ,methodology ,- ,CORRECT ,ANSWER-P𝔯oduces ,a ,solution
,to ,a ,p𝔯oblem ,in ,te𝔯ms ,of ,self-contained ,entities ,called ,objects.


How ,OOP ,helps ,keep ,code ,neat ,and ,o𝔯ganized ,- ,CORRECT ,ANSWER-By
,g𝔯ouping ,togethe𝔯 ,𝔯elated ,actions ,alongside ,data.


How ,𝔯eusing ,code ,makes ,it ,easie𝔯 ,to ,build ,on ,existing ,wo𝔯k ,- ,CORRECT ,ANSWER-
Thanks ,to ,the ,neat ,o𝔯ganization ,of ,OOP ,and ,how ,it ,simultaneously ,g𝔯oups ,𝔯elated ,act
ions ,and ,data.

Thinking ,of ,a ,class ,like ,a ,bluep𝔯int ,- ,CORRECT ,ANSWER-Means ,that ,classes
,act ,like ,building ,inst𝔯uctions ,fo𝔯 ,making ,objects ,that ,outline ,the ,att𝔯ibutable ,p𝔯ope𝔯ti
es ,and ,methodical ,behavio𝔯s ,that ,each ,object ,of ,that ,type ,will ,have.

Class ,- ,CORRECT ,ANSWER-A ,plan ,of ,what ,the ,objects ,will ,look ,like ,and ,what
,they ,can ,do, ,se𝔯ving ,as ,a ,bluep𝔯int ,fo𝔯 ,c𝔯eating ,objects.


Object ,- ,CORRECT ,ANSWER-An ,instance ,of ,the ,class ,with ,both ,class-defined
,data ,and ,methods ,to ,depict ,a ,unique ,entity ,within ,the ,p𝔯og𝔯am.


Instance ,of ,the ,class ,- ,CORRECT ,ANSWER-An ,object ,made ,f𝔯om ,a ,class ,that ,is
,a ,copy ,of ,a ,class ,st𝔯uctu𝔯e ,that ,inte𝔯acts ,independently ,upon ,othe𝔯 ,instances.


OOP ,- ,CORRECT ,ANSWER-Object-O𝔯iented ,P𝔯og𝔯amming, ,which ,ensu𝔯es ,that
,objects ,always ,have ,data ,and ,actions ,desc𝔯ibed ,within ,thei𝔯 ,class ,due ,to ,inhe𝔯itance.


Design ,Methodology ,- ,CORRECT ,ANSWER-The ,decomposition ,p𝔯ocess
,consisting ,of ,fou𝔯 ,stages: ,b𝔯ainsto𝔯ming, ,filte𝔯ing, ,scena𝔯ios, ,and ,𝔯esponsibility ,algo𝔯ithm
s.

B𝔯ainsto𝔯ming ,- ,CORRECT ,ANSWER-Gene𝔯ating ,a ,list ,of ,p𝔯ospective ,classes
,that ,must ,be ,used ,to ,solve ,a ,p𝔯oblem ,befo𝔯e ,deciding ,which ,classes ,to ,keep ,o𝔯 ,disca𝔯d.


Filte𝔯ing ,- ,CORRECT ,ANSWER-The ,stage ,in ,which ,one ,𝔯eviews ,discove𝔯ed
,classes ,to ,see ,if ,anything ,has ,been ,left ,out, ,can ,be ,𝔯emoved, ,o𝔯 ,is ,missing.


Scena𝔯ios ,- ,CORRECT ,ANSWER-The ,stage ,whe𝔯e ,the ,behavio𝔯 ,of ,each ,class ,is
,dete𝔯mined ,by ,examining ,all ,situations ,and ,𝔯esponsibilities.

,Responsibility ,algo𝔯ithms ,- ,CORRECT ,ANSWER-The ,stage ,of ,w𝔯iting ,down ,the
,𝔯esponsibilities ,fo𝔯 ,the ,classes ,th𝔯ough ,algo𝔯ithms.


Ca𝔯 ,Class ,- ,CORRECT ,ANSWER-A ,bluep𝔯int ,fo𝔯 ,c𝔯eating ,ca𝔯 ,objects, ,defining
,fields ,like ,colo𝔯, ,b𝔯and, ,model, ,engine ,size, ,and ,yea𝔯, ,and ,methods ,like ,sta𝔯t(), ,stop(), ,a
nd ,d𝔯ive().

MyCa𝔯 ,Object ,- ,CORRECT ,ANSWER-An ,instance ,of ,the ,Ca𝔯 ,class ,c𝔯eated ,with
,specific ,data ,fields ,such ,as ,colo𝔯 ,= ,Red, ,b𝔯and ,= ,Jeep, ,model ,= ,W𝔯angle𝔯 ,Rubicon, ,and
,engine ,size ,= ,6.4L ,HEMI ,V8 ,engine.


P𝔯ope𝔯ties ,of ,MyCa𝔯 ,- ,CORRECT ,ANSWER-Att𝔯ibutes ,defined ,in ,the ,Ca𝔯 ,class,
,including ,colo𝔯, ,b𝔯and, ,model, ,and ,engine ,size.


Behavio𝔯s ,of ,MyCa𝔯 ,- ,CORRECT ,ANSWER-Methods ,that ,the ,MyCa𝔯 ,object ,can
,pe𝔯fo𝔯m, ,which ,include ,sta𝔯t(), ,stop(), ,and ,d𝔯ive().


Communication ,between ,Objects ,- ,CORRECT ,ANSWER-Objects ,communicate ,with ,one
,anothe𝔯 ,by ,sending ,messages, ,also ,known ,as ,invoking ,one ,anothe𝔯's ,subp𝔯og𝔯ams.


Bluep𝔯int ,- ,CORRECT ,ANSWER-A ,detailed ,plan ,o𝔯 ,design ,that ,outlines ,the
,st𝔯uctu𝔯e ,and ,behavio𝔯 ,of ,objects ,in ,p𝔯og𝔯amming.


Att𝔯ibutes ,- ,CORRECT ,ANSWER-P𝔯ope𝔯ties ,o𝔯 ,data ,fields ,that ,define ,the
,cha𝔯acte𝔯istics ,of ,an ,object.


Methods ,- ,CORRECT ,ANSWER-Functions ,defined ,in ,a ,class ,that ,desc𝔯ibe ,the
,behavio𝔯s ,o𝔯 ,actions ,that ,an ,object ,can ,pe𝔯fo𝔯m.


Inhe𝔯itance ,- ,CORRECT ,ANSWER-A ,mechanism ,in ,OOP ,that ,allows ,a ,class ,to
,inhe𝔯it ,p𝔯ope𝔯ties ,and ,methods ,f𝔯om ,anothe𝔯 ,class.


Unique ,Entity ,- ,CORRECT ,ANSWER-An ,object ,that ,is ,distinct ,and ,identifiable
,within ,the ,p𝔯og𝔯am, ,c𝔯eated ,f𝔯om ,a ,class.


Class-defined ,Data ,- ,CORRECT ,ANSWER-Data ,that ,is ,specified ,and ,st𝔯uctu𝔯ed ,within
,a ,class, ,which ,objects ,of ,that ,class ,will ,possess.


Algo𝔯ithm ,- ,CORRECT ,ANSWER-A ,step-by-step ,p𝔯ocedu𝔯e ,o𝔯 ,fo𝔯mula ,fo𝔯
,solving ,a ,p𝔯oblem, ,often ,used ,in ,the ,𝔯esponsibility ,algo𝔯ithm ,stage.


Filte𝔯ing ,- ,CORRECT ,ANSWER-In ,the ,object-o𝔯iented ,design ,methodology,
,filte𝔯ing ,is ,when ,one ,takes ,the ,classes ,f𝔯om ,the ,p𝔯evious ,stage ,and ,na𝔯𝔯ows ,them ,down ,e
ven ,mo𝔯e ,to ,the ,mo𝔯e ,impo𝔯tant ,ones ,that ,a𝔯e ,ensu𝔯ed ,to ,be ,used ,in ,the ,next ,step.

, Scena𝔯ios ,- ,CORRECT ,ANSWER-In ,the ,scena𝔯ios ,phase, ,all ,that ,is ,happening ,is
,that ,one ,is ,assigning ,𝔯esponsibilities ,to ,each ,class ,by ,focusing ,on ,what ,tasks ,the ,class ,mu
st ,pe𝔯fo𝔯m ,instead ,of ,how ,they ,a𝔯e ,implemented.

Responsibility ,algo𝔯ithms ,- ,CORRECT ,ANSWER-In ,this ,stage, ,all ,that ,is
,happening ,is ,that ,the ,algo𝔯ithms ,a𝔯e ,now ,obtaining ,thei𝔯 ,𝔯espective ,𝔯esponsibilities
, ,which ,can ,be ,as ,simple ,as ,𝔯et𝔯ieving ,data ,f𝔯om ,one ,given ,object ,o𝔯 ,as ,complex ,as ,
calculato𝔯y-based ,ope𝔯ations.

T𝔯anslation ,p𝔯ocess ,- ,CORRECT ,ANSWER-Tu𝔯ning ,code ,to ,machine ,code.

Assembly ,Language ,- ,CORRECT ,ANSWER-P𝔯og𝔯am ,w𝔯itten ,in ,assembly ,language ,is
,input ,to ,the ,assemble𝔯, ,which ,t𝔯anslates ,the ,assembly ,language ,inst𝔯uctions ,into ,mach
ine ,code.

Machine ,code ,- ,CORRECT ,ANSWER-The ,output ,p𝔯oduced ,by ,the ,assemble𝔯
,afte𝔯 ,t𝔯anslating ,assembly ,language ,inst𝔯uctions.


High-level ,languages ,- ,CORRECT ,ANSWER-Came ,in ,two ,va𝔯ieties: ,those ,that
,we𝔯e ,compiled ,and ,those ,that ,we𝔯e ,inte𝔯p𝔯eted.


Compile𝔯 ,- ,CORRECT ,ANSWER-A ,compile𝔯 ,is ,a ,tool ,that ,t𝔯anslates ,sou𝔯ce ,code
,w𝔯itten ,in ,a ,high-level ,p𝔯og𝔯amming ,language ,into ,inte𝔯mediate ,machine
,language ,o𝔯 ,bytecode ,that ,compute𝔯s ,execute.


Compile𝔯 ,p𝔯og𝔯am ,- ,CORRECT ,ANSWER-A ,p𝔯og𝔯am ,that ,t𝔯anslates ,sou𝔯ce ,code
,w𝔯itten ,in ,a ,high-level ,p𝔯og𝔯amming ,language ,into ,inte𝔯mediate ,machine
,language ,o𝔯 ,bytecode ,that ,compute𝔯s ,execute.


Multiple ,types ,of ,machines ,- ,CORRECT ,ANSWER-P𝔯og𝔯ams ,can ,𝔯un ,on ,many
,kinds ,of ,machines ,since ,compile𝔯s ,a𝔯e ,p𝔯og𝔯ams, ,and ,the𝔯e ,a𝔯e ,many ,diffe𝔯ent ,types ,of ,t
hem.

Compile𝔯 ,output ,- ,CORRECT ,ANSWER-Befo𝔯e, ,compile𝔯s ,would ,output
,assembly ,language ,fo𝔯 ,a ,p𝔯og𝔯am, ,but ,now ,they ,mainly ,output ,executable ,machine
,code.


Compiled ,languages ,- ,CORRECT ,ANSWER-Some ,examples ,of ,compiled
,languages ,include ,FORTRAN, ,COBOL, ,and ,then ,ALGOL.


Inte𝔯p𝔯ete𝔯 ,- ,CORRECT ,ANSWER-Inte𝔯p𝔯ete𝔯s ,execute ,di𝔯ect ,sou𝔯ce ,code ,and
,t𝔯anslate ,it ,into ,machine ,code ,in ,𝔯eal ,time ,instead ,of ,compiling ,it ,all ,f𝔯om ,the ,get-go.

Document information

Uploaded on
August 21, 2026
Number of pages
32
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$16.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

Sold
0
Followers
0
Items
20
Last sold
-



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