- Final Exam with Questions and Correct
Answers 2025
Syntax ,- ,CORRECT ,ANSWER-rules ,of ,the ,form ,of ,a ,language
Semantics ,- ,CORRECT ,ANSWER-interpretation ,of ,a ,program ,construct
IDE ,- ,CORRECT ,ANSWER-integrated ,development ,environment
What ,is ,Python's ,IDE ,called? ,- ,CORRECT ,ANSWER-IDLE
CPU ,- ,CORRECT ,ANSWER-Central ,Processing ,Unit-- ,has ,registers ,and ,caches
,to ,hold ,values ,used ,in ,components
Primary ,Storage ,- ,CORRECT ,ANSWER-volatile ,(needs ,power) ,
ex: ,hard ,drive
Secondary ,Storage ,- ,CORRECT ,ANSWER-Non-volatile ,
ex: ,disk, ,flash, ,etc.
Input ,devices ,- ,CORRECT ,ANSWER-keyboard, ,microphone, ,monitor ,mouse, ,etc
Bus ,- ,CORRECT ,ANSWER-transports ,data ,through ,a ,set ,of ,wires
Binary ,- ,CORRECT ,ANSWER-base ,2 ,(0 ,& ,1--switches); ,makes ,up ,all ,data ,in
,computer
Decimal ,- ,CORRECT ,ANSWER-base ,10
Octal ,- ,CORRECT ,ANSWER-base ,8
Hex ,- ,CORRECT ,ANSWER-base ,16
, variables ,- ,CORRECT ,ANSWER-names ,used ,for ,memory ,cells ,i ,high ,level
,languages
machine ,code ,- ,CORRECT ,ANSWER-a ,computer ,program ,in ,binary ,that ,the
,CPU ,can ,interpret
Compiler ,- ,CORRECT ,ANSWER-a ,computer ,program ,that ,converts ,a ,high-level
,language ,program ,(source ,code) ,into ,machine ,code
Interpreter ,- ,CORRECT ,ANSWER-does ,the ,same ,thing ,as ,a ,compiler, ,but ,one
,statement ,at ,a ,time
What ,are ,the ,requirements ,for ,a ,variable ,name ,in ,Python? ,- ,CORRECT
,ANSWER-descriptive
cause ,sensitive
not ,a ,reserved ,word
no ,special ,symbols, ,letters, ,digits, ,and ,underscores ,only
cannot ,start ,with ,digit
What ,are ,some ,Python ,reserved ,words? ,- ,CORRECT ,ANSWER-for, ,False, ,True,
,None, ,and, ,assert, ,as, ,break, ,class, ,continue. ,def ,del, ,elif, ,else, ,if, ,except,
,finally, ,for, ,from, ,global, ,import, ,in, ,is, ,lambda, ,nonlocal, ,not, ,or, ,pass, ,raise,
,return, ,try, ,while, ,with, ,yield
integer ,- ,CORRECT ,ANSWER-whole ,numbers ,(-1, ,-34, ,0, ,9, ,100, ,etc.)
floating ,point ,number ,- ,CORRECT ,ANSWER-number ,value ,with ,decimals
,(3.141596, ,0.333333)
string ,- ,CORRECT ,ANSWER-string ,of ,characters ,("Hello" ,or ,'Hello')
Assignment ,- ,CORRECT ,ANSWER-stores ,the ,result ,of ,an ,expression ,in ,a
,memory ,location ,which ,python ,associates ,with ,a ,name
Simultaneous ,assignment ,- ,CORRECT ,ANSWER-assigning ,more ,than ,one
,values ,to ,more ,than ,one ,variable ,at ,a ,time
ex: ,a, ,b, ,c ,= ,1, ,2, ,3
Floating ,point ,division ,operator ,- ,CORRECT ,ANSWER-/
integer ,division ,operator ,- ,CORRECT ,ANSWER-//
remainder ,division ,operator ,- ,CORRECT ,ANSWER-%
exponent ,operator ,- ,CORRECT ,ANSWER-**