PRELIM EXAMINATION - Database Management System 1
PRELIM EXAMINATION - Database Management System 1
Question 1
Complete
Answer: datum
Question 2
Complete
It is the term generally used to describe what was done by large mainframe computers from the late 1940's until the early 1980's.
Question 3
Complete
Select one:
a. Alter
b. Update
c. Insert
d. merge
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 1/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 4
Complete
Which of the following is the correct example of modifying the column lastname? Change the datatype size to 20.
Select one:
a. ALTER EMPLOYEES
SET LASTNAME = VARCHAR(20);
b. ALTER EMPLOYEES
MODIFY LASTNAME VARCHAR(20);
SETLASTNAME =VARCHAR(20);
Question 5
Complete
Select one:
a. TRUNCATE
b. INSERT
c. UPDATE
d. DELETE
Question 6
Complete
Suppose that a user uses the DELETE statement as shown below: what is/are the possible output.
DELETE from STUDENT;
Select one:
a. 0 rows are updated.
b. All rows are deleted but the table is still intact.
c. 0 rows are deleted.
d. All rows are deleted including table structure.
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 2/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 7
Complete
Suppose that a user wanted to insert a new value using the implicit method which of the following is the correct example.
Select one:
a. INSERT INTO STUDENTS VALUES (10, NULL,’ELENA’,NULL);
b. INSERT INTO STUDENTS VALUES (USN_ID, FIRSTNAME)
(10,’ELENA’)
c. INSERT INTO STUDENST(USN_ID, FIRSTNAME)
VALUES(10,’ELENA’)
d. INSERT INTO STUDENTS VALUES (10,’ELENA’)
Question 8
Complete
A type of insert statement that specify the NULL keyword in the VALUES clause.
Select one:
a. Excluded
b. Explicit
c. included
d. Implicit
Question 9
Complete
Select one:
a. View
b. Index
c. Synonym
d. Table
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 3/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 10
Complete
Which of the following is the correct example of dropping the table EMPLOYEES?
Select one:
a. DROP EMPLOYEES;
b. ALTER TABLE DROP TABLE EMPLOYEES;
c. ALTER TABLE DROP EMPLOYEES;
d. DROP TABLE EMPLOYEES;
Question 11
Complete
Select one:
a. View
b. Table
c. Synonym
d. Index
Question 12
Complete
Question 13
Complete
Are said to exhibit physical data independence if they do not depend on the physical schema.
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 4/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 14
Complete
Question 15
Complete
Select one:
a. COMMIT
b. ROLLBACK
c. CREATE
d. SAVEPOINT
Question 16
Complete
Answer: relationship
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 5/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 17
Complete
Which of the following is the correct example updating all student COURSE to ‘BSIT’ from STUDENTS table?
Select one:
a. UPDATE STUDENTS
SET COURSE = ‘BSIT’;
c. UPDATE STUDENTS
SET COURSE = ‘BSIT’
Question 18
Complete
Question 19
Complete
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 6/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 20
Complete
Select one:
a. DROP
b. DELETE
c. MODIFY
d. ADD
Question 21
Complete
Select one:
a. Relational database
b. Relational server
c. Database management system
d. Relational model
Question 22
Complete
Which of the following is the correct example of modifying the column JOB_ID? Change the datatype size to 10.
Select one:
a. ALTER EMPLOYEES
d. ALTER EMPLOYEES
MODIFY JOB_ID CHAR(10);
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 7/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 23
Complete
A type of insert statement that omit the column from the column list.
Select one:
a. Excluded
b. included
c. Explicit
d. Implicit
Question 24
Complete
Which of the following is the correct example of creating a new table STUDENTS? The column STUD_ID is set to primary key.
Select one:
a. CREATE TABLE STUDENTS( STUD_ID NUMBER(3) datatypePRIMARY KEY);
b. CREATE TABLE STUDENTS( STUD_ID NUMBER(3) PRIMARY KEY);
c. CREATE TABLE STUDENTS( STUD_ID NUMBER(3) pk);
d. CREATE STUDENTS( STUD_ID NUMBER(3) PRIMARY KEY);
Question 25
Complete
It is a bundle of actions which are done within a database to bring it from one consistent state to a new consistent state.
Answer: Transaction
Question 26
Complete
Select one:
a. DrcL.F Codd
b. Dr. J.F Codd
c. Dr. E.F Codd
d. Dr. Lee Codd
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 8/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 27
Complete
This is a characteristic of database that includes also the protection of the database from unauthorized access confidentiality and
unauthorized changes.
Question 28
Complete
Suppose that a user wanted to update the lastname of student to ‘Santos’ and YR_LVL to ‘Irreg’ whose USN_ID is equal to 50, in one select
statement which of the following is the correct sql statement to use.
Select one:
a. UPDATE STUDENTS
Question 29
Complete
Which of the following is the correct example of truncating the table EMPLOYEES?
Select one:
a. TRUNCATE EMPLOYEES;
b. TRUNCATE TABLE EMPLOYEES;
c. ALTER TABLE TRUNCATE EMPLOYEES;
d. ALTER TABLE TRUNCATE TABLE EMPLOYEES;
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 9/10
10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Question 30
Complete
Select one:
a. TRUNCATE
b. UPDATE
c. DELETE
d. INSERT
◄ Announcements
Jump to...
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 10/10