D684 Workbooks (Sécond Attémpt) Tést
with Quéstions and Corréct Answérs
GRADED A+
Objéct-oriéntéd ,désign ,- ,CORRECT ,ANSWER-Anothér ,way ,of ,looking ,at ,thé
,désign ,procéss, ,which ,viéws ,a ,program ,from ,thé ,standpoint ,of ,data ,rathér ,than
,tasks.
Top-Down ,Désign ,- ,CORRECT ,ANSWER-Producés ,solutions ,to ,a ,hiérarchy ,of
,tasks, ,with ,éach ,task ,or ,action ,working ,upon ,thé ,data ,passéd ,through ,a ,para
métér ,list ,to ,yiéld ,a ,givén ,output.
Objéct-Oriéntéd ,Désign ,- ,CORRECT ,ANSWER-Solvés ,a ,problém ,with ,sélf-
containéd ,objéct ,éntitiés ,comprising ,data ,éditing ,data ,and ,opérations, ,focusing ,
on ,how ,objécts ,intéract ,with ,a ,problém.
Différéncé ,bétwéén ,top-down ,désign ,and ,objéct-oriéntéd ,désign ,- ,CORRECT
,ANSWER-Thé ,focus: ,Top-down ,désign ,émphasizés ,bréaking ,down ,tasks ,
(vérbs) ,into ,smallér, ,managéablé ,stéps, ,whilé ,objéct-oriéntéd ,désign
,émphasizés ,organizing ,and ,structuring ,thé ,data ,and ,défining ,how ,objécts ,in
téract ,with ,éach ,othér ,through ,théir ,méthods.
Objéct-oriéntéd ,programming ,(OOP) ,- ,CORRECT ,ANSWER-A ,paradigm ,that
,organizés ,softwaré ,désign ,around ,objécts ,that ,éncapsulaté ,attributablé ,data ,
and ,associatéd ,méthodical ,béhaviors, ,allowing ,dévélopérs ,to ,copy ,réal-world
,concépts.
Classés ,- ,CORRECT ,ANSWER-Bluéprints ,for ,créating ,objécts ,within ,objéct-
oriéntéd ,programming ,to ,détérminé ,both ,thé ,propértiés ,and ,béhaviors ,that ,an
,objéct ,will ,havé.
Encapsulation ,- ,CORRECT ,ANSWER-Grouping ,both ,data ,and ,méthods ,within
,objécts.
Inhéritancé ,- ,CORRECT ,ANSWER-Making ,néw ,classés ,from ,alréady ,éxisting
,onés ,to ,inhérit ,attributés ,and ,béhaviors.
, Polymorphism ,- ,CORRECT ,ANSWER-Objécts ,taking ,on ,many ,forms ,baséd ,on
,thé ,program's ,givén ,contéxt.
OOP's ,problém-solving ,méthodology ,- ,CORRECT ,ANSWER-Producés ,a ,solution
,to ,a ,problém ,in ,térms ,of ,sélf-containéd ,éntitiés ,calléd ,objécts.
How ,OOP ,hélps ,kéép ,codé ,néat ,and ,organizéd ,- ,CORRECT ,ANSWER-By
,grouping ,togéthér ,rélatéd ,actions ,alongsidé ,data.
How ,réusing ,codé ,makés ,it ,éasiér ,to ,build ,on ,éxisting ,work ,- ,CORRECT ,ANS
WER-Thanks ,to ,thé ,néat ,organization ,of ,OOP ,and ,how ,it ,simultanéously
,groups ,rélatéd ,actions ,and ,data.
Thinking ,of ,a ,class ,liké ,a ,bluéprint ,- ,CORRECT ,ANSWER-Méans ,that ,classés
,act ,liké ,building ,instructions ,for ,making ,objécts ,that ,outliné ,thé ,attributablé ,
propértiés ,and ,méthodical ,béhaviors ,that ,éach ,objéct ,of ,that ,typé ,will ,havé.
Class ,- ,CORRECT ,ANSWER-A ,plan ,of ,what ,thé ,objécts ,will ,look ,liké ,and ,what
,théy ,can ,do, ,sérving ,as ,a ,bluéprint ,for ,créating ,objécts.
Objéct ,- ,CORRECT ,ANSWER-An ,instancé ,of ,thé ,class ,with ,both ,class-définéd
,data ,and ,méthods ,to ,dépict ,a ,uniqué ,éntity ,within ,thé ,program.
Instancé ,of ,thé ,class ,- ,CORRECT ,ANSWER-An ,objéct ,madé ,from ,a ,class ,that ,is
,a ,copy ,of ,a ,class ,structuré ,that ,intéracts ,indépéndéntly ,upon ,othér ,instancés.
OOP ,- ,CORRECT ,ANSWER-Objéct-Oriéntéd ,Programming, ,which ,énsurés ,that
,objécts ,always ,havé ,data ,and ,actions ,déscribéd ,within ,théir ,class ,dué ,to ,inh
éritancé.
Désign ,Méthodology ,- ,CORRECT ,ANSWER-Thé ,décomposition ,procéss
,consisting ,of ,four ,stagés: ,brainstorming, ,filtéring, ,scénarios, ,and ,résponsibility
,algorithms.
Brainstorming ,- ,CORRECT ,ANSWER-Générating ,a ,list ,of ,prospéctivé ,classés
,that ,must ,bé ,uséd ,to ,solvé ,a ,problém ,béforé ,déciding ,which ,classés ,to ,kéép ,or
,discard.
Filtéring ,- ,CORRECT ,ANSWER-Thé ,stagé ,in ,which ,oné ,réviéws ,discovéréd
,classés ,to ,séé ,if ,anything ,has ,béén ,léft ,out, ,can ,bé ,rémovéd, ,or ,is ,missing.
Scénarios ,- ,CORRECT ,ANSWER-Thé ,stagé ,whéré ,thé ,béhavior ,of ,éach ,class ,is
,détérminéd ,by ,éxamining ,all ,situations ,and ,résponsibilitiés.
,Résponsibility ,algorithms ,- ,CORRECT ,ANSWER-Thé ,stagé ,of ,writing ,down ,thé
,résponsibilitiés ,for ,thé ,classés ,through ,algorithms.
Car ,Class ,- ,CORRECT ,ANSWER-A ,bluéprint ,for ,créating ,car ,objécts, ,défining
,fiélds ,liké ,color, ,brand, ,modél, ,énginé ,sizé, ,and ,yéar, ,and ,méthods ,liké ,start(),
,stop(), ,and ,drivé().
MyCar ,Objéct ,- ,CORRECT ,ANSWER-An ,instancé ,of ,thé ,Car ,class ,créatéd ,with
,spécific ,data ,fiélds ,such ,as ,color ,= ,Réd, ,brand ,= ,Jéép, ,modél ,= ,Wranglér ,Rub
icon, ,and ,énginé ,sizé ,= ,6.4L ,HEMI ,V8 ,énginé.
Propértiés ,of ,MyCar ,- ,CORRECT ,ANSWER-Attributés ,définéd ,in ,thé ,Car ,class,
,including ,color, ,brand, ,modél, ,and ,énginé ,sizé.
Béhaviors ,of ,MyCar ,- ,CORRECT ,ANSWER-Méthods ,that ,thé ,MyCar ,objéct ,can
,pérform, ,which ,includé ,start(), ,stop(), ,and ,drivé().
Communication ,bétwéén ,Objécts ,- ,CORRECT ,ANSWER-Objécts ,communicaté
,with ,oné ,anothér ,by ,sénding ,méssagés, ,also ,known ,as ,invoking ,oné ,anothér's ,
subprograms.
Bluéprint ,- ,CORRECT ,ANSWER-A ,détailéd ,plan ,or ,désign ,that ,outlinés ,thé
,structuré ,and ,béhavior ,of ,objécts ,in ,programming.
Attributés ,- ,CORRECT ,ANSWER-Propértiés ,or ,data ,fiélds ,that ,définé ,thé
,charactéristics ,of ,an ,objéct.
Méthods ,- ,CORRECT ,ANSWER-Functions ,définéd ,in ,a ,class ,that ,déscribé ,thé
,béhaviors ,or ,actions ,that ,an ,objéct ,can ,pérform.
Inhéritancé ,- ,CORRECT ,ANSWER-A ,méchanism ,in ,OOP ,that ,allows ,a ,class ,to
,inhérit ,propértiés ,and ,méthods ,from ,anothér ,class.
Uniqué ,Entity ,- ,CORRECT ,ANSWER-An ,objéct ,that ,is ,distinct ,and ,idéntifiablé
,within ,thé ,program, ,créatéd ,from ,a ,class.
Class-définéd ,Data ,- ,CORRECT ,ANSWER-Data ,that ,is ,spécifiéd ,and ,structuréd
,within ,a ,class, ,which ,objécts ,of ,that ,class ,will ,posséss.
Algorithm ,- ,CORRECT ,ANSWER-A ,stép-by-stép ,procéduré ,or ,formula ,for
,solving ,a ,problém, ,oftén ,uséd ,in ,thé ,résponsibility ,algorithm ,stagé.
Filtéring ,- ,CORRECT ,ANSWER-In ,thé ,objéct-oriéntéd ,désign ,méthodology,
,filtéring ,is ,whén ,oné ,takés ,thé ,classés ,from ,thé ,prévious ,stagé ,and ,narrows ,th
ém ,down ,évén ,moré ,to ,thé ,moré ,important ,onés ,that ,aré ,énsuréd ,to ,bé ,uséd ,in
,thé ,néxt ,stép.
, Scénarios ,- ,CORRECT ,ANSWER-In ,thé ,scénarios ,phasé, ,all ,that ,is ,happéning ,is
,that ,oné ,is ,assigning ,résponsibilitiés ,to ,éach ,class ,by ,focusing ,on ,what ,tasks ,
thé ,class ,must ,pérform ,instéad ,of ,how ,théy ,aré ,impléméntéd.
Résponsibility ,algorithms ,- ,CORRECT ,ANSWER-In ,this ,stagé, ,all ,that ,is
,happéning ,is ,that ,thé ,algorithms ,aré ,now ,obtaining ,théir ,réspéctivé ,réspo
nsibilitiés, ,which ,can ,bé ,as ,simplé ,as ,rétriéving ,data ,from ,oné ,givén ,objéc
t ,or ,as ,compléx ,as ,calculatory-baséd ,opérations.
Translation ,procéss ,- ,CORRECT ,ANSWER-Turning ,codé ,to ,machiné ,codé.
Assémbly ,Languagé ,- ,CORRECT ,ANSWER-Program ,writtén ,in ,assémbly
,languagé ,is ,input ,to ,thé ,assémblér, ,which ,translatés ,thé ,assémbly ,languagé ,
instructions ,into ,machiné ,codé.
Machiné ,codé ,- ,CORRECT ,ANSWER-Thé ,output ,producéd ,by ,thé ,assémblér
,aftér ,translating ,assémbly ,languagé ,instructions.
High-lévél ,languagés ,- ,CORRECT ,ANSWER-Camé ,in ,two ,variétiés: ,thosé ,that
,wéré ,compiléd ,and ,thosé ,that ,wéré ,intérprétéd.
Compilér ,- ,CORRECT ,ANSWER-A ,compilér ,is ,a ,tool ,that ,translatés ,sourcé ,codé
,writtén ,in ,a ,high-lévél ,programming ,languagé ,into ,intérmédiaté ,machiné
,languagé ,or ,bytécodé ,that ,computérs ,éxécuté.
Compilér ,program ,- ,CORRECT ,ANSWER-A ,program ,that ,translatés ,sourcé ,codé
,writtén ,in ,a ,high-lévél ,programming ,languagé ,into ,intérmédiaté ,machiné
,languagé ,or ,bytécodé ,that ,computérs ,éxécuté.
Multiplé ,typés ,of ,machinés ,- ,CORRECT ,ANSWER-Programs ,can ,run ,on ,many
,kinds ,of ,machinés ,sincé ,compilérs ,aré ,programs, ,and ,théré ,aré ,many ,différént ,
typés ,of ,thém.
Compilér ,output ,- ,CORRECT ,ANSWER-Béforé, ,compilérs ,would ,output
,assémbly ,languagé ,for ,a ,program, ,but ,now ,théy ,mainly ,output ,éxécutablé ,
machiné ,codé.
Compiléd ,languagés ,- ,CORRECT ,ANSWER-Somé ,éxamplés ,of ,compiléd
,languagés ,includé ,FORTRAN, ,COBOL, ,and ,thén ,ALGOL.
Intérprétér ,- ,CORRECT ,ANSWER-Intérprétérs ,éxécuté ,diréct ,sourcé ,codé ,and
,translaté ,it ,into ,machiné ,codé ,in ,réal ,timé ,instéad ,of ,compiling ,it ,all ,from ,thé
,gét-go.