Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

COSC 3380 Exam 3 Questions and Answers Already Passed

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
01-03-2025
Written in
2024/2025

COSC 3380 Exam 3 Questions and Answers Already Passed Reading one gigabyte takes about one second. - Answers Flash memory Used to store petabytes (millions of gigabytes) of user data in the cloud. - Answers Magnetic disk Upgrading from 16 to 32 gigabytes costs an extra $400 for an Apple laptop computer. - Answers Main memory Approximately how many sectors are required to store one megabyte of data? Always 8,000 Always 2,000 Either 250 or 2,000 - Answers Either 250 or 2000 The database administrator specifies an eight-kilobyte block size. Flash memory page size is two kilobytes. A user runs a query that reads two pages of flash memory. How many blocks are transferred to main memory? - Answers One A database uses 16-kilobyte blocks. A table contains 18,200 rows of 100 bytes each. Ignoring space used by the system for overhead, how many bytes are unused on each block? Assume one kilobyte = 1,024 bytes. None 84 384 - Answers 84 4-megabyte photographs are usually stored ____. - Answers separate from other columns, managed either within the database or by the file system Assume column-oriented storage. Roughly how many blocks are required to compute average income by postal code for all people? - Answers 3250 blocks Assume row-oriented storage, with each row containing Name, Income, and PostalCode only. Roughly how many blocks are required to compute average income by postal code for all people? - Answers 8264 blocks The term 'column-oriented' ____. - Answers means either a technique for organizing data on storage media or a type of NoSQL database How many tables can be stored in one tablespace? A least zero, at most one At least zero, at most many At least one, at most many - Answers At least zero, at most many The Airport table has two thousand rows. The Airline table has ten thousand rows. Both tables are updated infrequently. Should Airport and Airline be stored in the same tablespace? - Answers Sometimes The Booking table has ten million rows and is updated frequently. The Airline table has ten thousand rows and is updated infrequently. Should Booking and Airline be stored in the same tablespace? - Answers Never How many partitions can one table have? At least zero, at most many At least one, at most many Always many - Answers At least zero, at most many The Airport table has two thousand rows and is updated infrequently. Should Airport be partitioned? Always Sometimes Never - Answers Never The Reservation table has one hundred million rows and is updated frequently. Most queries access recent bookings. Should Reservation be partitioned? Yes, Reservation should be partitioned on the ReservationDate column Yes, Reservation should be partitioned on the FlightNumber column No - Answers Yes, Reservation should be partitioned on the ReservationDate column Assume 100 rows fit in each block of a sorted table. If a block is full and an insert causes the block to split, roughly what percentage of the new and old blocks is empty? 33% 50% 90% - Answers 50% A database designer creates a new Employee table with primary key 'EmployeeNumber', loads 1 million rows into the table, then runs many queries that join other tables on the EmployeeNumber column. What is the best structure for Employee? Sorted table Heap table Heap table initially, then restructure to sorted table after bulk load is complete - Answers Heap table initially, then restructure to sorted table after bulk load is complete Sorted tables are always sorted on a single column. True False - Answers False If each bucket initially has one block, how many rows fit into a single bucket?

Show more Read less
Institution
COSC 3380
Course
COSC 3380

Content preview

COSC 3380 Exam 3 Questions and Answers Already Passed

Reading one gigabyte takes about one second. - Answers Flash memory

Used to store petabytes (millions of gigabytes) of user data in the cloud. - Answers Magnetic disk

Upgrading from 16 to 32 gigabytes costs an extra $400 for an Apple laptop computer. - Answers Main
memory

Approximately how many sectors are required to store one megabyte of data?

Always 8,000

Always 2,000

Either 250 or 2,000 - Answers Either 250 or 2000

The database administrator specifies an eight-kilobyte block size. Flash memory page size is two
kilobytes. A user runs a query that reads two pages of flash memory. How many blocks are transferred
to main memory? - Answers One

A database uses 16-kilobyte blocks. A table contains 18,200 rows of 100 bytes each. Ignoring space used
by the system for overhead, how many bytes are unused on each block? Assume one kilobyte = 1,024
bytes.

None

84

384 - Answers 84

4-megabyte photographs are usually stored ____. - Answers separate from other columns, managed
either within the database or by the file system

Assume column-oriented storage. Roughly how many blocks are required to compute average income
by postal code for all people? - Answers 3250 blocks

Assume row-oriented storage, with each row containing Name, Income, and PostalCode only. Roughly
how many blocks are required to compute average income by postal code for all people? - Answers
8264 blocks

The term 'column-oriented' ____. - Answers means either a technique for organizing data on storage
media or a type of NoSQL database

How many tables can be stored in one tablespace?

A least zero, at most one

, At least zero, at most many

At least one, at most many - Answers At least zero, at most many

The Airport table has two thousand rows. The Airline table has ten thousand rows. Both tables are
updated infrequently. Should Airport and Airline be stored in the same tablespace? - Answers
Sometimes

The Booking table has ten million rows and is updated frequently. The Airline table has ten thousand
rows and is updated infrequently. Should Booking and Airline be stored in the same tablespace? -
Answers Never

How many partitions can one table have?

At least zero, at most many

At least one, at most many

Always many - Answers At least zero, at most many

The Airport table has two thousand rows and is updated infrequently. Should Airport be partitioned?

Always

Sometimes

Never - Answers Never

The Reservation table has one hundred million rows and is updated frequently. Most queries access
recent bookings. Should Reservation be partitioned?

Yes, Reservation should be partitioned on the ReservationDate column

Yes, Reservation should be partitioned on the FlightNumber column

No - Answers Yes, Reservation should be partitioned on the ReservationDate column

Assume 100 rows fit in each block of a sorted table. If a block is full and an insert causes the block to
split, roughly what percentage of the new and old blocks is empty?

33%

50%

90% - Answers 50%

A database designer creates a new Employee table with primary key 'EmployeeNumber', loads 1 million
rows into the table, then runs many queries that join other tables on the EmployeeNumber column.
What is the best structure for Employee?

Written for

Institution
COSC 3380
Course
COSC 3380

Document information

Uploaded on
March 1, 2025
Number of pages
14
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.79
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TutorJosh Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
467
Member since
1 year
Number of followers
16
Documents
32424
Last sold
23 hours ago
Tutor Joshua

Here You will find all Documents and Package Deals Offered By Tutor Joshua.

3.4

74 reviews

5
26
4
16
3
14
2
1
1
17

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions