0% found this document useful (0 votes)
22 views37 pages

Quizz CSI104 P1

The document contains multiple choice questions from chapters 1-4 of a textbook on computer fundamentals. It tests knowledge of topics like the von Neumann model, components of a computer system, number representation systems, encoding of text and images, floating point representation, and basic logic gates.

Uploaded by

phukak12345
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views37 pages

Quizz CSI104 P1

The document contains multiple choice questions from chapters 1-4 of a textbook on computer fundamentals. It tests knowledge of topics like the von Neumann model, components of a computer system, number representation systems, encoding of text and images, floating point representation, and basic logic gates.

Uploaded by

phukak12345
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 37

QUIZZES: CHAPTER 01

The _______ model is the basis for today’s computers.


a Leibnitz
b von Neumann
c Pascal
d Charles Babbage
Correct Answer _

In a computer, the _______ subsystem stores data and programs.


a ALU
b input/output
c memory
d control unit
Correct Answer _

In a computer, the _______ subsystem performs calculations and logical operations.


a ALU
b input/output
c memory
d control unit
Correct Answer _

In a computer, the _______ subsystem accepts data and programs and sends processing
results to output devices.
a ALU
b input/output
c memory
d control unit
Correct Answer _

In a computer, the _______ subsystem serves as a manager of the other subsystems.


a ALU
b input/output
2

c memory
d control unit
Correct Answer _

According to the von Neumann model, _______ are stored in memory.


a only data
b only programs
c data and programs
d neither data nor programs
Correct Answer _

A step-by-step solution to a problem is called _______.


a hardware
b an operating system
c a computer language
d an algorithm
Correct Answer _

FORTRAN and COBOL are examples of _______.


a hardware
b operating systems
c computer languages
d algorithms
Correct Answer _

A 17th-century computing machine that could perform addition and subtraction was
the _______.
a Pascaline
b Jacquard loom
c Analytical Engine
d Babbage machine
Correct Answer _
3

_______ is a set of instructions in a computer language that tells the computer what to
do with data.
a An operating system
b An algorithm
c A data processor
d A program
Correct Answer _

_______ is the design and writing of a program in structured form.


a Software engineering
b Hardware engineering
c Algorithm development
d Instructional architecture
Correct Answer _

The first electronic special-purpose computer was called _______.


a Pascal
b Pascaline
c ABC
d ENIAC
Correct Answer _

One of the first computers based on the von Neumann model was called _______.
a Pascal
b Pascaline
c ABC
d EDVAC
Correct Answer _

The first computing machine to use the idea of storage and programming was called
_______.
a the Madeline
b EDVAC
c the Babbage machine
4

d the Jacquard loom


Correct Answer _

_______ separated the programming task from computer operation tasks.


a Algorithms
b Data processors
c High-level programming languages
d Operating systems
Correct Answer _

QUIZZES: CHAPTER 02
The base of the decimal number system is ____.
a 2
b 8
c 10
d 16
Correct Answer: _

The base of the binary number system is ____.


a 2
b 8
c 10
d 16
Correct Answer: _

The base of the octal number system is ____.


a 2
b 8
c 10
d 16
Correct Answer: _
5

The base of the hexadecimal number system is ____.


a 2
b 8
c 10
d 16
Correct Answer: _

When converting a decimal integer to base b, we repeatedly _____ b.


a divide
a by
b multiply
b by
c add to
d subtract from
Correct Answer: _

When converting a decimal fraction to base b, we repeatedly ____b.


a divide
a by
b multiply
b by
c add to
d subtract from
Correct Answer: _

Which of the following representations is erroneous?


a (10111)2
b (349)8
c (3AB)16
d 256
Correct Answer: _

Which of the following representations is erroneous?


a (10211)2
6

b (342)8
c (EEE)16
d 145
Correct Answer: _

Which of the following representations is erroneous?


