Actual Exam with Questions and Complete
Solutions 2025 GRADED A+
- ,- ,CORRECT ,ANSWER-subtraction ,operator, ,outputs ,the ,difference ,between ,the ,two
,input ,numbers
!= ,- ,CORRECT ,ANSWER-a ,comparison ,operator ,used ,to ,compare ,if ,one ,operator ,is
,not ,equal ,to ,another
% ,- ,CORRECT ,ANSWER-modulo ,operator, ,outputs ,the ,remainder ,of ,dividing ,the ,first
,number ,by ,the ,second
* ,- ,CORRECT ,ANSWER-multiplication ,operator, ,outputs ,the ,product ,of ,the ,two ,input
,numbers
** ,- ,CORRECT ,ANSWER-exponentiation ,operator, ,outputs ,the ,result ,of ,multiplying
,<base> ,by ,itself ,<power> ,number ,of ,times
/ ,- ,CORRECT ,ANSWER-division ,operator, ,outputs ,the ,result ,of ,dividing ,the ,first
,number ,by ,the ,second
+ ,- ,CORRECT ,ANSWER-addition ,operator, ,outputs ,the ,sum ,of ,the ,two ,input ,numbers
,OR ,concatenation ,operator, ,joins ,two ,values ,together
< ,- ,CORRECT ,ANSWER-a ,comparison ,operator ,used ,to ,compare ,if ,one ,operator ,is
,less ,than ,another
< ,- ,CORRECT ,ANSWER-a ,comparison ,operator ,used ,to ,compare ,if ,one ,operator ,is
,less ,than ,another
<= ,- ,CORRECT ,ANSWER-a ,comparison ,operator ,used ,to ,compare ,if ,one ,operator ,is
,less ,than ,or ,equal ,to ,another
= ,- ,CORRECT ,ANSWER-assignment ,operator, ,assigns ,a ,value
, == ,- ,CORRECT ,ANSWER-a ,comparison ,operator ,used ,to ,compare ,if ,one ,operator ,is
,equal ,to ,another
> ,- ,CORRECT ,ANSWER-a ,comparison ,operator ,used ,to ,compare ,if ,one ,operator ,is
,greater ,than ,another
>= ,- ,CORRECT ,ANSWER-a ,comparison ,operator ,used ,to ,compare ,if ,one ,operator ,is
,greater ,than ,or ,equal ,to ,another
abstraction ,- ,CORRECT ,ANSWER-Focus ,on ,the ,essential ,qualities ,of ,something
,rather ,than ,one ,specific ,example.
actors ,- ,CORRECT ,ANSWER-An ,Actor ,in ,a ,use ,case ,is ,anything ,with ,behavior ,who
,lives ,outside ,of ,your ,system, ,outside ,of ,your ,application, ,but ,has ,a ,goal ,they ,want ,to
,accomplish ,within.
algorithm ,- ,CORRECT ,ANSWER-A ,set ,of ,commands ,that ,returns ,a ,value. ,This ,differs
,from ,a ,procedure, ,which ,is ,a ,set ,of ,commands ,that ,doesn't ,necessarily ,have ,to
,return ,a ,value.
append() ,- ,CORRECT ,ANSWER-Mutates ,<List> ,by ,adding ,<Element> ,to ,the ,end ,of
,the ,list.
argument ,- ,CORRECT ,ANSWER-The ,inputs ,to ,a ,procedure. ,Also ,called ,operands.
attributes ,- ,CORRECT ,ANSWER-Characteristics ,of ,an ,object ,which ,may ,be ,used ,to
,reference ,other ,objects ,or ,save ,object ,state ,information.
<name> ,= ,<expression> ,- ,CORRECT ,ANSWER-This ,is ,an ,assignment ,statement. ,A
,variable ,is ,named ,and ,also ,assigned ,a ,value ,or ,expression. ,If ,multiple ,values ,are
,assigned ,to ,the ,same ,named ,variable, ,the ,last ,assignment ,is ,the ,one ,used.
base ,case ,- ,CORRECT ,ANSWER-An ,expression ,that ,has ,a ,value ,and ,is ,not ,defined
,in ,terms ,of ,some ,other ,thing ,we ,are ,defining. ,This ,breaks ,the ,chain ,of ,recursion.
Boolean ,- ,CORRECT ,ANSWER-A ,value ,that ,is ,either ,True ,or ,False
circular ,definition ,- ,CORRECT ,ANSWER-A ,definition ,that ,doesn't ,give ,us ,answers
,because ,it ,never ,finishes. ,It ,is ,stuck ,in ,a ,loop ,with ,each ,reference ,pointing ,to ,another
,reference. ,It ,has ,no ,base ,case.
class ,- ,CORRECT ,ANSWER-Describes ,what ,an ,object ,will ,be, ,but ,it ,isn't ,the ,object
,itself. ,This ,is ,a ,blueprint ,for ,that ,object.
class ,<ClassName> ,(<BaseClass>): ,
,<Block> ,- ,CORRECT ,ANSWER-How ,to ,define ,a ,class ,in ,Python