0% found this document useful (0 votes)
238 views

Database Management Systems - Prelims 2nd Attempt - 26 PDF

This document contains a 21 question quiz on database concepts. The questions cover topics like data integrity, data processing, data definition language commands, updating and modifying table structures using ALTER statements, and performing DML operations like UPDATE, DELETE, and TRANSACTIONS. The majority of the questions are multiple choice but some require short answers. The quiz is still in progress, with no questions yet answered.

Uploaded by

jikjik
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)
238 views

Database Management Systems - Prelims 2nd Attempt - 26 PDF

This document contains a 21 question quiz on database concepts. The questions cover topics like data integrity, data processing, data definition language commands, updating and modifying table structures using ALTER statements, and performing DML operations like UPDATE, DELETE, and TRANSACTIONS. The majority of the questions are multiple choice but some require short answers. The quiz is still in progress, with no questions yet answered.

Uploaded by

jikjik
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/ 8

Home My courses CS-350-LEC-1913T Week 4: Preliminary Examination Prelims



Question 1 This is a characteristic of database that includes also the
 Not yet protection of the database from unauthorized access
answered confidentiality and unauthorized changes.
 Marked out of
1.00
Answer: Data Integrity


Question 2 It is the term generally used to describe what was done by large
Not yet mainframe computers from the late 1940's until the early 1980's.
answered

Marked out of
Answer: Data Processing
1.00

Question 3 Which of the following is not part of data control language?


Not yet
answered
Select one:
Marked out of
a. Revoke
1.00
b. Insert

c. Grant

Clear my choice

Question 4 Which of the following is the correct example of updating the


Not yet LASTNAME to ‘REYES’ of all students from STUDENTS table whose
answered
STUD_ID is equal to 01020564?
Marked out of
1.00
Select one:
a. UPDATE TABLE STUDENTS
SET LASTNAME = ‘REYES’
WHERE STUD_ID = 01020564;

b. UPDATE STUDENTS
SET STUD_ID = 01020564;
WHERELASTNAME = ‘REYES’;

c. UPDATE STUDENTS
SET LASTNAME = ‘REYES’
WHERE STUD_ID = 01020564;

d. UPDATE TABLE STUDENTS


SET STUD_ID = 01020564;
WHERE LASTNAME = ‘REYES’;

Clear my choice
Question 5 Which of the following is the correct example of adding a new
Not yet column CONTACT_NOdatatypeNUMBER size 11 to EMPLOYEES
answered
table?
Marked out of
 1.00
Select one:
a. ALTER TABLE EMPLOYEES

ADD CONTACT_NO NUMBER(11);


b. ALTER EMPLOYEES
 ADD CONTACT_NO NUMBER(11);


c. ALTER TABLE EMPLOYEES
ADD CONTACT_NO NUMBER;

 d. ALTER TABLE EMPLOYEES


ADD COLUMN CONTACT_NO NUMBER(11);

Clear my choice

Question 6 It is a unit of data – is a symbol or a set of symbols which is used


Not yet to represent something.
answered

Marked out of
Answer: Datum
1.00

Question 7 A statement that is use to rename the table or change the


Not yet existing name of the table.
answered

Marked out of Select one:


1.00
a. Alias

b. Update

c. Rename

d. Name

Clear my choice

Question 8 A type of DML statement that is use to update existing rows in a


Not yet table.
answered

Marked out of Select one:


1.00
a. UPDATE

b. TRUNCATE

c. INSERT

d. DELETE

Clear my choice
Question 9 Which of the following is the correct example of modifying the
Not yet column lastname? Change the datatype size to 20.
answered

Marked out of Select one:


 1.00
a. ALTER EMPLOYEES
SET LASTNAME  = VARCHAR(20);

 b. ALTER EMPLOYEES
MODIFY LASTNAME VARCHAR(20);

c. ALTER TABLE EMPLOYEES

MODIFY LASTNAME VARCHAR(20);


d. ALTER TABLE EMPLOYEES
 SETLASTNAME  =VARCHAR(20);

Clear my choice

Question 10 Which of the following is the correct example of renaming the


Not yet table EMPLOYEES to WORKERS?
answered

Marked out of Select one:


1.00
a. RENAME TABLE EMPLOYEES TO WORKERS;

b. RENAME EMPLOYEES TO WORKERS;

c. ALTER TABLE RENAME EMPLOYEES TO WORKERS;

d. RENAME EMPLOYEES AS WORKERS;

Clear my choice

Question 11 Which of the following is the correct example updating the


Not yet student LASTNAME TO ‘SANTOS’ and course to ‘BSCS’ whose
answered
STUD_ID is equal to 109?
Marked out of
1.00
Select one:
a. UPDATE TABLE EMPLOYEES
SET LASTNAME = ‘SANTOS’, COURSE = ‘BSCS’
WHERE STUD_ID = 109;

b. UPDATE EMPLOYEES
SET LASTNAME = ‘SANTOS’, SET COURSE = ‘BSCS’
WHERE STUD_ID = 109;

c. UPDATE TABLE EMPLOYEES


SET LASTNAME = ‘SANTOS’, SET COURSE = ‘BSCS’

WHERE STUD_ID = 109;

d. UPDATE EMPLOYEES
SET LASTNAME = ‘SANTOS’, COURSE = ‘BSCS’
WHERE STUD_ID = 109;

Clear my choice
Question 12 It is a bundle of actions which are done within a database to
Not yet bring it from one consistent state to a new consistent state.
answered

Marked out of
 Answer: Transaction
1.00


Question 13 It is design to manage large bodies of information.
Not yet
 answered
Answer: Database System
Marked out of
 1.00


Question 14 Which of the following is the correct example of deleting all
Not yet records in STUDENTS table;
answered

Marked out of Select one or more:


