0% found this document useful (0 votes)
77 views15 pages

Final Exam Data 1

الاختبار النهائية جامعة الشعب بيانات

Uploaded by

lmyaltrky663
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views15 pages

Final Exam Data 1

الاختبار النهائية جامعة الشعب بيانات

Uploaded by

lmyaltrky663
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

11/3/24, 2:30 PM Final Exam | Home

Time left 0:06:18

Question In an ER diagram, what does the term "optional participation" mean?


1
Answer saved a. Indicating that every entity in the superclass must participate in the subtype
Marked out of b. Describing the degree of participation of entities in a relationship
1.00
c. Ensuring referential integrity
d. Specifying the order of records in a table
Clear my choice

Question How can data redundancy impact the reliability of a database system?
2
Answer saved a. It enhances database reliability
Marked out of b. It has no effect on database reliability
1.00
c. It increases the risk of data inconsistency and errors
d. It simplifies data recovery processes
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 1/15
11/3/24, 2:30 PM Final Exam | Home

Question In an ER diagram, what does the term "mandatory participation" mean?


3
Answer saved a. Specifying the order of records in a table
Marked out of b. Ensuring referential integrity
1.00
c. Indicating that every entity in the superclass must participate in the subtype
d. Describing the degree of participation of entities in a relationship
Clear my choice

Question In the Waterfall model, documentation is not a significant aspect as it prioritizes code over
4 comprehensive project documentation. Is the statement TRUE or FALSE?
Answer saved
Marked out of a. TRUE
1.00
b. FALSE
Clear my choice

Question What is a stored procedure in the context of database programming?


5
Answer saved a. A query that retrieves data from multiple tables
Marked out of b. A precompiled collection of one or more SQL statements
1.00
c. An index on a specific column
d. A constraint that ensures data integrity
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 2/15
11/3/24, 2:30 PM Final Exam | Home

Question The statement to update the "price" column to 0 for all records in a table named "products" with a
6 "quantity" less than 10 is:
Answer saved
Marked out of a. UPDATE products SET price = 0 WHERE quantity < 10
1.00
b. MODIFY products SET price = 0 WHERE quantity < 10
c. CHANGE products SET price = 0 WHERE quantity < 10
d. INCREMENT products SET price = 0 WHERE quantity < 10
Clear my choice

Question What role does the PreparedStatement interface serve in JDBC?


7
Answer saved a. Executing stored procedures
Marked out of b. Precompiling SQL queries
1.00
c. Managing database metadata
d. Handling database connections
Clear my choice

Question The maximum length of a CHAR data type is fixed and must be specified when defining the
8 column. Is the statement TRUE or FALSE?
Answer saved
Marked out of a. TRUE
1.00
b. FALSE
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 3/15
11/3/24, 2:30 PM Final Exam | Home

Question How does a Database Auditor contribute to the security of a database system?
9
Answer saved a. By managing and maintaining the database system
Marked out of b. By designing network architectures with a focus on encryption
1.00
c. By conducting audits and ensuring compliance with security policies
d. By creating data visualizations for security reports
Clear my choice

Question Views are used to ______


10
Answer saved a. store data.
Marked out of b. create indexes.
1.00
c. simplify queries.
d. cluster data.
Clear my choice

Question Which normal form guarantees that no non-prime attributes are transitively dependent on the
11 primary key?
Answer saved
Marked out of a. Second Normal Form (2NF)
1.00
b. Third Normal Form (3NF)
c. Boyce-Codd Normal Form (BCNF)
d. Fourth Normal Form (4NF)
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 4/15
11/3/24, 2:30 PM Final Exam | Home

Question Which term is used to describe the collection of attributes that characterize a real-world entity in a
12 relation?
Answer saved
Marked out of a. Tuple
1.00
b. Schema
c. Record
d. Table
Clear my choice

Question What is Static SQL?


13
Answer saved a. SQL statements generated in the source code at runtime
Marked out of b. SQL statements embedded in the source code at compile time
1.00
c. SQL statements executed without a predefined schema
d. SQL statements with changing parameters
Clear my choice