a (111)2
b (346)8
c (EEG)16
d 221
Correct Answer: _
Which of the following representations is erroneous?
a (110)2
b (141)8
c (EF)16
d 22A
Correct Answer: _

Which of the following is equivalent to 12 in decimal?


a (1110)2
b _16
c (15)8
d None of the above
Correct Answer: _

Which of the following is equivalent to 24 in decimal?


a (11000)2
b (1A)16
c (31)8
d None of the above
Correct Answer: _
7

QUIZZES: CHAPTER 03
A byte consists of _______ bits.
a 2
b 4
c 8
d 16
Correct Answer: _

In a set of 64 symbols, each symbol requires a bit pattern length of _______ bits.
a 4
b 5
c 6
d 7
Correct Answer: _

How many symbols can be represented by a bit pattern with ten bits?
a 128
b 256
c 512
d 1024
Correct Answer: _

If the ASCII code for E is 1000101, then the ASCII code for e is _______. Answer the
question without consulting the ASCII table.
a 1000110
b 1000111
c 0000110
d 1100101
Correct Answer: _

A 32-bit code called _______ represents symbols in all languages.


a ANSI
b Unicode
8

c EBCDIC
d Extended ASCII
Correct Answer: _

An image can be represented in a computer using the _______ method.


a bitmap graphic
b only vector graphic
c Only Excess system
d Only either bitmap or vector graphic
Correct Answer: _

In the _______ graphic method of representing an image in a computer, each pixel is


assigned a bit patterns.
a bitmap
b vector
c quantized
d binary
Correct Answer: _

In the _______ graphic method of representing an image in a computer, the image is


decomposed into a combination of geometrical figures.
a bitmap
b vector
c quantized
d binary
Correct Answer: _

In the _______ graphic method of representing an image in a computer, re-scaling of


the image creates a ragged or grainy image.
a bitmap
b vector
c quantized
d binary
Correct Answer: _
9

When we want to store music in a computer, the audio signal must be _______.
a sampled only
b quantized only
c coded only
d sampled, quantized, and coded
Correct Answer: _

A floating-point value after normalization is (1.0101) ´ 2-4.


What is the value of exponent section in the Excess-127 representation?
a 4
b -4
c 127
d 123
Correct Answer: _

Assume a new Excess system uses 17 bits to represent the exponent section. What is
he bias value in this system?
a 17
b 16
c 65535
d 65536
Correct Answer: _

Which number representation method is often used to store the exponential value of a
fractional part?
a unsigned integers
b two’s complement
c Excess
d ten’s complement
Correct Answer: _

In an Excess conversion, we _______ the number to be converted.


a add the bias number to
10

b subtract the bias number from


c multiply the bias number by
d divide the bias number by
Correct Answer: _

When a fractional part is normalized, the computer stores the _______.


a only the sign
b only the exponent
c only the mantissa
d the sign, exponent, and mantissa
Correct Answer: _

The precision of the fractional part of a number stored in a computer is defined by the
_______.
a sign
b exponent
c mantissa
d last digit
Correct Answer: _

The combination of sign and mantissa of a real number in IEEE standard floating
point format is stored as an integer in the ____________ representation.
a unsigned
b sign-and-magnitude
c two’s complement
d one’s complement
Correct Answer: _

QUIZZES: CHAPTER 04
_______ is an arithmetic operation.
a The exclusive OR
11

b The unary NOT


c Subtraction
d The binary AND
Correct Answer: _

_______ is a logical bit operator.


a The exclusive OR
b The unary NOT
c The binary AND
d exclusive OR, unary NOT, or binary AND
Correct Answer: _

The _______ method of integer representation is the most common method for storing
integers in computer memory.
a sign-and-magnitude
b one’s complement
c two’s complement
d unsigned integers
Correct Answer: _

In two’s complement addition, if there is a final carry after the left most column
addition, _______.
a add it to the right most column
b add it to the left most column
c discard it
d increase the bit length
Correct Answer: _

