CIS 405 Chapter 7

25 July 2022
4.7 (114 reviews)
56 test answers

Unlock all answers in this set

Unlock answers (52)
question
A trigger is an event stored in a database that is invoked by the DBMS when specified events occur.
answer
True
question
A BEFORE trigger is called by the DBMS before reading data.
answer
FALSE
question
A stored procedure is a module of logic normally written in a traditional programming language like C++ and stored in the application program.
answer
FALSE
question
A stored procedure is invoked automatically by the DBMS whenever certain events occur.
answer
FALSE
question
Every DBMS product has an application programming interface (API).
answer
TRUE
question
Every DBMS product uses the same API.
answer
FALSE
question
ODBC stands for Open Database Connectivity.
answer
TRUE
question
) If a server is using a Microsoft Windows operating system, it is usually running Internet Information Services (IIS) as its Web server.
answer
TRUE
question
The most commonly used Web server on servers running the UNIX or Linux operating system is Internet Information Services (IIS).
answer
FALSE
question
If the Web server and the DBMS are running on the same server, the system has a three-tier architecture.
answer
FALSE
question
ODBC is an industry standard interface between programming code and DBMS APIs.
answer
TRUE
question
ODBC only works with Microsoft products.
answer
FALSE
question
With ODBC, the driver manager serves as an intermediary between the application and the DBMS drivers.
answer
TRUE
question
With ODBC, only a single driver is needed to handle all data source types, such as SQL Server, Oracle Database, MySQL, and Microsoft Access
answer
FALSE
question
With ODBC, a database and the DBMS that processes it are identified by the data source.
answer
TRUE
question
With ODBC, a file data source is available only to the user that created it.
answer
FALSE
question
In general, the best type of ODBC data source that can be defined for a Web application is a system data source.
answer
TRUE
question
Basic Web pages are created using Hypertext Markup Language (HTML).
answer
TRUE
question
HTML standards are defined by the World Wide Web Consortium (W3C).
answer
TRUE
question
A common default Web page name recognized by most Web servers is FirstPage.html.
answer
FALSE
question
Extensible Markup Language (XML) is becoming a standard means for defining the structure of documents and for transmitting documents from one computer to another.
answer
TRUE
question
) In XML, a document author can only use the predefined XML tags.
answer
FALSE
question
XML provides a standardized, non-customizable way to describe the content of a document.
answer
: FALS
question
XML designers created a system that allows document structure, data content, and materialization to be mixed.
answer
FALSE
question
XML Web Services is a means for protecting and hiding elements of program functionality that otherwise would be available for misuse over the Web.
answer
FALSE
question
When using Microsoft Access and IIS, the basic Web home page can be named index.html.
answer
TRUE
question
When using Microsoft Access and IIS, a good basic ASCII text editor for producing HTML is FrontPage
answer
FALSE
question
When using Microsoft Access and IIS, there is no need for an ODBC data source.
answer
FALSE
question
When using Microsoft Access and IIS, the ODBC data source should be a system data source.
answer
FALSE
question
When using Microsoft Access and IIS, the ODBC data source should be a system data source.
answer
TRUE
question
When using Microsoft Access and IIS, the Web pages that access the database cannot be written using PHP.
answer
FALSE
question
Which of the following is not a type of trigger that can be invoked before DBMS insert, update, or delete actions? A) BEFORE triggers B) PREVIOUS triggers C) AFTER triggers D) INSTEAD OF triggers E) None of the above
answer
B) PREVIOUS triggers
question
Which of the following SQL commands cannot be used with a trigger? A) INSERT B) SELECT C) UPDATE D) DELETE E) Both B and D
answer
B) SELECT
question
Which of the following is true about stored procedures? A) Stored procedures cannot be passed parameters like a regular application function. B) Stored procedures are stored as an embedded function in the application program. C) Stored procedures are stored in the database. D) Stored procedures are invoked automatically by the DBMS when specific events occur. E) All of the above are true about stored procedures.
answer
C) Stored procedures are stored in the database.
question
Every DBMS product has an API, which stands for: A) All Program Interpreter. B) All Program Interface. C) Application Programming Interpreter. D) Application Programming Interface. E) None of the above
answer
D) Application Programming Interface.
question
ODBC stands for: A) Open Database Compatibility. B) Open Database Connectivity. C) Open-source Database Compatibility. D) Open-source Database Connectivity. E) None of the above
answer
B) Open Database Connectivity.
question
If the computer hosting the Web server is running a Windows operating system, the Web server is probably: A) Apache. B) Tomcat. C) Internet Information Services (IIS). D) Internet Interpreter Server (IIS). E) Information Interpreter Server (IIS).
answer
C) Internet Information Services (IIS).
question
If the computer hosting the Web server is running a UNIX or Linux operating system, the Web server is probably: A) Apache. B) Tomcat. C) Internet Information Server (IIS). D) Internet Interpreter Server (IIS). E) Information Interpreter Server (IIS).
answer
A) Apache.
question
According to the ODBC standard, which of the following is not part of the specification of a data source? A) The associated DBMS B) The database C) The driver D) The operating system E) The network platform
answer
C) The driver
question
The ODBC standard defines a way to: A) start transactions. B) rollback transactions. C) create a connection. D) issue SQL commands. E) All of the above
answer
E) All of the above
question
Which of the following is a function performed by the driver manager in ODBC? A) Submit SQL statements to the data source. B) Determine the type of DBMS that processes a given ODBC data source. C) Load the appropriate ODBC driver into memory. D) Convert data source error codes into ODBC error codes. E) Both B and C
answer
E) Both B and C
question
The intermediary between the application and the DBMS drivers in the ODBC architecture is the: A) driver manager. B) OLE DB interface. C) ODBC driver. D) data source. E) database connector.
answer
A) driver manager.
question
Which of the following is a task performed by the driver according to the ODBC standard? A) Determines the appropriate DBMS B) Validates the format of the ODBC command received from the application C) Converts data source error codes into ODBC standard error codes D) Verifies the application to the data source E) Converts the data source into an SQL-compliant data structure
answer
C) Converts data source error codes into ODBC standard error codes
question
) In PHP, any programming language statements that are to be processed on the server must be enclosed in: A) . B) [php and php]. C) (php and php). D) . E) and .
answer
D) .
question
The first PHP element to be created is the: A) Command object. B) Connection. C) Errors collection. D) Parameters collection. E) RecordSet object.
answer
B) Connection.
question
After trying to open a connection, a PHP connection to a DBMS needs to: A) open the connection. B) test the connection. C) query the database. D) process the query results. E) close the connection.
answer
B) test the connection.
question
To get data after opening a connection, a PHP program needs to: A) open the connection. B) test the connection. C) query the database. D) process the query results. E) close the connection.
answer
C) query the database.
question
After getting data from a database, a PHP program needs to: A) open the connection. B) test the connection. C) query the database. D) process the query results. E) close the connection.
answer
D) process the query results.
question
The final step of using a PHP connection to a DBMS is to: A) open the connection. B) test the connection. C) query the database. D) process the query results. E) close the connection.
answer
E) close the connection.
question
XML stands for: A) Experimental Markup Language. B) Existential Markup Language. C) Extendable Markup Language. D) Extensible Markup Language. E) Extensible Marketing Language.
answer
D) Extensible Markup Language.
question
XML allows a programmer to: A) define elements. B) use only predefined elements. C) use only "shrink-warped," purchased programs. D) Both A and B E) All of the above
answer
A) define elements.
question
When working with Microsoft Access on a Windows operating system, a simple but usable ASCII text editor is: A) Microsoft Word. B) Notepad. C) Wordpad. D) Microsoft Frontpage. E) Microsoft Visual Studio .NET.
answer
B) Notepad.
question
Before running Web pages in Internet Information Server (IIS) against a Microsoft Access database, we need to create a(n): A) OBDC data source. B) JBDC data source. C) OLE DB data source. D) LAMP data source. E) WAMP data source
answer
A) OBDC data source.
question
When using an ODBC data source with IIS and Microsoft Access, we should use: A) a file data source. B) a system data source. C) a user data source. D) a LAMP data source. E) a WAMP data source.
answer
B) a system data source.
question
When using Microsoft Access and IIS, a basic Web home page name that we should use even if we need to change IIS settings is: A) AWebPage.htm. B) index.html. C) MyWebPage.htm. D) MyWeb.htm. E) MyPage.htm.
answer
B) index.html.
question
When using Microsoft Access and IIS, we can create Web pages that access the database using the popular ________ scripting language. A) PHP B) DSN C) DSP D) JSN E) PSJ
answer
A) PHP