Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

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



Question 1 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’;


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

c. UPDATE TABLE STUDENTS


SET COURSE = ‘BSIT’
WHERE COURSE = ‘BSIT’;

d. UPDATE TABLE STUDENTS


SET COURSE = ‘BSIT’;

Clear my choice

Question 2 Which of the following datatype is not being used in oracle?


Not yet
answered
Select one:
Marked out of
a. CHAR
1.00
b. INT

c. VARCHAR

d. NUMBER

Clear my choice

Question 3 Which of the following is not part of transaction control?


Not yet
answered
Select one:
Marked out of
a. ROLLBACK
1.00
b. SAVEPOINT

c. COMMIT

d. CREATE

Clear my choice

Question 4 This is formed by one or more than one attributes.


Not yet
answered
Answer: Identifier
Marked out of
1.00
Question 5 Consists of a collection of DML statements that form a logical
Not yet unit of work.
answered

Marked out of Select one:


 1.00
a. DML

 b. Transaction

c. Select

d. DDL

 Clear my choice


Question 6 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. Relational database

b. Database management system

c. Relational server

d. Relational model

Clear my choice

Question 7 This describes the database design at the physical level.


Not yet
answered
Answer: physical schema
Marked out of
1.00

Question 8 It is an interpreted data – data supplied with semantics.


Not yet
answered
Answer: information
Marked out of
1.00

Question 9 Which of the following is not part of data manipulation


Not yet language?
answered

Marked out of Select one:


1.00
a. Insert

b. Update

c. Alter

d. merge

Clear my choice

Question 10 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 11 Which of the following is the correct example of creating a new
Not yet table STUDENTS? The column STUD_ID is set to primary key.
answered

Marked out of Select one:


 1.00
a. CREATE TABLE STUDENTS( STUD_ID NUMBER(3) pk);

 b. CREATE STUDENTS( STUD_ID NUMBER(3) PRIMARY KEY);

c. CREATE TABLE STUDENTS( STUD_ID NUMBER(3) PRIMARY KEY);



d. CREATE TABLE STUDENTS( STUD_ID NUMBER(3)
datatypePRIMARY KEY);

Clear my choice

 Question 12 Which of the following is the correct example inserting a new


Not yet value to STUDENTS table that will only add new data to STUD_ID
 answered
and LASTNAME? The stud_id is 10 and lastname is ‘CRUZ’
Marked out of
1.00
Select one:
a. INSERT INTO STUDENTS(STUD_ID,LASTNAME)
VALUES(10,’CRUZ’);

b. INSERT INTO STUDENTS VALUES (STUD_ID,LASTNAME)


(10,’CRUZ’);

c. INSERT INTO STUDENTS (A0,’CRUZ’);

d. INSERT INTO STUDENTS VALUES (A0,’CRUZ’);

Clear my choice

Question 13 A type of DML statement that is use to add new rows in a table.
Not yet
answered
Select one:
Marked out of
a. TRUNCATE
1.00
b. DELETE

c. INSERT

d. UPDATE

Clear my choice

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


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

c. Index

d. Synonym

Clear my choice

Question 15 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 16 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: Transactions
1.00


Question 17 It is an association among several entities.
Not yet
 answered
Answer: relationship
Marked out of
 1.00


Question 18 The overall design of the database is called the
Not yet
answered
Answer: Database schema
Marked out of
1.00

Question 19 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 COLUMN CONTACT_NO NUMBER(11);

d. ALTER TABLE EMPLOYEES


ADD CONTACT_NO NUMBER;

Clear my choice
Question 20 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 STUD_ID = 01020564;

 WHERE LASTNAME = ‘REYES’;

 b. UPDATE TABLE STUDENTS


SET LASTNAME = ‘REYES’

WHERE STUD_ID = 01020564;


c. UPDATE STUDENTS
 SET STUD_ID = 01020564;

WHERELASTNAME = ‘REYES’;

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

Clear my choice

Question 21 Suppose that a user wanted to add a new column name as CITY
Not yet datatype set to char size 10. Which of the following is the correct
answered
sql statement?
Marked out of
1.00
Select one:
a. ALTER TABLE STUDENTS
ADD COLUMN CITY CHAR(10);

b. ALTER TABLE STUDENTS


ADD COLUMN CITY VARCHAR(10);

c. ALTER TABLE STUDENTS


ADD CITY VARCHAR(10);

d. ALTER TABLE STUDENTS


ADD CITY CHAR(10);

Clear my choice

Question 22 He proposed the relational model for database systems in 1970.


Not yet
answered
Select one:
Marked out of
a. Dr. J.F Codd
1.00
b. Dr. E.F Codd

c. DrcL.F Codd

d. Dr. Lee Codd

Clear my choice

Question 23 This is also known as facts that can be recorded and that have
Not yet implicit meaning.
answered

Marked out of
Answer: data
1.00
Question 24 It is collection of data that contains information relevant to an
Not yet enterprise.
answered

Marked out of
 Answer: Database
1.00


Question 25 Which of the following is the correct example of dropping the
Not yet table EMPLOYEES?
 answered

Marked out of Select one:


 1.00
a. DROP TABLE EMPLOYEES;

 b. ALTER TABLE DROP TABLE EMPLOYEES;

c. ALTER TABLE DROP EMPLOYEES;



d. DROP EMPLOYEES;

Clear my choice

Question 26 It is the collection of information stored in the database at a


Not yet particular moment is called
answered

Marked out of
Answer: instance of the database
1.00

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


Not yet
answered
Answer: logical schema
Marked out of
1.00

Question 28 Which of the following is the correct example of adding a new


Not yet column ADDRESS datatypevarchar size 20 to EMPLOYEES table?
answered

Marked out of Select one:


1.00
a. ALTER TABLE EMPLOYEES
ADD ADDRESS VARCHAR(20);

b. ALTER EMPLOYEES
ADD ADDRESS VARCHAR(20);

c. ALTER TABLE EMPLOYEES


SET ADDRESS VARCHAR(20);

d. ALTER TABLE EMPLOYEES


ADD COLUMN ADDRESS VARCHAR(20);

Clear my choice
Question 29 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. INSERT

 b. DELETE

c. UPDATE

d. TRUNCATE

 Clear my choice


Question 30 Which of the following is the correct example of inserting new
 Not yet values to STUDENTS table where the course is set to NULL;
answered

 Marked out of Select one or more:


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

b. INSERT INTO STUDENTS VALUES(1,'DELA CRUZ','JUANITO',NULL);

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

d. INSERT INTO STUDENTS (1,'DELA CRUZ','JUANITO','NULL');

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

You might also like