For an 8-bit allocation, the smallest decimal number that can be represented in two’s
complement form is _______.
a -8
b -127
c -128
d -256
12

Correct Answer: _

For an 8-bit allocation, the largest decimal number that can be represented in two’s
complement form is _______.
a 8
b 127
c 128
d 256
Correct Answer: _

In two’s complement representation with a 4-bit allocation, we get _______ when we


add 1 to 7.
a 8
b 1
c -7
d -8
Correct Answer: _

In two’s complement representation with a 4-bit allocation, we get _______ when we


add 5 to 5.
a -5
b -6
c -7
d 10
Correct Answer: _

If the exponent in Excess_127 is binary 10000101, the exponent in decimal is


_______.
a 6
b 7
c 8
d 9
Correct Answer: _
13

If we are adding two numbers, one of which has an exponent value of 7 and the other
an exponent value of 9, we need to shift the decimal point of the smaller number
_______.
a one place to the left
b one place to the right
c two places to the left
d two places to the right
Correct Answer: _

_______ operator (s) takes two inputs to produce one output.


a Only AND
b Only OR
c Only XOR
d AND, OR, or XOR
Correct Answer: _

The unary _______ operator inverts its single input.


a AND
b OR
c NOT
d XOR
Correct Answer: _

_______ operator (s), if the input is two 0s, the output is 0.


a In only AND
b In only OR
c In only XOR
d In AND, OR, or XOR
Correct Answer: _

_______ operator (s), if the input is two 1s, the output is 0.


a In only AND
b In only OR
c In only XOR
14

d In AND, OR, or XOR


Correct Answer: _

For the binary AND operation, only an input of _______ gives an output of 1.
a two 0s
b two 1s
c one 0 and one 1
d two 2s
Correct Answer: _

For the binary OR operation, only an input of _______ gives an output of 0.


a two 0s
b two 1s
c one 0 and one 1
d two 2s
Correct Answer: _

We use a bit pattern called a _______ to modify another bit pattern.


a mask
b carry
c float
d byte
Correct Answer: _

To flip all the bits of a bit pattern, make a mask of all 1s and then _______ the bit
pattern and the mask.
a AND
b OR
c XOR
d NOT
Correct Answer: _

To un-set (force to 0) all the bits of a bit pattern, make a mask of all 0s and then
_______ the bit pattern and the mask.
15

a AND
b OR
c XOR
d NOT
Correct Answer: _

To set (force to 1) all the bits of a bit pattern, make a mask of all 1s and then _______
the bit pattern and the mask.
a AND
b OR
c XOR
d NOT
Correct Answer: _

QUIZZES: CHAPTER 05
The _______ is a computer subsystem that performs operations on data.
a CPU
b memory
c I/O hardware
d bus subsystem
Correct Answer: _

_______ is a stand-alone storage location that holds data temporarily.


a An ALU
b A register
c A control unit
d A tape drive
16

Correct Answer: _

_______ is a unit that can add two inputs.


a An ALU
b A register
c A control unit
d A tape drive
Correct Answer: _

A register in a CPU can hold _______.


a only data
b only instructions
c only program counter values
d data, instruction, or program counter values
Correct Answer: _

A control unit with five wires can define up to _______ operations.


a 5
b 10
c 16
d 32
Correct Answer: _

A word can be _______ bits.


a only 8
b only 16
c only 32
d 8, or 16, or 32
Correct Answer: _

If the memory address space is 16 MB and the word size is 8 bits, then _______ bits
are needed to access each word.
a 8
b 16
17

c 24
d 32
Correct Answer: _

The data in _______ is erased if the computer is powered down.


a RAM
b ROM
c a tape drive
d a CD-ROM
Correct Answer: _

_______ is a memory type with capacitors that need to be refreshed periodically.


a SRAM
b DRAM
c ROM
d CROM
Correct Answer: _

_______ is a memory type with traditional flip-flop gates to hold data.


a SRAM
b DRAM
c ROM
d CROM
Correct Answer: _

