
CPT 231 Midterm Part 1

Quiz
•
Computers
•
University
•
Easy
Reza Naqvi
Used 3+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does a relational database use to uniquely identify each row in a table?
indexes
foreign keys
non-primary keys
primary keys
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Assuming the third row in the OrderOptions table has an OrderOptionsID of 3, what does the following SQL statement do?
DELETE FROM OrderOptions
WHERE OrderOptionsID = 3
It deletes the OrderOptionsID column from the OrderOptions table
It deletes the first three rows from the OrderOptions table
It deletes the row in the OrderOptions table that has an ID of 3
It deletes all rows except the first three rows from the OrderOptions table
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Code example 19-1
SELECT VendorName, InvoiceNumber, InvoiceDate, InvoiceTotal
FROM Vendors INNER JOIN Invoices
ON Vendors.VendorID = Invoices.VendorID
WHERE InvoiceTotal >= 500
ORDER BY VendorName DESC
(Refer to code example 19-1.) How many columns will the result set have?
7
6
5
4
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
To communicate with a DBMS, the application software sends
command objects
SQL Queries
dataset requests
primary keys
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the following SQL statement add to the Terms table?
INSERT INTO Terms (TermsDueDays) VALUES (90)
A row with a value of 90 for the TermsDueDays column
90 rows with a column of TermsDueDays
All rows where the TermsDueDays column has a value of 90
A TermsDueDays column with a default value of 90
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following can a SELECT statement not do?
Retrieve data
Create calculated fields
Combine data from two tables
Modify selected data
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The data that’s retrieved by a SELECT statement is called a
check constraint
SQL query
data reader
result set
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Information Management Midterm

Quiz
•
University
35 questions
Systems Administration (LAB) Midterm

Quiz
•
University
44 questions
Data Structures Quiz

Quiz
•
University
36 questions
Microsoft Word COM 102

Quiz
•
University
40 questions
Data Analysis - Surveys & Graphs

Quiz
•
9th Grade - University
35 questions
SQL

Quiz
•
University
40 questions
Spreadsheet Quiz

Quiz
•
9th Grade - University
35 questions
Quiz Berpikir Komputasional Informatika Kelas X

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University