Sie sind auf Seite 1von 22

Chap-1

Question 1
49.998 out of 50 points

Match the terms on the left side with the best description on the right side.

Question

Disk
Fragmentation

Transfer Time

Correct Match
L.

Unused space within a cluster,


block, track or other unit of
physical storage.
E.

Selected Match
L.

Unused space within a cluster,


block, track or other unit of
physical storage.
E.

The amount of time for the


The amount of time for the
read/write head to read the required read/write head to read the required
data into memory.
data into memory.
Seek Time

H.

The time required to move the


access arm of a disk drive to the
correct track on a disk.
Zoned Bit
Recording

Perpendicular
Recording

Direct Access
Storage Device
(DASD)

Track

B.

A method for organizing sectors on


the surface of a disk that allocates
sectors into areas where more
sectors are created on the outer
edges of the disk than on the inner
edges.
K.

Organizing the bits on the surface


of a magnetic disk vertically in
order to use less space.
F.

A secondary storage device that


allows access to a specific sector
or block without first having to
read the blocks or sectors that
precede it.
D.

The set of bytes on a single surface


of a disk than can be accessed
without moving the read/write

H.

The time required to move the


access arm of a disk drive to the
correct track on a disk.
B.

A method for organizing sectors on


the surface of a disk that allocates
sectors into areas where more
sectors are created on the outer
edges of the disk than on the inner
edges.
K.

Organizing the bits on the surface


of a magnetic disk vertically in
order to use less space.
F.

A secondary storage device that


allows access to a specific sector
or block without first having to
read the blocks or sectors that
precede it.
D.

The set of bytes on a single surface


of a disk than can be accessed
without moving the read/write

heads.
Sector

J.

The fixed-sized, pie-shaped data


blocks that make up the tracks on
some disk drives.

Rotational
Delay

Extent

C.

J.

The fixed-sized, pie-shaped data


blocks that make up the tracks on
some disk drives.
C.

The time it takes for the disk to spin The time it takes for the disk to spin
so the desired sector is under the
so the desired sector is under the
read/write head.
read/write head.
A.

One or more adjacent clusters


allocated as part (or all) of a file.

Cluster

G.

A group of multiple contiguous


sectors.

Solid state
device

heads.

I.

Nonvolatile, removable storage


medium that utilizing integrated
circuits rather than magnetic or
optical media.

A.

One or more adjacent clusters


allocated as part (or all) of a file.
G.

A group of multiple contiguous


sectors.
I.

Nonvolatile, removable storage


medium that utilizing integrated
circuits rather than magnetic or
optical media.

All Answer Choices


A.

One or more adjacent clusters allocated as part (or all) of a file.


B.

A method for organizing sectors on the surface of a disk that allocates sectors into areas
where more sectors are created on the outer edges of the disk than on the inner edges.
C.

The time it takes for the disk to spin so the desired sector is under the read/write head.
D.

The set of bytes on a single surface of a disk than can be accessed without moving the
read/write heads.
E.

The amount of time for the read/write head to read the required data into memory.
F.

A secondary storage device that allows access to a specific sector or block without first
having to read the blocks or sectors that precede it.
G.

A group of multiple contiguous sectors.


H.

The time required to move the access arm of a disk drive to the correct track on a disk.
I.

Nonvolatile, removable storage medium that utilizing integrated circuits rather than
magnetic or optical media.
J.

The fixed-sized, pie-shaped data blocks that make up the tracks on some disk drives.
K.

Organizing the bits on the surface of a magnetic disk vertically in order to use less space.
L.

Unused space within a cluster, block, track or other unit of physical storage.

Question 2
6.25 out of 6.25 points

Using the keyword=value format when storing fields can handle missing data
Selected Answer:
Answers:

True
True
False

Question 3
6.25 out of 6.25 points

For a fixed-lenght record we can either choose to fix the fields as well or use variablelength fields
Selected Answer:
Answers:

True
True
False

Question 4
0 out of 6.25 points

File Structures is about how to store data, for example, in varaibles, arrays, obejcts in
main memory
Selected Answer:
Answers:

True
True
False

Question 5
6.25 out of 6.25 points

Using a length indicator to determine the length of each fields leads to a lot of wasted
space
Selected Answer:
Answers:

False
True
False

Question 6
6.25 out of 6.25 points

XML is an example of a <tag> format when storing fields or records


Selected Answer:
Answers:

True
True
False

Question 7
6.25 out of 6.25 points

When using pinned records: if the file is updated, then the index file does not need
updating
Selected Answer:
Answers:

False
True
False

Question 8
6.25 out of 6.25 points

When using a delimiter to separate fields in a record, care must be applied to choose a
good delimiter. A delimiter cannot appear in the actual data
Selected Answer:
Answers:

True
True
False

Question 9
6.25 out of 6.25 points

