for
/ /
IT
/ /
Automation
/ /
(WGU
/ /
D522) Exam Questions With Correct Answers
/ // // // // //
What /
/are /
/the /
/traits /
/of /
/Imperative/procedural //programming? //- //CORRECT //ANSWERS(S)✔✔Focuses //on //describing //a
//sequence //of //steps //to //perform //a //task
What //are //the //traits //of //Object-
Oriented /
/Programming /
/(OOP)? //- /
/CORRECT /
/ANSWERS(S)✔✔Organize //code //around //objects, //which //encapsulate //data //and //behavior.
What /
/are /
/the /
/traits /
/of //Functional //Programming? //- //CORRECT //ANSWERS(S)✔✔emphasizes //the //use //of //functions
//and //immutable //data //for //computation.
,What /
/are /
/the /
/traits /
/of /
/Declarative /
/Programming? //- /
/CORRECT /
/ANSWERS(S)✔✔describes /
/what //the //program //should //accomplish //without //specifying //how //to //achieve //it.
What //are //the //traits //of //Event-
Driven /
/Programming? //- /
/CORRECT /
/ANSWERS(S)✔✔Reacts //to //events //and //user //actions, //triggering //corresponding //functions.
What /
/are /
/the /
/traits /
/of /
/Logic /
/Programming? //- /
/CORRECT /
/ANSWERS(S)✔✔defines //
a //set //of //logical //conditions //and //lets //the //system //deduce //solutions.
What /
/does /
/Python /
/syntax /
/refer /
/to? //- /
/CORRECT /
, /ANSWERS(S)✔✔The /
/set /
/of /
/rules /
/that /
/dictate //the //combinations //of //symbols //and //keywords //that //form //valid //Python //programs
What /
/is /
/the /
/purpose //of //indentation //in //Python? //- //CORRECT //ANSWERS(S)✔✔To //define //blocks //of //code
Why /
/might //
a/
/programmer /
/use /
/comments /
/for //'Preventing /
/Execution'? //- //CORRECT //ANSWERS(S)✔✔To //temporarily //disable //lines //or //blocks //of //code
What /
/is /
/the /
/primary /
/use /
/of /
/whitespace /
/in /
/Python? //- //CORRECT //ANSWERS(S)✔✔To //define //the //structure //and //hierarchy //of //the //code
What /
/does /
/Python /