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 4 Questions with Correct Answers Latest Update Graded A+

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

COSC 3380 Exam 4 Questions with Correct Answers Latest Update Graded A+ How many SQL statements must be in one transaction? Exactly one At least one At least two - Answers At least one After a transaction commits, the transaction can be rolled back: Always Sometimes Never - Answers Never After a rollback, the database restarts a transaction: Always Sometimes Never - Answers Sometimes A transaction increases all employee salaries by 10%. Due to a system failure, increases for only half of the employees are written to the database. - Answers Atomic A transaction saves a row with a foreign key. The foreign key is not NULL and does not match any values of the corresponding primary key. - Answers Consistent Two transactions running in parallel reserve the same seat for different passengers. - Answers Isolated A transaction withdraws $500 from account A and deposits $500 in account B. The withdrawal and deposit are written in the database, but due to a disk drive failure, the information is permanently lost. - Answers Durable T1 reads salaries of some Accounting department employees T2 transfers Maria Rodriguez from Accounting to Development T2 commits T1 reads salaries of remaining Accounting employees T1 computes and writes total salary of Accounting employees T1 commits - Answers Phantom read T2 increases Sam Snead's salary by 20% T1 reads Sam Snead's salary T2 rolls back T1 computes and writes Sam Snead's bonus based on his salary T1 commits - Answers Dirty read T1 computes total salary for the entire company T2 increases Sam Snead's salary by 20% T2 commits T1 computes total salary by department T1 writes ( department total / company total ) for each department T1 commits - Answers Nonrepeatable read A bank stores checking account data in a database. The bank stores account owner data in a file on a different computer. A database transaction creates a new owner in the file and assigns the owner to a checking account in the database. The transaction is always atomic. True False - Answers False The transaction is always consistent. True False - Answers False The transaction is always isolated. True False - Answers False The transaction is always durable. True False - Answers False X: 9

Show more Read less
Institution
COSC 3380
Course
COSC 3380

Content preview

COSC 3380 Exam 4 Questions with Correct Answers Latest Update 2025-2026 Graded A+

How many SQL statements must be in one transaction?

Exactly one

At least one

At least two - Answers At least one

After a transaction commits, the transaction can be rolled back:

Always

Sometimes

Never - Answers Never

After a rollback, the database restarts a transaction:

Always

Sometimes

Never - Answers Sometimes

A transaction increases all employee salaries by 10%. Due to a system failure, increases for only half of
the employees are written to the database. - Answers Atomic

A transaction saves a row with a foreign key. The foreign key is not NULL and does not match any values
of the corresponding primary key. - Answers Consistent

Two transactions running in parallel reserve the same seat for different passengers. - Answers Isolated

A transaction withdraws $500 from account A and deposits $500 in account B. The withdrawal and
deposit are written in the database, but due to a disk drive failure, the information is permanently lost. -
Answers Durable

T1 reads salaries of some Accounting department employees

T2 transfers Maria Rodriguez from Accounting to Development

T2 commits

T1 reads salaries of remaining Accounting employees

T1 computes and writes total salary of Accounting employees

T1 commits - Answers Phantom read

, T2 increases Sam Snead's salary by 20%

T1 reads Sam Snead's salary

T2 rolls back

T1 computes and writes Sam Snead's bonus based on his salary

T1 commits - Answers Dirty read

T1 computes total salary for the entire company

T2 increases Sam Snead's salary by 20%

T2 commits

T1 computes total salary by department

T1 writes ( department total / company total ) for each department

T1 commits - Answers Nonrepeatable read

A bank stores checking account data in a database. The bank stores account owner data in a file on a
different computer. A database transaction creates a new owner in the file and assigns the owner to a
checking account in the database.

The transaction is always atomic.

True

False - Answers False

The transaction is always consistent.

True

False - Answers False

The transaction is always isolated.

True

False - Answers False

The transaction is always durable.

True

False - Answers False

Written for

Institution
COSC 3380
Course
COSC 3380

Document information

Uploaded on
March 1, 2025
Number of pages
10
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