Sie sind auf Seite 1von 13

Question 1

Answer saved
Marked out of 1.00

Flag question

Question text

Which of the following is the correct example of removing a column SALARY from
EMPLOYEES table?
Select one:
a. ALTER EMPLOYEES

DROP COLUMN SALARY;

b. ALTER TABLE EMPLOYEES

DROP SALARY;

c. ALTER EMPLOYEES

DROP SALARY;

d. ALTER TABLE EMPLOYEES

DROP COLUMN SALARY;

Question 2
Answer saved
Marked out of 1.00

Flag question

Question text

A type of insert statement that specify the NULL keyword in the VALUES clause.
Select one:
a. Excluded
b. Implicit
c. Explicit
d. included

Question 3
Answer saved
Marked out of 1.00

Flag question

Question text

Basic unit of storage composed of rows and columns


Select one:
a. View
b. Index
c. Synonym
d. Table

Question 4
Answer saved
Marked out of 1.00

Flag question

Question text

Are applied to the table and form the logical schema.


Constraints
Answer:

Question 5
Answer saved
Marked out of 1.00

Flag question

Question text
Which of the following is not true about ALTER statement?
Select one:
a. Define a default value for the new column
b. Drop a column
c. Modify an existing column definition
d. Insert new row in a table

Question 6
Answer saved
Marked out of 1.00

Flag question

Question text

It is collection of data that contains information relevant to an enterprise.


Database
Answer:

Question 7
Answer saved
Marked out of 1.00

Flag question

Question text

Which of the following is the correct example of updating the COURSE to ‘N/A’ of all
students from STUDENTS table whose course IS NULL;
Select one:
a. UPDATE TABLE STUDENTS

SET COURSE = ‘N/A’


WHERE COURSE = NULL;

b. UPDATE STUDENTS

SET COURSE = ‘N/A’


WHERE COURSE = NULL;

c. UPDATE TABLE STUDENTS

SET COURSE = ‘N/A’


WHERE COURSE IS NULL;

d. UPDATE STUDENTS

SET COURSE = ‘N/A’


WHERE COURSE IS NULL;

Question 8
Answer saved
Marked out of 1.00

Flag question

Question text

It is an interpreted data – data supplied with semantics.


Information
Answer:

Question 9
Answer saved
Marked out of 1.00

Flag question

Question text

Which of the following is the correct example of deleting a student record from STUDENTS
table whose COURSE is equal to NULL;
Select one:
a. DELETE FROM STUDENTS

WHERE COURSE = ‘NULL’;

b. DELETE * FROM STUDENTS


WHERE COURSE IS NULL;

c. DELETE FROM STUDENTS

WHERE COURSE IS NULL;

d. DELETE FROM STUDENTS

WHERE COURSE IS =NULL;

Question 10
Answer saved
Marked out of 1.00

Flag question

Question text

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’);

b. INSERT INTO STUDENTS(STUD_ID,LASTNAME)

VALUES(10,’CRUZ’);

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


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

Question 11
Answer saved
Marked out of 1.00

Flag question

