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 2 with all Correct & 100% Verified Answers |Actual Complete Exam |Already Graded A+

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
20-06-2026
Written in
2025/2026

COSC 3380 Exam 2 with all Correct & 100% Verified Answers |Actual Complete Exam |Already Graded A+

Institution
Cosc
Course
Cosc

Content preview

COSC 3380 Exam 2 with all Correct & 100% Verified
Answers |Actual Complete Exam |Already Graded A+

Stored functions have no parameters ✔Correct Answer-False

ID in Faculty is the PRIMARY KEY. Code in Department is the PRIMARY KEY
If DepartmentView is a materialized view, against what tables is the query executed?
✔Correct Answer-DepartmentView

Which statement correctly inserts Sales ✔Correct Answer-INSERT INTO Department
VALUES(82, 'Sales', 6381)

Feedback: the column names are omitted, so the values must be in the same order as the
columns produced by SHOW COLUMNS

Stored functions may be executed from the MySQL command line ✔Correct Answer-True

Select the database programming technique that best matches the description.
- Usually generates a network round trip for each SQL query ✔Correct Answer-Embedded SQL

What cities are selected?
SELECT * FROM city WHERE ID < 300 OR Population > 7500000 ✔Correct Answer-Rio de
Janeiro

What cities are selected?
SELECT Name FROM City WHERE id >= 2000; ✔Correct Answer-No cities

How many rows are returned?
SELECT * FROM Country WHERE Population IS NULL; ✔Correct Answer-1

What is missing to select rows except Aruba?
SELECT * FROM Country WHERE IndepYear _____; ✔Correct Answer-IS NOT NULL

Compiles and stores complex data processing tasks on the database server. ✔Correct Answer-
Procedural SQL

The driver manager communicates with all drivers using the same commands. ✔Correct
Answer-True

In the animation below, the close() method is called if the password is incorrect ✔Correct
Answer-False

, What is B? ✔Correct Answer-Financial

Which name refers to a single value selected by flightCursor? ✔Correct Answer-airport

What districts are selected?
SELECT District FROM City WHERE Name = 'Rio de Janerio'; ✔Correct Answer-Rio de Janerio

In a join, what are the first and second tables in the FROM clause called? ✔Correct Answer-
Left and right, respectively

Each database requires a different driver manager ✔Correct Answer-False

Which MYSQLCursor method should always be called prior to closing the cursor's connection?
✔Correct Answer-close()

What is wrong with the statement below?
EXEC SQL
SELECT ID, Name
INTO :employeeNumber, :employeeName
FROM Employee ✔Correct Answer-The statement should return one row, not many

A secondary API can be layered on top of a third API, for a total API layer ✔Correct Answer-
True

Which columns can be compared in a join? ✔Correct Answer-Only columns with comparable
data types

Which line assigns the correct tuple for the UPDATE statement?
flightQuery = ('UPDATE Flight ' 'SET AirlineName = %s ' 'WHERE FlightNumber = %s')
flightCursor.execute(flightQuery, flightData) ✔Correct Answer-flightData = ('United Airlines',
105)

In the animation below, the secondaryt API IS ODBC ✔Correct Answer-True

Which statement correctly inserts Engineering? ✔Correct Answer-INSERT INTO Department
(Name, ManagerID)
VALUES('Engineering', 2538)

The Library of Congress scans all books and documents in the collection. Scanned images are
converted to characters with optical character recognition software. Each book is associated
with a title and author ✔Correct Answer-Unstructured

Written for

Institution
Cosc
Course
Cosc

Document information

Uploaded on
June 20, 2026
Number of pages
9
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$17.49
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.
Stuvia2026 Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
24
Member since
1 year
Number of followers
1
Documents
5748
Last sold
2 weeks ago
\"Your trusted Hub for Academic Excellence\"

Stuvia 2024 is your trusted destination for top-tier study materials, including high-quality exams, assignments, and verified answer keys. Our content is crafted for excellence thorough, up-to-date, and tailored to help students succeed in their academic journey. Whether you\'re preparing for a final exam or need support with coursework, every document in our store is designed to provide clarity, accuracy, and confidence. At Stuvia 2024, academic success starts with the right resources.

Read more Read less
2.3

3 reviews

5
0
4
0
3
2
2
0
1
1

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