A computer program cannot read the content of a text file like we humans do. It sees it
simply as a sequential stream of bytes
Selected Answer:
Answers:

True
True
False

1. Disk FragmentationUnused space within a cluster, block, track or other


unit of physical storage.
2. Transfer Time- The amount of time for the read/write head to read the
required data into memory.
3. Seek Time- The time required to move the access arm of a disk drive to the
correct track on a disk.
4. Zoned Bit Recording- A method for organizing sectors on the surface of a
disk that allocates sectors into areas where more sectors are created on the
outer edges of the disk than on the inner edges.

5. Perpendicular Recording- Organizing the bits on the surface of a magnetic


disk vertically in order to use less space.
6. Direct Access Storage Device (DASD)- A secondary storage device that allows
access to a specific sector or block without first having to read the blocks or
sectors that precede it.
7. Track- The set of bytes on a single surface of a disk than can be accessed
without moving the read/write heads.
8. Sector- The fixed-sized, pie-shaped data blocks that make up the tracks on
some disk drives.
9. Rotational Delay- The time it takes for the disk to spin so the desired sector is
under the read/write head.
10.Extent- One or more adjacent clusters allocated as part (or all) of a file.
11.Cluster - A group of multiple contiguous sectors.
12.Solid state device- Nonvolatile, removable storage medium that utilizing
integrated circuits rather than magnetic or optical media.

Questions true or false


1. Using the keyword=value format when storing fields can handle
missing data - T
2. For a fixed-length record we can either choose to fix the fields as
well or use variable-length fields- T
3. File Structures is about how to store data, for example, in variables,
arrays, objects in main memory- F
4. Using a length indicator to determine the length of each fields leads
to a lot of wasted space- F
5. XML is an example of a <tag> format when storing fields or recordsT
6. When using pinned records: if the file is updated, then the index file
does not need updating- F
7. When using a delimiter to separate fields in a record, care must be
applied to choose a good delimiter. A delimiter cannot appear in the
actual data- T
8. A computer program cannot read the content of a text file like we humans
do. It sees it simply as a sequential stream of bytes - T

Chapter-2

Question 1
5 out of 5 points

Select the best answer: Selective indexes are useful


Selected Answer:

If your secondary key only has a few distinct values


If the index file doesnt t fit into main memory

Answers:

If your secondary key only has a few distinct values


If your secondary key has many distinct values

Question 2
5 out of 5 points

External sorting algorithms were developed to enable sorting of big files that dont fit into
main memory.
Selected Answer:
Answers:

True
True
False

Question 3
5 out of 5 points

A B-Tree can be used if a simple index does not fit in memory anymore.
Selected Answer:
Answers:

True
True
False

Question 4
0 out of 5 points

With a simplex index your data file needs to be kept in order, sorted on the primary key
value.
Selected Answer:
Answers:

True
True
False

Question 5
5 out of 5 points

Sorting algorithms such as Bubblesort, qsort, shellsort assume all data fits into main

memory.
Selected Answer:

True

Answers:

True
False

Question 6
5 out of 5 points

"Refer to slide 27 in your presentation Direct Access with Indexes : If we


include the new key RA into the binary search tree, is it a left or right
child?"
Selected Answer:

Left Child
Answers:

Left Child
Right Child

Question 7
0 out of 5 points

How many comparisons need to be done if we are searching the key 14 in the following
array of keys (including the comparison when correct key is found):

Selected Answer:

3
4Answers:

1
2
3
4
5

Question 8
5 out of 5 points

A simple index first requires the identification of a primary key.


Selected Answer:

True

Answers:

True
False

Question 9
5 out of 5 points

If a new record is entered into the data file, the index does not need to be updated.
Selected Answer:

False
True

Answers:

False

Question 10
5 out of 5 points

The B-tree differs from the binary tree in that it


Selected Answer:

grows from the bottom up


Answers:

is loaded from a sorted file


has long search chains
grows from the bottom up
takes less space
is not a practical technique

Chapter-3

Question 1
2.5 out of 2.5 points

Horizontal partitioning refers to the process of combining several smaller


relations into a larger table.
Selected Answer:

False
True

Answers:

False

Question 2
2.5 out of 2.5 points

A contiguous section of disk storage space is called a(n):


Selected Answer:

extent.
sector.

Answers:

extent.
track.
tablespace.

Question 3
2.5 out of 2.5 points

Using an index for attributes referenced in ORDER BY and GROUP BY


clauses has no significant impact upon database performance.
Selected Answer:
Answers:

False
True
False

Question 4
2.5 out of 2.5 points

In a sequential file, the records are stored in sequence according to


primary key.
Selected Answer:
Answers:

True
True
False

Question 5
2.5 out of 2.5 points

A(n) ________ is a routine that converts a primary key value into a relative
record number.
Selected Answer:

hashing algorithm
pointing algorithm