There are _______ bytes in 16 Terabytes.


a 216
b 240
c 244
d 256
Correct Answer: _

_______ can be programmed and erased using electronic impulses but can remain in a
computer during erasure.
18

a ROM
b PROM
c EPROM
d EEPROM
Correct Answer: _

_______ is a type of memory in which the user, not the manufacturer, stores programs
that cannot be overwritten.
a ROM
b PROM
c EPROM
d EEPROM
Correct Answer: _

Main memory in a computer usually consists of large amounts of ______ speed


memory.
a high
b medium
c low
d very high speed
Correct Answer: _

A _______ is a storage device to which the user can write information only once.
a CD-ROM
b CD-R
c CD-RW
d CD-RR
Correct Answer: _

A _______ is a storage device that can undergo multiple writes and erasures.
a CD-ROM
b CD-R
c CD-RW
d CD-RR
19

Correct Answer: _

The smallest storage area on a magnetic disk that can be accessed at one time is a
_______.
a track
b sector
c frame
d head
Correct Answer: _

If the memory has 232 words, the address bus needs to have _______ wires.
a 8
b 16
c 32
d 64
Correct Answer: _

A control bus with eight wires can define _______ operations.


a 8
b 16
c 256
d 512
Correct Answer: _

A _______ controller is a high-speed serial interface that transfers data in packets.


a SCSI
b USB
c FireWire
d USB and FireWire
Correct Answer: _

The three steps in the running of a program on a computer are performed in the
specific order _______.
a fetch, execute, and decode
20

b decode, execute, and fetch


c fetch, decode, and execute
d decode, fetch, and execute
Correct Answer: _

In the _______ method for synchronizing the operation of the CPU with an I/O
device, the I/O device informs the CPU when it is ready for data transfer.
a programmed I/O
b interrupt-driven I/O
c DMA
d isolated I/O
Correct Answer: _

In the _______ method for synchronizing the operation of the CPU with an I/O
device, the CPU is idle until the I/O operation is finished.
a programmed I/O
b interrupt-driven I/O
c DMA
d isolated I/O
Correct Answer: _

In the _______ method for synchronizing the operation of the CPU with an I/O
device, a large block of data can be passed from an I/O device to memory directly.
a programmed I/O
b interrupt-driven I/O
c DMA
d isolated I/O
Correct Answer: _

QUIZZES: CHAPTER 06
The TCP/IP model has _______ layers.
a five
21

b six
c seven
d eight
Correct Answer: _

The _______ layer of the TCP/IP protocol suite provides services for end users.
a data-link
b transport
c application
d physical
Correct Answer: _

The _______ layer of the TCP/IP protocol suite transmits a bit stream over a physical
medium.
a physical
b data-link
c network
d transport
Correct Answer: _

The _______ layer of the TCP/IP protocol suite is responsible for node-to-node
delivery of a frame between two adjacent nodes.
a transport
b network
c data-link
d session
Correct Answer: _

The _______ layer of the TCP/IP protocol suite is responsible for source-to-
destination delivery of the entire message.
a transport
b network
c data-link
d session
22

Correct Answer: _

What is the domain name in the e-mail address [email protected]?


a kayla
b [email protected]
c nasa.gov
d gov
Correct Answer: _

Which physical topology uses a hub or switch?


a bus
b ring
c star
d bus and ring
Correct Answer: _

IP addresses are currently _______ bits in length.


a 4
b 8
c 32
d 40
Correct Answer: _

_______ protocol (s) is one of the protocols in the transport layer.


a Only TCP
b Only UDP
c Only SCTP
d TCP, UDP, and SCTP
Correct Answer: _

_______ is a protocol for file transfer.


a FTP
b SMTP
23

c TELNET
d HTTP
Correct Answer: _

_______ is a protocol for e-mail services.


a FTP
b SMTP
c TELNET
d HTTP
Correct Answer: _

_______ is a protocol for accessing and transferring documents on the WWW.