Question text
Which of the following is the correct example of inserting new values to STUDENTS table
where the course is set to NULL;
Select one or more:
a. INSERT INTO STUDENTS (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 VALUES(1,'DELA CRUZ','JUANITO',NULL);

Question 12
Answer saved
Marked out of 1.00

Flag question

Question text

Which of the following is the correct example of dropping the table EMPLOYEES?
Select one:
a. ALTER TABLE DROP TABLE EMPLOYEES;
b. DROP EMPLOYEES;
c. DROP TABLE EMPLOYEES;
d. ALTER TABLE DROP EMPLOYEES;

Question 13
Answer saved
Marked out of 1.00

Flag question

Question text

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


Select one:
a. NUMBER
b. VARCHAR
c. CHAR
d. INT

Question 14
Answer saved
Marked out of 1.00

Flag question

Question text

Which of the following is the correct example of truncating the table EMPLOYEES?
Select one:
a. ALTER TABLE TRUNCATE TABLE EMPLOYEES;
b. TRUNCATE EMPLOYEES;
c. TRUNCATE TABLE EMPLOYEES;
d. ALTER TABLE TRUNCATE EMPLOYEES;

Question 15
Answer saved
Marked out of 1.00

Flag question

Question text

The overall design of the database is called the


Database Schema
Answer:

Question 16
Answer saved
Marked out of 1.00

Flag question

Question text
He proposed the relational model for database systems in 1970.
Select one:
a. DrcL.F Codd
b. Dr. E.F Codd
c. Dr. Lee Codd
d. Dr. J.F Codd

Question 17
Answer saved
Marked out of 1.00

Flag question

Question text

This is also known as facts that can be recorded and that have implicit meaning.
Data
Answer:

Question 18
Answer saved
Marked out of 1.00

Flag question

Question text

It is the collection of basic objects.


Entities
Answer:

Question 19
Answer saved
Marked out of 1.00

Flag question

Question text
Which of the following is not part of transaction control?
Select one:
a. SAVEPOINT
b. CREATE
c. COMMIT
d. ROLLBACK

Question 20
Answer saved
Marked out of 1.00

Flag question

Question text

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
ADD COLUMN CITY VARCHAR(10);
b. ALTER TABLE STUDENTS
ADD CITY VARCHAR(10);
c. ALTER TABLE STUDENTS
ADD CITY CHAR(10);
d. ALTER TABLE STUDENTS
ADD COLUMN CITY CHAR(10);

Question 21
Answer saved
Marked out of 1.00

Flag question

Question text

A type of insert statement that omit the column from the column list.
Select one:
a. Implicit
b. included
c. Excluded
d. Explicit

Question 22
Answer saved
Marked out of 1.00

Flag question

Question text

Which of the following is the correct example of removing a column FIRSTNAME from
EMPLOYEES table?
Select one:
a. ALTER EMPLOYEES

FROM N FIRSTNAME;

b. ALTER TABLE EMPLOYEES

DROP COLUMN FIRSTNAME;

c. ALTER TABLE EMPLOYEES

DROP FIRSTNAME;

d. ALTER EMPLOYEES

FROM COLUMN FIRSTNAME;

Question 23
Answer saved
Marked out of 1.00

Flag question

Question text
Is the underlying the structure of a database.
Data models
Answer:

Question 24
Answer saved
Marked out of 1.00

Flag question

Question text

A type of DML statement that is use to add new rows in a table.


Select one:
a. UPDATE
b. INSERT
c. DELETE
d. TRUNCATE

Question 25
Answer saved
Marked out of 1.00

Flag question

Question text

Which of the following is not part of data manipulation language?


Select one:
a. Insert
b. merge
c. Update
d. Alter

Question 26
Answer saved
Marked out of 1.00
Flag question

Question text

This describes the database design at the physical level.


Physical Schema
Answer:

Question 27
Answer saved
Marked out of 1.00

Flag question

Question text

It is the collection of information stored in the database at a particular moment is called


Instance of the database
Answer:

Question 28
Answer saved
Marked out of 1.00

Flag question

Question text

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’, SET YR_LVL = ‘IRREG’
WHERE USN_ID = 50;
b. UPDATE STUDENTS
SET LASTNAME = ‘SANTOS’, SET YR_LVL = ‘IRREG’;
c. UPDATE STUDENTS
SET LASTNAME = ‘SANTOS’, YR_LVL = ‘IRREG’;
d. UPDATE STUDENTS
SET LASTNAME = ‘SANTOS’, YR_LVL = ‘IRREG’
WHERE USN_ID = 50;

Question 29
Answer saved
Marked out of 1.00

Flag question

Question text

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' and the rest of the column is set to NULL.
Select one or more:
a. INSERT INTO STUDENTS VALUES (10,'CRUZ','NULL','NULL');
b. INSERT INTO STUDENTS TABLE VALUES (10,'CRUZ','NULL','NULL');
c. INSERT INTO STUDENTS (10,'CRUZ',NULL,NULL);
d. INSERT INTO STUDENTS VALUES (10,'CRUZ',NULL,NULL);

Question 30
Answer saved
Marked out of 1.00

Flag question

Question text

The overall logical structure schema of a database can be expressed graphically by


E-R diagram
an Answer .
26/30

Das könnte Ihnen auch gefallen