Answers:

record index calculator


hashing algorithm
index pointer program

Question 6
2.5 out of 2.5 points

Fast data retrieval is one factor to consider when choosing a file


organization for a particular database file.
Selected Answer:

True

Answers:

True
False

Question 7
2.5 out of 2.5 points

One decision in the physical design process is selecting structures.


Selected Answer:

True

Answers:

True
False

Question 8
2.5 out of 2.5 points

An advantage of partitioning is:


Selected Answer:

efficiency.
remote optimization.

Answers:

efficiency.
extra space and update time.
both A and B.

Question 9
2.5 out of 2.5 points

Which type of file is most efficient with storage space?


Selected Answer:

Sequential
Answers:

Sequential
Hashed
Indexed
Clustered

Question 10
2.5 out of 2.5 points

Denormalization almost always leads to more storage space for raw data.
Selected Answer:
Answers:

True
True
False

Question 11
2.5 out of 2.5 points

A local area network (LAN) connects other LANs and BNs located in different areas to each other and
to wide area networks in a span from 3 to 30 miles.
Selected Answer:
Answers:

False
True
False

Question 12
2.5 out of 2.5 points

Which of the following is not a property of a WAN


Selected
Answer:
Answers:

connects a group of computers in a small geographic area such as room, floor,


building or campus
connects backbone networks and MANS
spans hundreds or thousands of miles
provides data transmission speeds from 56Kbps to 10Gbps
connects a group of computers in a small geographic area such as room, floor,
building or campus

Question 13
2.5 out of 2.5 points

Which is not a function of the physical layer

Selected
Answer:

providing error-free transmission of data

Answers:

transmission of bits
defining the rules by which one and zeroes are transmitted
providing error-free transmission of data
providing the physical connection between sender and receiver
specifying the type of connection and type of signals, waves or pulses that pass
though it

Question 14
2.5 out of 2.5 points

The network layer is responsible for routing messages from the source computer
to the destination computer.
Selected Answer:

True

Answers:

True
False

Question 15
2.5 out of 2.5 points

The ____________ layer of the OSI model is responsible for data format translation
Selected Answer:

presentation
Answers:

session
presentation
physical
application

Question 16
2.5 out of 2.5 points

Ethernet is an example of a network layer protocol.


Selected Answer:
Answers:

False
True
False

Question 17
2.5 out of 2.5 points

In which layer of the Internet model would the HTTP standard be used?
Selected Answer:

application
Answers:

physical
transport
network
application

Question 18
2.5 out of 2.5 points

At the transport layer in the Internet model, TCP is responsible for breaking large
files received from the application layer into smaller packets and opening a
connection to a server for transferring the packets.
Selected Answer:
Answers:

True
True
False

Question 19
2.5 out of 2.5 points

In the OSI model, the application layer is the end users access to the network.
Selected Answer:
Answers:

True
True
False

Question 20
2.5 out of 2.5 points

Networks that are designed to connect similar computers that share data and
software with each other are called:
Selected Answer:

peer-to-peer networks
Answers:

client/server networks
peer-to-peer networks

host networks
client networks
local area networks

Chapter-4

Question 1
4.16667 out of 4.16667 points

Match the term to the correct definition.

Question

Correct Match

Simplex link

D.

Only one fixed direction at all


times
Half-duplex
link

C.

Both directions, but not at the


same time

Full-duplex link

A.

Used for transmission in both


directions at once
Point-to-Point
configuration

Multipoint
Configuration

E.

Dedicated circuit that is used


when computers generate enough
data to fill the capacity of the
circuit
B.

Many computers who are


connected on the same circuit

Selected Match
D.

Only one fixed direction at all


times
C.

Both directions, but not at the


same time
A.

Used for transmission in both


directions at once
E.

Dedicated circuit that is used


when computers generate enough
data to fill the capacity of the
circuit
B.

Many computers who are


connected on the same circuit

All Answer Choices


A.

Used for transmission in both directions at once


B.

Many computers who are connected on the same circuit


C.

Both directions, but not at the same time


D.

Only one fixed direction at all times

E.

Dedicated circuit that is used when computers generate enough data to fill the capacity
of the circuit

Question 2
4.16667 out of 4.16667 points

Digital technologies are based on discrete, binary waveforms with two states : one or
zero
Selected Answer:
Answers:

True
True
False

Question 3
0 out of 4.16667 points

Frequency shifting means changing the amplitude (the height of the waves).
Selected Answer:
Answers:

True
True
False

Question 4
4.16667 out of 4.16667 points

Transmission Delay is the time to push all bits on the phsyical medium.
Selected Answer:
Answers:

True
True
False

Question 5
4.16667 out of 4.16667 points

In byte stuffing, occurrences of flags in the data must be stuffed (escaped).


Selected Answer:
Answers:

True
True
False