a FTP
b SMTP
c TELNET
d HTTP
Correct Answer: _

QUIZZES: CHAPTER 07
_______ is a program that facilitates the execution of other programs.
a An operating system
b Hardware
24

c A queue
d An application program
Correct Answer: _

_______ supervises the activity of each component in a computer system.


a An operating system
b Hardware
c A queue
d An application program
Correct Answer: _

Multi-programming requires a _______ operating-system.


a batch
b time-sharing
c parallel
d distributed
Correct Answer: _

_______ is multi-programming with swapping.


a Partitioning
b Paging
c Demand paging
d Queuing
Correct Answer: _

_______ is multi-programming without swapping.


a Partitioning
b Virtual memory
c Demand paging
d Queuing
Correct Answer: _

In _______, only one program can reside in memory for execution.


a mono-programming
25

b multi-programming
c partitioning
d paging
Correct Answer: _

_______ is a multi-programming method in which multiple programs are entirely in


memory with each program occupying a contiguous space.
a Partitioning
b Paging
c Demand paging
d Demand segmentation
Correct Answer: _

In paging, a program is divided into equally sized sections called _______.


a pages
b frames
c segments
d partitions
Correct Answer: _

In _______, the program can be divided into differently sized sections.


a partitioning
b paging
c demand paging
d demand segmentation
Correct Answer: _

In _______, the program can be divided into equally sized sections called pages, but
the pages need not be in memory at the same time for execution.
a partitioning
b paging
c demand paging
d demand segmentation
Correct Answer: _
26

A process in the _______ state can go to either the ready, terminated, or waiting
states.
a hold
b virtual
c running
d hold or running
Correct Answer: _

A process in the ready state goes to the running state when _______.
a it enters memory
b it requests I/O
c it gets access to the CPU
d it finishes running
Correct Answer: _

A program becomes a _______ when it is selected by the operating system and


brought to the hold state.
a job
b process
c deadlock
d partition
Correct Answer: _

Every process is _______.


a only a job
b only a program
c only a partition
d a job and a program
Correct Answer: _

The _______ scheduler creates a process from a job and changes a process back to a
job.
a job
b process
27

c virtual
d queue
Correct Answer: _

The _______ scheduler moves a process from one process state to another.
a job
b process
c virtual
d queue
Correct Answer: _

To prevent _______, an operating system can put resource restrictions on processes.


a starvation
b synchronization
c paging
d deadlock
Correct Answer: _

_______ can occur if a process has too many resource restrictions.


a Starvation
b Synchronization
c Paging
d Deadlock
Correct Answer: _

The _______ manager is responsible for archiving and backup.


a memory
b process
c device
d file
Correct Answer: _

The _______ manager is responsible for access to I/O devices.


a memory
28

b process
c device
d file
Correct Answer: _

QUIZZES: CHAPTER 08
_______ is a step-by-step method for solving a problem or doing a task.
a A construct
b A recursion
c An iteration
d An algorithm
Correct Answer: _

There are ______ basic constructs in computer -science.


a one
b two
c three
d four
Correct Answer: _

The _______construct tests a condition.


a sequence
b decision
c repetition
d flow
Correct Answer: _

The _______ construct uses a set of actions one after another.


a sequence
29

b decision
c repetition
d flow
Correct Answer: _

The _______ construct handles repeated actions.


a sequence
b decision
c repetition
d flow
Correct Answer: _

_______ is a pictorial representation of an algorithm.


a A UML diagram
b A program
c Pseudocode
d An algorithm
Correct Answer: _

_______ is an English-language-like representation of code.


a A UML diagram
b A program
c Pseudocode
d An algorithm
Correct Answer: _

_______ is a basic algorithm that adds a list of numbers.


a Summation
b Product
c Smallest
d Largest
Correct Answer: _

_______ is a basic algorithm that multiplies a list of numbers.


30

a Summation
b Product
c Smallest
d Largest
Correct Answer: _

