Professional Documents
Culture Documents
Home / My courses /
UGRD-IT6202-2126S /
Week 5: Prelim Examination /
Prelim Exam
Question 1
Correct
Question 2
Correct
The overall logical structure schema of a database can be expressed graphically by an E-R diagram .
Question 3
Correct
Select one:
a. Insert
b. Alter
c. merge
d. Update
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 1/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 4
Correct
Which of the following is the correct example of inserting new values to STUDENTS table?
Select one:
a. INSERT INTO STUDENTSVALUES('1','DELA CRUZ','JUANITO','BSIT');
Question 5
Correct
Which of the following is the correct example updating all student COURSE to ‘BSIT’ from STUDENTS table?
Select one:
a. UPDATE TABLE STUDENTS
b. UPDATE STUDENTS
d. UPDATE STUDENTS
Question 6
Correct
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 2/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 7
Correct
Suppose that a user wanted to add a new column name as CITY datatype set to char size 10. Which of the following is the correct sql
statement?
Select one:
a. ALTER TABLE STUDENTS
Question 8
Correct
An alter statement that is used to update an existing column datatype or datatype size.
Select one:
a. MODIFY
b. ADD
c. DELETE
d. DROP
Question 9
Correct
Which of the following is the correct example of inserting new values to STUDENTS table where the course is set to NULL;
Select one:
a. INSERT INTO STUDENTS (1,'DELA CRUZ','JUANITO',NULL);
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 3/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 10
Correct
Suppose that a user uses the DELETE statement as shown below: what is/are the possible output.
DELETE from STUDENT;
Select one:
a. All rows are deleted including table structure.
Question 11
Correct
A statement that is use to rename the table or change the existing name of the table.
Select one:
a. Update
b. Rename
c. Name
d. Alias
Question 12
Correct
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
c. UPDATE STUDENTS
d. UPDATE STUDENTS
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 4/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 13
Correct
Which of the following is the correct example of adding a new column ADDRESS datatypevarchar size 20 to EMPLOYEES table?
Select one:
a. ALTER TABLE EMPLOYEES
SET ADDRESS VARCHAR(20);
d. ALTER EMPLOYEES
Question 14
Correct
Select one:
a. Revoke
b. Insert
c. Grant
Question 15
Correct
Which of the following is the correct example of deleting all records in STUDENTS table;
Select one:
a. DELETE TABLE STUDENTS;
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 5/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 16
Correct
Select one:
a. SAVEPOINT
b. CREATE
c. ROLLBACK
d. COMMIT
Question 17
Correct
Which of the following is the correct example inserting a new value to STUDENTS table that will only add new data to STUD_ID and
LASTNAME? The stud_id is 10 and lastname is ‘CRUZ’
Select one:
a. INSERT INTO STUDENTS VALUES (STUD_ID,LASTNAME)
(10,’CRUZ’);
Question 18
Correct
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) PRIMARY KEY);
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 6/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 19
Correct
Question 20
Correct
Which of the following is the correct example updating the student LASTNAME TO ‘SANTOS’ and course to ‘BSCS’ whose STUD_ID is equal to
109?
Select one:
a. UPDATE EMPLOYEES
d. UPDATE EMPLOYEES
SET LASTNAME = ‘SANTOS’, SET COURSE = ‘BSCS’
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 7/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 21
Correct
Select one:
a. Relational model
c. Relational database
d. Relational server
Question 22
Correct
Question 23
Correct
Select one:
a. DrcL.F Codd
Question 24
Correct
Are said to exhibit physical data independence if they do not depend on the physical schema.
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 8/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 25
Correct
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 26
Correct
This is a characteristic of database that includes also the protection of the database from unauthorized access confidentiality and
unauthorized changes.
Question 27
Correct
Select one:
a. NUMBER
b. VARCHAR
c. INT
d. CHAR
Question 28
Correct
Select one:
a. Synonym
b. Index
c. Table
d. View
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 9/10
6/22/22, 4:01 PM Prelim Exam: Attempt review
Question 29
Correct
Question 30
Correct
Answer: Constraints
Jump to...
semestral.amaes.com/2126/mod/quiz/review.php?attempt=28091&cmid=39164 10/10