Question 6
4.16667 out of 4.16667 points

The Link Layer is responsible for


Selected
Answer:

message delineationg, error control and network medium access control

Answers:

initiating, maintaining, and terminating each logical session between


sender and receiver
addressing, accounting, and routing
physical transmission of bits
message delineationg, error control and network medium access control

Question 7
4.16667 out of 4.16667 points

Attenuation refers to the loss of signal strength.


Selected Answer:
Answers:

True
True
False

Question 8
4.16667 out of 4.16667 points

Parity checks catches up to 99 % of all errors.


Selected Answer:
Answers:

False
True
False

Question 9
4.16667 out of 4.16667 points

IPv4 uses ________ bytes per Internet address.


Selected Answer:

4
Answers:

4
32
8
16

Question 10
4.16667 out of 4.16667 points

A hop in a routing calculation is defined as one link or circuit.


Selected Answer:

True

Answers:

True
False

Question 11
4.16667 out of 4.16667 points

The _____________ is used by a computer to determine how messages will travel through
the network.
Selected Answer:

routing table
Answers:

linking loader
routing table
bus header assignment list
file allocation table

Question 12
4.16667 out of 4.16667 points

A(n) ________ refers to a group of computers that are logically grouped together by IP
number.
Selected Answer:

subnet
Answers:

IPv6 group
subnet
TCP group
application net

Chapter-5

Question 1
5 out of 5 points

Connectionless routing sets up a TCP connection, or virtual circuit between a sender and
receiver.
Selected Answer:
Answers:

False
True
False

Question 2
5 out of 5 points

The source port identifier in the TCP header tells the TCP software on the destination
computer, which application on the destination it should pass the packet to.
Selected Answer:
Answers:

False
True
False

Question 3
5 out of 5 points

In the three-tier architecture, the software on the client computer is responsible for the
presentation logic, an application server is responsible for the application logic and a
separate database server is responsible for the data access logic and data storage.
Selected Answer:
Answers:

True
True
False

Question 4
5 out of 5 points

A request header for an HTTP request starts with a command, such as GET, and ends with
the HTTP version number that the browser understands.
Selected Answer:
Answers:

False
True
False

Question 5
5 out of 5 points

To use the Web, each client computer requires a data link layer software package called a
Web browser.
Selected Answer:
Answers:

False
True
False

Question 6
5 out of 5 points

The standard port number for SMTP is 53.


Selected Answer:
Answers:

False
True
False

Question 7
5 out of 5 points

Because there is a limit on the length of a frame that the data link layer can transmit
from node to node, the transport layer breaks up the message from the application layer
into several smaller segments.
Selected Answer:
Answers:

True
True
False

Question 8
5 out of 5 points

The transport layer sits directly between the application layer and the data link layer in
the Internet five-layer network model.
Selected Answer:
Answers:

False
True
False

Question 9
5 out of 5 points

Domain Name Servers provide the equivalent of directory assistance for application layer
addresses.
Selected Answer:
Answers:

True
True
False

Question 10
5 out of 5 points

The four general functions of any application program are: data storage, data access
logic, application logic and presentation logic.
Selected Answer:
Answers:

True
True
False

Question 11
5 out of 5 points

The application architecture called the distributed computing model uses the thick
client approach.
Selected Answer:
Answers:

False
True
False

Question 12
5 out of 5 points

Because there is a limit on the length of a frame that the data link layer can transmit
from node to node, the transport layer breaks up the message from the application layer
into several smaller segments.
Selected Answer:
Answers:

True
True
False

Question 13
5 out of 5 points

The transport layer routes messages thought the network selecting the best path from
the source to the destination station.
Selected Answer:
Answers:

False
True

False

Question 14
5 out of 5 points

In a client-server network, the presentation logic is the responsibility of the client


computer.
Selected Answer:
Answers:

True
True
False

Question 15
5 out of 5 points

An example of an application layer address is www.indiana.edu


Selected Answer:
Answers:

True
True
False

Question 16
5 out of 5 points

To help determine to which application a transmission should be delivered on a particular


computer, TCP uses the application layer port addresses to distinguish among many open
applications on a computer
Selected Answer:
Answers:

True
True
False

Question 17
5 out of 5 points

Host-based and client-based networks are similar in that the client computer performs
most of the work.
Selected Answer:
Answers:

False
True
False

Question 18
5 out of 5 points

Part of the function of address resolution is translating the application layer address of
the destination into a network layer address.
Selected Answer:

True

Answers:

True

False

Question 19
5 out of 5 points

The TCP portion of TCP/IP performs linking to the application layer.


Selected Answer:
Answers:

True
True
False

Question 20
5 out of 5 points

All three parts (request line, request header, request body) of an HTTP request from a
web browser to a web server are required when a request is made.
Selected Answer:
Answers:

False
True
False

Das könnte Ihnen auch gefallen