DIS
Table’of’Contents
1. Introduction’to’Computers’and’Programming
2. Input,’Processing,’and’Output
3. Decision’Structures’and’Boolean’Logic
4. Repetition’Structures
5. Functions
6. Files’and’Exceptions
7. Lists’and’Tuples
8. More’About’Strings
9. Dictionaries’and’Sets
10. Classes’and’Object-Oriented’Programming
11. Inheritance
12. Recursion
13. GUI’Programming
14. Database’Programming
,Chapter’1’Introduction’to’Computers’and’Programming’Revie
w’Questions
Multiple’Choice
1. A(n) is’a’set’of’instructions’that’a’computer’follows’to’perform’a’task.
a. Compiler
b. Program
c. Interpreter
d. Programming’language
2. The’physical’devices’that’a’computer’is’made’of’are’referred’to’as .
a. Hardware
b. Software
c. The’operating’system
d. Tools
3. The’part’of’the’computer’that’runs’programs’is’called .
a. RAM
b. Second’storage
c. Main’memory
d. The’CPU
4. Today,’CPUs’are’small’chips’known’as .
a. ENIACs
b. Microprocessors
c. Memory’chips
d. Operating’systems
5. The’computer’stores’a’program’while’the’program’is’running,’as’well’as’the’data’the’the’pr
ogram’is’working’with,’in .
a. Secondary’storage
b. The’CPU
c. Main’Memory
d. The’microprocessor
6. This’is’a’volatile’type’of’memory’that’is’used’only’for’temporary’storage’while’a’program’is’
running.
a. RAM
b. Second’storage
c. The’disk’drive
d. The’usb’drive
7. A’type’of’memory’that’can’hold’data’for’long’periods’of’time,’even’when’there’is’no’po
wer’to’the’computer,’is’called .
a. RAM
b. Main’ memory
c. Second’storage
d. CPU’storage
, 8. A’component’that’collects’data’from’people’or’other’devices’and’sends’it’to’the’com
puter’is’called .
a. An’output’device
b. An’input’device
c. A’secondary’storage’device
d. Main’memory
9. A’video’display’is’a(n) device.
a. Output
b. Input
c. Second’storage
d. Main’memory
10. A is’enough’memory’to’store’a’letter’of’the’alphabet’or’a’small’number.
a. Byte
b. Bit
c. Switch
d. Transistor
11. A’byte’is’made’up’of’eight .
a. CPUs
b. Instructions
c. Variables
d. Bits
12. In‟the
numbering‟system,‟all‟numeric‟values‟are‟written‟in‟s
equences‟of‟0‟s‟and‟1‟s.
a. Hexadecimal
b. Binary
c. Octal
d. Decimal
13. A’bit’that’is’turned’off’represents’the’following’value:’
a. 1
b. -1
c. 0
d. “No”
14. A’set’of’128’numeric’codes’that’represent’the’English’letters,’various’punctuation’marks,’a
nd’other’characters’is .
a. Binary’numbering
b. ASCII
c. Unicode
d. ENIAC
15. An’excessive’encoding’scheme’that’can’represent’characters’for’many’languages’in’the’w
orld’is .
a. Binary’numbering
b. ASCII
c. Unicode
d. ENIAC
2 Jun’28,’2021