You are on page 1of 2

Consolacion Community College

School of Computer Studies


S.Y. 2019-2020
FINAL Examination
SIA 101

Name : ______________________________ Course/Yr: _____________ Date : __________ Score:


I. True/False
Indicate whether the statement is true or false. Write your LASTNAME if your answer is True and your
FIRSTNAME if your answer is False on the space provided.
1. The condition in a WHERE clause can refer to only one value. _______________.
2. The ADD command is used to enter one row of data or to add multiple rows as a result of a query.______________
3. SQL provides the AS keyword which can be used to assign meaningful column names to the results of queries using
the SQL built-in functions. ________________.
4. The SELECT command with its various clauses , allows users to query the data contained in the tables and ask many
different questions or ad hoc queries. ________________.
5. A SELECT statement within another SELECT statement and enclosed in square brackets ([…]) is called a
subquery______________.
6. SQL is a programming language. _________________.
7. A dynamic view is one whose contents materialize when referenced. _________________
8. The HAVING clause acts like WHERE clause , but it identifies groups that meet a criterion, rather than rows.
_____________.
9. SQL is a data sublanguage. _______________.
10. The result of every SQL query is a table. __________________.
11. SUM, AVG, MIN and MAX can only be used with numeric columns. _________________.
12. Most companies keep at least two versions of any database they are using. __________________.
13. Indexes may be created or dropped at any time. ___________________.
14. The format SELECT-FROM-WHERE is the fundamental framework of SQL SELECT statements. ______________.
15. ORDER BY can be combined with the SELECT statements. ________________.
16. The keyword LIKE can be used in a WHERE clause to refer to a range of values. __________________.
17. The wildcard asterisk (*) is the SQL-92 standard for indicating “ any sequence of characters.” _____________.
18. Microsoft Access has become ubiquitous and being able to program in Access is a critical skill. _____________.
19. SQL provides five built-in functions: COUNT, SUM, AVG, MAX, MIN. __________________.
20. To establish a range of values, < and> can be used. ____________________.
21. It is possible to change a method or properly inherited from a higher level class . _________________.
22. All data triggers only activate after a value in a row is changed. ______________.
23. All queries can be designed to avoid subqueries. ____________________.
24. A view is a saved query and can be used in other queries. ___________________.
25. SQL is not a procedural language._________________.
II. Multiple Choice
Identify the choice that best completes the statement or answers the question. Circle the letter of your choice.
1. You can add a row using SQL in a database with which of the following ?
a. ADD b. CREATE c. INSERT d. MAKE
2. The command to remove rows from a table ‘CUSTOMER’ is:
a. REMOVE FROM CUSTOMER….
b. DROP FROM CUSTOMER….
c. DELETE FROM CUSTOMER WHERE……
d. UPDATE from CUSTOMER…
3. The SQL WHERE clause:
a. limits the column data that are returned.
b. limits the row data are returned
c. Both A and B are correct
d. Neither A nor B are correct.
4. Which of the following is the original purpose of SQL?
a. To specify the syntax and semantics of SQL data definition language.
b. To specify the syntax and semantics of SQL manipulation language.
c. To define the data structures.
d. All of the above
5. The command to eliminate a table from a database is:
a. REMOVE TABLE CUSTOMER
b. DROP TABLE CUSTOMER
c. DELETE TABLE CUSTOMER
d. UPDATE TABLE CUSTOMER
6. SQL data definition commands make up a (n) ___.
a. DDL b. DML c. HTML D. XML
7. Which of the following is valid SQL for an Index?
a. CREATE INDEX ID; b. CHANGE INDEX ID; c. ADD INDEX ID; d. REMOVE INDEX ID;
8. The SQL keyword(s) _____ is used with wildcards.
a. LIKE only b. IN only c. NOT IN only d. IN and NOT IN
9. Which of the following is the correct order of keywords for SQL SELECT statement?
a. SELECT, FROM, WHERE
b. FROM , WHERE, SELECT
c. WHERE, FROM , SELECT
d. SELECT, WHERE, FROM
10. The results of a SQL SELECT statements is a(n ) ____
a. report b. form c. file d. table

III. Identification :
1. _____________ specifies that a column can’t be left blank.
2. _____________ a unique identification of each record.
3. _____________ He recommends the seven steps for the systematic development of goals.
4. ______________ design the task of design parameterization.
5. ______________ refers to the use of modern computing hardware and software.
6. ______________ is the essence of the engineering.
7. ______________ ensure that the design problem is well understood.
8. _______________consists of identify the numerical quantities that specify each element in the system.
9. ______________ the ultimate step in the design process.
10. _______________is used to delete a table and all rows in the table.

Merry Christmas and Advance Happy New Year ! (MCM)

You might also like