_______ is a basic algorithm that arranges data according to its value.


a Inquiry
b Sorting
c Searching
d Recursion
Correct Answer: _

The items are divided into two lists (sorted and unsorted) _____ sort.
a only in a selection
b only in a bubble
c only in an insertion
d in selection, bubble, or insertion
Correct Answer: _

In _______ sort, the item that goes into the sorted list is always the first item in the
unsorted list.
a selection
b bubble
c insertion
d every
Correct Answer: _

In _______ sort, the smallest item from the unsorted list is swapped with the item at
the beginning of the unsorted list.
a selection
b bubble
c insertion
d every
31

Correct Answer: _

In ______ sort, the smallest item moves to the beginning of the unsorted list. There is
no one-to-one swapping.
a selection
b bubble
c insertion
d every
Correct Answer: _

_______ is a basic algorithm in which we want to find the location of a target in a list
of items.
a Sorting
b Searching
c Product
d Summation
Correct Answer: _

We use a _______ search for an unordered list.


a sequential
b binary
c bubble
d insertion
Correct Answer: _

We use a _______ search for an ordered list.


a sequential
b binary
c bubble
d insertion
Correct Answer: _

_______ is a process in which an algorithm calls itself.


a Insertion
32

b Searching
c Recursion
d Iteration
Correct Answer: _

QUIZZES: CHAPTER 09
The only language understood by computer hardware is a _______ language.
a machine
b symbolic
c high-level
d natural
Correct Answer: _

C, C++, and Java can be classified as _______ languages.


a machine
b symbolic
c high-level
d natural
Correct Answer: _

FORTRAN is a(n) _______ language.


a procedural
b functional
c declarative
33

d object-oriented
Correct Answer: _

Pascal is a(n) _______ language.


a procedural
b functional
c declarative
d object-oriented
Correct Answer: _

Java is a(n) _______ language.


a procedural
b functional
c declarative
d object-oriented
Correct Answer: _

LISP is a(n) _______ language.


a procedural
b functional
c declarative
d object-oriented
Correct Answer: _

_______ is a common language in the business -environment.


a FORTRAN
b C++
c C
d COBOL
Correct Answer: _

_______ is a popular object-oriented language.


a FORTRAN
b COBOL
34

c Java
d LISP
Correct Answer: _

A _______ program can be either an application or an applet.


a FORTRAN
b C++
c C
d Java
Correct Answer: _

LISP and Scheme are both _______ languages.


a procedural
b functional
c declarative
d object-oriented
Correct Answer: _

Prolog is an example of a(n) _______ language.


a procedural
b functional
c declarative
d object-oriented
Correct Answer: _

QUIZZES: CHAPTER 10
One phase in system development is _______.
35

a analysis
b application
c designing
d collecting
Correct Answer: _

Defining the users, requirements, and methods is part of the _______ phase.
a analysis
b design
c implementation
d testing
Correct Answer: _

In the system development process, writing the program is part of the _______ phase.
a analysis
b design
c implementation
d testing
Correct Answer: _

In the system development process, structure charts are tools used in the _______
phase.
a analysis
b design
c implementation
d testing
Correct Answer: _

Testing a software system can involve _______ testing.


a black-box
b glass-box
c neither black-box nor glass-box
d both black-box and glass-box
Correct Answer: _
36

_______ is the breaking up of a large project into smaller parts.


a Coupling
b Incrementing
c Obsolescence
d Modularization
Correct Answer: _

_______ is a measure of how tightly two modules are bound to each other.
a Modularity
b Coupling
c Interoperability
d Cohesion
Correct Answer: _

_________between modules in a software system must be minimized.


a Coupling
b Cohesion
c Neither coupling nor cohesion
d Both coupling and cohesion
Correct Answer: _

_________between modules in a software system must be maximized.


a Coupling
b Cohesion
c Neither coupling nor cohesion
d Both coupling and cohesion
Correct Answer: _
37

You might also like