10/5/22, 8:07 PM PRELIM EXAMINATION: Attempt review
Home / My courses / UGRD-IT6202-2212S / PRELIM EXAMINATION / PRELIM EXAMINATION
Started on Wednesday, 5 October 2022, 7:59 PM
State Finished
Completed on Wednesday, 5 October 2022, 8:07 PM
Time taken 7 mins 38 secs
Marks 30.00/30.00
Grade 100.00 out of 100.00
Question 1
Complete
Mark 1.00 out of 1.00
It is a unit of data – is a symbol or a set of symbols which is used to represent something.
Answer: datum
Question 2
Complete
Mark 1.00 out of 1.00
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.
Answer: Data processing
Question 3
Complete
Mark 1.00 out of 1.00
Which of the following is not part of data manipulation language?
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
Mark 1.00 out of 1.00
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);
c. ALTER TABLE EMPLOYEES
SETLASTNAME =VARCHAR(20);
d. ALTER TABLE EMPLOYEES
MODIFY LASTNAME VARCHAR(20);
Your answer is correct.
Question 5
Complete
Mark 1.00 out of 1.00
A type of DML statement that is use to update existing rows in a table.
Select one:
a. TRUNCATE
b. INSERT
c. UPDATE
d. DELETE
Question 6
Complete
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
Basic unit of storage composed of rows and columns
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
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
It logically represents subsets of data from one or more table.
Select one:
a. View
b. Table
c. Synonym
d. Index
Question 12
Complete
Mark 1.00 out of 1.00
The overall design of the database is called the
Answer: Database schema
Question 13
Complete
Mark 1.00 out of 1.00
Are said to exhibit physical data independence if they do not depend on the physical schema.
Answer: Application program
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
Mark 1.00 out of 1.00
This describes the database design at the physical level.
Answer: Physical schema
Question 15
Complete
Mark 1.00 out of 1.00
Which of the following is not part of transaction control?
Select one:
a. COMMIT
b. ROLLBACK
c. CREATE
d. SAVEPOINT
Question 16
Complete
Mark 1.00 out of 1.00
It is an association among several entities.
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
Mark 1.00 out of 1.00
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’;
b. UPDATE TABLE STUDENTS
SET COURSE = ‘BSIT’
WHERE COURSE = ‘BSIT’;
c. UPDATE STUDENTS
SET COURSE = ‘BSIT’
WHERE COURSE = ‘BSIT’;
d. UPDATE TABLE STUDENTS
SET COURSE = ‘BSIT’;
Your answer is correct.
Question 18
Complete
Mark 1.00 out of 1.00
It is design to manage large bodies of information.
Answer: Database system
Question 19
Complete
Mark 1.00 out of 1.00
This describes the database design at the logical level.
Answer: Logical schema
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
Mark 1.00 out of 1.00
An alter statement that is used to delete an existing column in the table.
Select one:
a. DROP
b. DELETE
c. MODIFY
d. ADD
Question 21
Complete
Mark 1.00 out of 1.00
It is a collection of relations or two-dimensional tables controlled by the Oracle server.
Select one:
a. Relational database
b. Relational server
c. Database management system
d. Relational model
Question 22
Complete
Mark 1.00 out of 1.00
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
MODIFY SET JOB_ID CHAR(10);
b. ALTER TABLE EMPLOYEES
MODIFY JOB_ID CHAR(10);
c. ALTER TABLE EMPLOYEES
MODIFY SET JOB_ID CHAR(10);
d. ALTER EMPLOYEES
MODIFY JOB_ID CHAR(10);
Your answer is correct.
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
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
He proposed the relational model for database systems in 1970.
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
Mark 1.00 out of 1.00
This is a characteristic of database that includes also the protection of the database from unauthorized access confidentiality and
unauthorized changes.
Answer: Data integrity
Question 28
Complete
Mark 1.00 out of 1.00
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
SET LASTNAME = ‘SANTOS’, YR_LVL = ‘IRREG’;
b. UPDATE STUDENTS
SET LASTNAME = ‘SANTOS’, YR_LVL = ‘IRREG’
WHERE USN_ID = 50;
c. UPDATE STUDENTS
SET LASTNAME = ‘SANTOS’, SET YR_LVL = ‘IRREG’;
d. UPDATE STUDENTS
SET LASTNAME = ‘SANTOS’, SET YR_LVL = ‘IRREG’
WHERE USN_ID = 50;
Question 29
Complete
Mark 1.00 out of 1.00
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
Mark 1.00 out of 1.00
A type of DML statement that is use to add new rows in a table.
Select one:
a. TRUNCATE
b. UPDATE
c. DELETE
d. INSERT
◄ Announcements
Jump to...
PRELIM LAB EXAMINATION ►
semestralexam.amaes.com/2212/mod/quiz/review.php?attempt=13592&cmid=3797 10/10