Question In ODBC, what is the purpose of the ODBC Driver Manager?


14
Answer saved a. Translating ODBC calls into database-specific commands
Marked out of b. Managing database connections and pooling
1.00
c. Providing a user interface for query building
d. Storing metadata information about the database
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 5/15
11/3/24, 2:30 PM Final Exam | Home

Question What is the purpose of the SQL delete statement?


15
Answer saved a. To remove a table
Marked out of b. To delete a column
1.00
c. To delete records from a table
d. To delete a database
Clear my choice

Question In a physical data model, what is the role of a database lock?


16
Answer saved a. Enforcing data integrity constraints
Marked out of b. Providing a consistent and isolated view of the data
1.00
c. Normalizing database tables
d. Managing concurrent access to data
Clear my choice

Question What is the primary purpose of database schema evolution in alteration strategies?
17
Answer saved a. To organize data into logical structures
Marked out of b. To enhance data encryption techniques
1.00
c. To modify database structures without disrupting operations
d. To integrate data from disparate sources
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 6/15
11/3/24, 2:30 PM Final Exam | Home

Question The SQL UPDATE statement is used to insert new records into a table. Is the statement TRUE or
18 FALSE?
Answer saved
Marked out of a. TRUE
1.00
b. FALSE
Clear my choice

Question Which SQL statement is used to roll back the changes made during the current transaction?
19
Answer saved a. REVERT
Marked out of b. UNDO
1.00
c. CANCEL
d. ROLLBACK
Clear my choice

Question Which interface in JDBC is responsible for executing SQL queries and returning results? Ê
20
Answer saved a. JDBCConnection Ê
Marked out of b. Statement Ê
1.00
c. ResultSet
d. DatabaseMetaData
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 7/15
11/3/24, 2:30 PM Final Exam | Home

Question In an ER diagram, what does the term "transitive dependency" refer to?
21
Answer saved a. A many-to-many relationship
Marked out of b. An attribute that depends on another attribute
1.00
c. A relationship that connects three entities
d. A dependency between two non-key attributes through another non-key attribute
Clear my choice

Question How does the use of a unique constraint contribute to the development of relations in a relational
22 data model?
Answer saved
Marked out of a. A unique constraint prevents relationships between tables.
1.00
b. A unique constraint enforces the uniqueness of values in a column, supporting
relationships.
c. A unique constraint allows null values in a column.
d. A unique constraint is only applicable to primary keys.
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 8/15
11/3/24, 2:30 PM Final Exam | Home

Question What technique is used to merge multiple databases into a single logical unit for easier
23 management?
Answer saved
Marked out of a. Database mirroring
1.00
b. Data partitioning
c. Database clustering
d. Data archiving
Clear my choice

Question In the context of a relational database, which of the following best defines an attribute?
24
Answer saved a. A unique identifier for a record
Marked out of b. A named collection of related records
1.00
c. A specific characteristic or property of an entity
d. A function or procedure used to manipulate data
Clear my choice

Question What is a nested SELECT statement in SQL?


25
Answer saved a. A SELECT statement that retrieves all columns from a table.
Marked out of b. A SELECT statement used within another SELECT statement.
1.00
c. A SELECT statement that involves multiple JOIN operations.
d. A SELECT statement that retrieves distinct values from a column.
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 9/15
11/3/24, 2:30 PM Final Exam | Home

Question In a database, what is the purpose of the COMMIT statement in a transaction?


26
Answer saved a. Roll back the changes made during transaction.
Marked out of b. Save the changes made during the transaction.
1.00
c. Lock the database for exclusive access.
d. Retrieve data from the database.
Clear my choice

Question What is the role of an "is-a" relationship in a conceptual data model?


27
Answer saved a. Representing many-to-many relationships
Marked out of b. Defining a subtype or superclass relationship
1.00
c. Establishing foreign key constraints
d. Ensuring referential integrity
Clear my choice

