WGU D278 OA | OBJECTIVE ASSESSMENT | 163
QUESTIONS AND ANSWERS | 2025 UPDATE | 100%
CORRECT.
1. Program:
ANS>> gConsists gof ginstructions gexecuting gone gat ga gtime.
2. Input:
gANS>> g g A gprogram ggets gdata, gperhaps gfrom ga gfile, gkeyboard, gtouchscreen, gnetwork, getc.
3. Process:
gANS>> g g A gprograms gperforms gcomputations gon gthat gdata, gsuch gas gadding gtwo gvalues glike gx
g+ gy.
4. Output: g
ANS>> g g A gprograms gputs gthat gdata gsomewhere, gsuch gas gto ga gfile, gscreen, gnetwork, getc.
5. Computational g thinking: g
ANS>> gCreating ga gsequence gof ginstructions gto gsolve ga gproblem.
6. Algorithm:
gANS>> g g A gsequence gof ginstructions gthat gsolves ga gproblem.
7. Statement: g
ANS>> gCarries gout gsome gaction gand gexecuting gone gat ga gtime.
8. String gliteral: g
ANS>> g gConsists gof gtext g(characters) gwithin gdouble gquotes, gas gin g"Go g#57!".
9. Cursor:
gANS>> g g Indicates gwhere gthe gnext goutput gitem gwill gbe gplaced gin gthe goutput.
10. Newline:
1 g/
g14
,WGU D278 OA | OBJECTIVE ASSESSMENT | 163
QUESTIONS AND ANSWERS | 2025 UPDATE | 100%
CORRECT.
ANS>> g gA gspecial gtwo-character gsequence g\n gwhose gappearance gin gan goutput gstring gliteral
g
gcauses gthe gcursor g to gmove gto gthe gnext goutput gline. gThe gnewline gexists ginvisibly gin gthe goutput.
11. Comment:
gANS>> g g Text gadded gto ga gprogram, gread gby ghumans gto gunderstand gthe gcode, gbut gignored
gby gthe gprogram gwhen gexecuted.
12. Whitespace:
gANS>> g g Refers gto gblank gspaces g(space gand gtab gcharacters) gbetween gitems gwithin ga
gstatement, gand gto g newlines. gWhitespace ghelps gimprove greadability gfor ghumans, gbut gfor
gexecution gpurposes gis gmostly gignored.
13. Pseudocode: g
ANS>> gText gthat gresembles ga gprogram gin ga greal gprogramming glanguage gbut gis gsimplified gto
gaid ghuman gunderstanding.
14. Assignment g statement: g
ANS>> gAssigns ga gvariable gwith ga gvalue, gsuch gas gx g= g5. gAn gassignment gstatement's gleft
gside gmust gbe ga gvariable. gThe gright gside gis gan gexpression.Examples: gx g= g5, gy g= ga, gor gz g= gw g+ g2.
15. =:
gANS>> g gIn gprogramming, g= gis gan gassignment gof ga gleft-side gvariable gwith ga gright-side gvalue. gIt
gdoes gnot grepresent gequality glike gin gmathematics.
16. Variable g declaration:
gANS>> g g Declares ga gnew gvariable, gspecifying gthe gvariable's gname gand gtype.
17. Identifier:
ANS>> g gA gname gcreated gby ga gprogrammer gfor gan gitem glike ga gvariable gor gfunction. gAn
g
gidentifier gmust: gbe ga gsequence gof gletters g(a-z, gA-Z), gunderscores g(_), gand gdigits g(0-9), gAND gstart
gwith ga gletter gor gunderscore.
2 g/
g14
QUESTIONS AND ANSWERS | 2025 UPDATE | 100%
CORRECT.
1. Program:
ANS>> gConsists gof ginstructions gexecuting gone gat ga gtime.
2. Input:
gANS>> g g A gprogram ggets gdata, gperhaps gfrom ga gfile, gkeyboard, gtouchscreen, gnetwork, getc.
3. Process:
gANS>> g g A gprograms gperforms gcomputations gon gthat gdata, gsuch gas gadding gtwo gvalues glike gx
g+ gy.
4. Output: g
ANS>> g g A gprograms gputs gthat gdata gsomewhere, gsuch gas gto ga gfile, gscreen, gnetwork, getc.
5. Computational g thinking: g
ANS>> gCreating ga gsequence gof ginstructions gto gsolve ga gproblem.
6. Algorithm:
gANS>> g g A gsequence gof ginstructions gthat gsolves ga gproblem.
7. Statement: g
ANS>> gCarries gout gsome gaction gand gexecuting gone gat ga gtime.
8. String gliteral: g
ANS>> g gConsists gof gtext g(characters) gwithin gdouble gquotes, gas gin g"Go g#57!".
9. Cursor:
gANS>> g g Indicates gwhere gthe gnext goutput gitem gwill gbe gplaced gin gthe goutput.
10. Newline:
1 g/
g14
,WGU D278 OA | OBJECTIVE ASSESSMENT | 163
QUESTIONS AND ANSWERS | 2025 UPDATE | 100%
CORRECT.
ANS>> g gA gspecial gtwo-character gsequence g\n gwhose gappearance gin gan goutput gstring gliteral
g
gcauses gthe gcursor g to gmove gto gthe gnext goutput gline. gThe gnewline gexists ginvisibly gin gthe goutput.
11. Comment:
gANS>> g g Text gadded gto ga gprogram, gread gby ghumans gto gunderstand gthe gcode, gbut gignored
gby gthe gprogram gwhen gexecuted.
12. Whitespace:
gANS>> g g Refers gto gblank gspaces g(space gand gtab gcharacters) gbetween gitems gwithin ga
gstatement, gand gto g newlines. gWhitespace ghelps gimprove greadability gfor ghumans, gbut gfor
gexecution gpurposes gis gmostly gignored.
13. Pseudocode: g
ANS>> gText gthat gresembles ga gprogram gin ga greal gprogramming glanguage gbut gis gsimplified gto
gaid ghuman gunderstanding.
14. Assignment g statement: g
ANS>> gAssigns ga gvariable gwith ga gvalue, gsuch gas gx g= g5. gAn gassignment gstatement's gleft
gside gmust gbe ga gvariable. gThe gright gside gis gan gexpression.Examples: gx g= g5, gy g= ga, gor gz g= gw g+ g2.
15. =:
gANS>> g gIn gprogramming, g= gis gan gassignment gof ga gleft-side gvariable gwith ga gright-side gvalue. gIt
gdoes gnot grepresent gequality glike gin gmathematics.
16. Variable g declaration:
gANS>> g g Declares ga gnew gvariable, gspecifying gthe gvariable's gname gand gtype.
17. Identifier:
ANS>> g gA gname gcreated gby ga gprogrammer gfor gan gitem glike ga gvariable gor gfunction. gAn
g
gidentifier gmust: gbe ga gsequence gof gletters g(a-z, gA-Z), gunderscores g(_), gand gdigits g(0-9), gAND gstart
gwith ga gletter gor gunderscore.
2 g/
g14