1.00
a. DELETE TABLE STUDENTS;

b. DELETE * FROM STUDENTS;

c. DELETE FROM STUDENTS;

d. DROP TABLE STUDENTS;

Question 15 An alter statement that is used to update an existing column


Not yet datatype or datatype size.
answered

Marked out of Select one:


1.00
a. ADD

b. DROP

c. DELETE

d. MODIFY

Clear my choice

Question 16 An alter statement that is used to add new column to the table.
Not yet
answered
Select one:
Marked out of
a. DROP
1.00
b. ADD

c. DELETE

d. MODIFY

Clear my choice
Question 17 Which of the following is the correct example updating all
Not yet student COURSE to ‘BSIT’ from STUDENTS table?
answered

Marked out of Select one:


 1.00
a. UPDATE STUDENTS
SET COURSE = ‘BSIT’

WHERE COURSE = ‘BSIT’;

b. UPDATE STUDENTS
 SET COURSE = ‘BSIT’;


c. UPDATE TABLE STUDENTS
 SET COURSE = ‘BSIT’;

 d. UPDATE TABLE STUDENTS


SET COURSE = ‘BSIT’

WHERE COURSE = ‘BSIT’;

Clear my choice

Question 18 Suppose that a user uses the DELETE statement as shown below:
Not yet what is/are the possible output.
answered
 
Marked out of
1.00 DELETE from STUDENT;

Select one:
a. All rows are deleted but the table is still intact.

b. 0 rows are updated.

c. All rows are deleted including table structure.

d. 0 rows are deleted.

Clear my choice

Question 19 Are said to exhibit physical data independence if they do not


Not yet depend on the physical schema.
answered

Marked out of
Answer: Application Program
1.00
Question 20 Which of the following is the correct example of modifying the
Not yet column JOB_ID? Change the datatype size to 10.
answered

Marked out of Select one:


 1.00
a. ALTER EMPLOYEES
MODIFY JOB_ID CHAR(10);

 b. ALTER TABLE EMPLOYEES


MODIFY SET JOB_ID CHAR(10);

c. ALTER TABLE EMPLOYEES

MODIFY JOB_ID CHAR(10);


d. ALTER EMPLOYEES
 MODIFY SET JOB_ID CHAR(10);

Clear my choice

Question 21 Suppose that a user wanted to change the datatype of column


Not yet ADDRESS from Varchar to Char which of the following is the
answered
correct example.
Marked out of
1.00
Select one:
a. ALTER STUDENTS
SET ADDRESS VARCHAR(20);

b. ALTER TABLE STUDENTS


SET ADDRESS VARCHAR(20);

c. ALTER TABLE STUDENTS


MODIFY ADDRESS VARCHAR(20);

d. ALTER STUDENTS
MODIFY ADDRESS VARCHAR(20);

Clear my choice

Question 22 It is a collection of relations or two-dimensional tables


Not yet controlled by the Oracle server.
answered

Marked out of Select one:


1.00
a. Database management system

b. Relational database

c. Relational model

d. Relational server

Clear my choice

Question 23 This describes the database design at the logical level.


Not yet
answered
Answer: Logical Schema
Marked out of
1.00
Question 24 Suppose that a user wanted to insert a new value using the
Not yet explicit method which of the following is the correct example.
answered

Marked out of Select one:


 1.00
a. INSERT INTO STUDENTS VALUES (10,’ELENA’)

 b. INSERT INTO STUDENST(USN_ID, FIRSTNAME)


VALUES(10,’ELENA’)
 c. INSERT INTO STUDENTS VALUES (10, NULL,’ELENA’,NULL);

d. INSERT INTO STUDENTS VALUES (USN_ID, FIRSTNAME)


 (10,’ELENA’)

 Clear my choice


Question 25 A type of DML statement that is use to remove existing rows in a
 Not yet table.
answered

Marked out of Select one:


1.00
a. TRUNCATE

b. UPDATE

c. DELETE

d. INSERT

Clear my choice

Question 26 It is a collection of interrelated data and a set of programs to


Not yet access those data.
answered

Marked out of
Answer: Database Management System
1.00

Question 27 It logically represents subsets of data from one or more table.


Not yet
answered
Select one:
Marked out of
a. Index
1.00
b. Table

c. View

d. Synonym

Clear my choice

Question 28 Which of the following is the correct example of inserting new


Not yet values to STUDENTS table?
answered

Marked out of Select one or more:


1.00
a. INSERT INTO STUDENTS VALUES(1,'DELA CRUZ','JUANITO','BSIT');

b. INSERT INTO STUDENTSVALUES('1','DELA CRUZ','JUANITO','BSIT');

c. INSERT INTO STUDENTS (1,'DELA CRUZ','JUANITO','BSIT');

d. INSERT INTO STUDENTS VALUES(1,DELA CRUZ,JUANITO,BSIT);


Question 29 An alter statement that is used to delete an existing column in
Not yet the table.
answered

Marked out of Select one:


 1.00
a. DELETE

 b. ADD

c. DROP

d. MODIFY

 Clear my choice


Question 30 Suppose that a user wanted to insert a new value using the
 Not yet implicit method which of the following is the correct example.
answered

 Marked out of Select one:


1.00
a. INSERT INTO STUDENTS VALUES (10, NULL,’ELENA’,NULL);

b. INSERT INTO STUDENST(USN_ID, FIRSTNAME)


VALUES(10,’ELENA’)

c. INSERT INTO STUDENTS VALUES (USN_ID, FIRSTNAME)


(10,’ELENA’)

d. INSERT INTO STUDENTS VALUES (10,’ELENA’)

Clear my choice

Stay in touch
AMA EDUCATION SYSTEM
 https://blended.amauonline.com/helpdesk

You might also like