Question Which of the following is a characteristic of ODBC that contributes to its platform independence?
28
Answer saved a. It is specific to a particular database vendor
Marked out of b. It relies on a proprietary query language
1.00
c. It uses a standardized API for database access
d. It requires a specific operating system for compatibility
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 10/15
11/3/24, 2:30 PM Final Exam | Home

Question What is the role of a database view in a physical data model?


29
Answer saved a. Representing a physical storage structure
Marked out of b. Storing query results to improve performance
1.00
c. Defining complex relationships between tables
d. Normalizing data structures
Clear my choice

Question What is the purpose of the SQL RIGHT JOIN?


30
Answer saved a. To retrieve only the unmatched rows from both tables
Marked out of b. To retrieve all rows from both tables, filling in NULL values for unmatched rows
1.00
c. To retrieve only the rows with matching values in both tables
d. To retrieve only the unmatched rows from the right table and the matched rows from the
left table
Clear my choice

Question What is the main drawback of the Waterfall model in database development?
31
Answer saved a. Inflexibility to changing requirements
Marked out of b. Overemphasis on rapid iterations
1.00
c. Lack of stakeholder involvement
d. Overcomplicated project management
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 11/15
11/3/24, 2:30 PM Final Exam | Home

Question The SQL data type used for storing integers with a small range is:
32
Answer saved a. INT
Marked out of b. BIGINT
1.00
c. MEDIUMINT
d. SMALLINT
Clear my choice

Question What is the correct SQL statement to add a new column named "is_available" to the "inventory"
33 table.?
Answer saved
Marked out of a. ADD is_available TO inventory
1.00
b. CREATE COLUMN is_available IN inventory BOOLEAN
c. UPDATE inventory SET is_available = TRUE
d. ALTER TABLE inventory ADD COLUMN is_available BOOLEAN
Clear my choice

Question Decomposition in the context of normalization refers to:


34
Answer saved a. Combining two tables into one
Marked out of b. Breaking down a higher normal form table into multiple tables
1.00
c. Creating a view from existing tables
d. Adding redundancy to a database
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 12/15
11/3/24, 2:30 PM Final Exam | Home

Question What distinguishes a conceptual data model from a physical data model?
35
Answer saved a. Conceptual models focus on implementation details, while physical models abstract real-
Marked out of world concepts.
1.00
b. Conceptual models describe how data is stored in databases, while physical models
capture real-world relationships.
c. Conceptual models represent real-world concepts, while physical models detail the
database implementation.
d. Conceptual models and physical models are interchangeable terms in data modeling.
Clear my choice

Question In the context of data modeling, what does the term "cardinality" refer to?
36
Answer saved a. The data type of an attribute
Marked out of b. The relationship between two entities
1.00
c. The number of columns in a table
d. The size and complexity of a database
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 13/15
11/3/24, 2:30 PM Final Exam | Home

Question What is the role of the DROP COLUMN clause when modifying a table?
37
Answer saved a. Remove all columns from a table
Marked out of b. Add a new column to a table
1.00
c. Delete a specific column from a table
d. Change the data type of a column
Clear my choice

Question What is an advantage of reducing data redundancy in terms of data security?


38
Answer saved a. Improved encryption
Marked out of b. Enhanced data privacy
1.00
c. Simplified access controls
d. Increased susceptibility to unauthorized access
Clear my choice

Question Functional dependencies are crucial for identifying relationships between tables and minimizing
39 data anomalies. Is the statement TRUE or FALSE?
Answer saved
Marked out of a. TRUE
1.00
b. FALSE
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 14/15
11/3/24, 2:30 PM Final Exam | Home

Question The DATE data type stores only the date part without the time information. Is the statement TRUE
40 or FALSE?
Answer saved
Marked out of a. TRUE
1.00
b. FALSE
Clear my choice

https://my.uopeople.edu/mod/quiz/attempt.php?attempt=16071064&cmid=433820 15/15

You might also like