Deck 7: Database Processing Applications
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/82
Play
Full screen (f)
Deck 7: Database Processing Applications
1
HTML standards are defined by the World Wide Web Consortium (W3C).
True
2
A trigger is an event stored in a database that is invoked by the DBMS when specified events occur.
True
3
If a server is using a Microsoft Windows operating system,it is usually running Internet Information Services (IIS)as its Web server.
True
4
A stored procedure is a module of logic normally written in a traditional programming language like C++ and stored in the application program.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
5
A BEFORE trigger is called by the DBMS before reading data.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
6
With ODBC,a database and the DBMS that processes it are identified by the data source.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
7
Basic Web pages are created using Hypertext Markup Language (HTML).
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
8
ODBC stands for Open Database Connectivity.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
9
In general,the best type of ODBC data source that can be defined for a Web application is a system data source.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
10
With ODBC,the driver manager serves as an intermediary between the application and the DBMS drivers.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
11
A stored procedure is invoked automatically by the DBMS whenever certain events occur.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
12
If the Web server and the DBMS are running on the same server,the system has a three-tier architecture.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
13
ODBC only works with Microsoft products.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
14
Every DBMS product has an application programming interface (API).
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
15
Every DBMS product uses the same API.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
16
ODBC is an industry standard interface between programming code and DBMS APIs.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
17
The most commonly used Web server on servers running the UNIX or Linux operating system is Internet Information Services (IIS).
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
18
With ODBC,only a single driver is needed to handle all data source types,such as SQL Server,Oracle Database,MySQL,and Microsoft Access.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
19
A common default Web page name recognized by most Web servers is FirstPage.html.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
20
With ODBC,a file data source is available only to the user that created it.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
21
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
A)INSERT
B)SELECT
C)UPDATE
D)DELETE
E)Both B and D
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
22
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
A)The associated DBMS
B)The database
C)The driver
D)The operating system
E)The network platform
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
23
Extensible Markup Language (XML)is becoming a standard means for defining the structure of documents and for transmitting documents from one computer to another.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
24
XML designers created a system that allows document structure,data content,and materialization to be mixed.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
25
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).
A)Apache.
B)Tomcat.
C)Internet Information Services (IIS).
D)Internet Interpreter Server (IIS).
E)Information Interpreter Server (IIS).
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
26
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.
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.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
27
When using Microsoft Access and IIS,the Web pages that access the database cannot be written using PHP.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
28
XML Web Services is a means for protecting and hiding elements of program functionality that otherwise would be available for misuse over the Web.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
29
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
A)BEFORE triggers
B)PREVIOUS triggers
C)AFTER triggers
D)INSTEAD OF triggers
E)None of the above
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
30
When using Microsoft Access and IIS,the ODBC data source should be a system data source.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
31
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).
A)Apache.
B)Tomcat.
C)Internet Information Server (IIS).
D)Internet Interpreter Server (IIS).
E)Information Interpreter Server (IIS).
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
32
XML provides a standardized,non-customizable way to describe the content of a document.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
33
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
A)start transactions.
B)rollback transactions.
C)create a connection.
D)issue SQL commands.
E)All of the above
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
34
When using Microsoft Access and IIS,a good basic ASCII text editor for producing HTML is FrontPage.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
35
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
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
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
36
In XML,a document author can only use the predefined XML tags.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
37
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
A)All Program Interpreter.
B)All Program Interface.
C)Application Programming Interpreter.
D)Application Programming Interface.
E)None of the above
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
38
When using Microsoft Access and IIS,there is no need for an ODBC data source.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
39
When using Microsoft Access and IIS,the basic Web home page can be named index.html.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
40
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
A)Open Database Compatibility.
B)Open Database Connectivity.
C)Open-source Database Compatibility.
D)Open-source Database Connectivity.
E)None of the above
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
41
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.
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.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
42
A(n)________ is similar to a computer program subroutine or function,but it is stored within the database.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
43
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.
A)driver manager.
B)OLE DB interface.
C)ODBC driver.
D)data source.
E)database connector.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
44
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.
A)open the connection.
B)test the connection.
C)query the database.
D)process the query results.
E)close the connection.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
45
A commonly used Web server on servers running the Linux operating system is ________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
46
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 .
A).
B)[php and php].
C)(php and php).
D).
E)
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
47
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.
A)AWebPage.htm.
B)index.html.
C)MyWebPage.htm.
D)MyWeb.htm.
E)MyPage.htm.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
48
ODBC stands for ________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
49
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.
A)open the connection.
B)test the connection.
C)query the database.
D)process the query results.
E)close the connection.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
50
A(n)________ is a program stored within the DBMS that is invoked by the DBMS when a specified event occurs.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
51
XML stands for:
A)Experimental Markup Language.
B)Existential Markup Language.
C)Extendable Markup Language.
D)Extensible Markup Language.
E)Extensible Marketing Language.
A)Experimental Markup Language.
B)Existential Markup Language.
C)Extendable Markup Language.
D)Extensible Markup Language.
E)Extensible Marketing Language.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
52
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.
A)OBDC data source.
B)JBDC data source.
C)OLE DB data source.
D)LAMP data source.
E)WAMP data source.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
53
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.
A)Microsoft Word.
B)Notepad.
C)Wordpad.
D)Microsoft Frontpage.
E)Microsoft Visual Studio .NET.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
54
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
A)PHP
B)DSN
C)DSP
D)JSN
E)PSJ
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
55
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
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
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
56
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.
A)open the connection.
B)test the connection.
C)query the database.
D)process the query results.
E)close the connection.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
57
Every DBMS product has a(n)________ that allows DBMS functions to be executed from application program code.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
58
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
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
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
59
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.
A)open the connection.
B)test the connection.
C)query the database.
D)process the query results.
E)close the connection.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
60
The first PHP element to be created is the:
A)Command object.
B)Connection.
C)Errors collection.
D)Parameters collection.
E)RecordSet object.
A)Command object.
B)Connection.
C)Errors collection.
D)Parameters collection.
E)RecordSet object.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
61
If the Web server and the DBMS are running on the different servers,the system has a(n)________ architecture.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
62
What are the common differences between a Web database processing system running on the Windows operating system and one running on a Linux operating system?
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
63
Even when using Microsoft Access and IIS,we should still use a basic Web home page named ________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
64
When using Microsoft Access and IIS,the Web pages that access the database can be written using the ________ scripting language.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
65
Briefly describe PHP.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
66
What is the NetBeans IDE?
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
67
NetBeans is a(n)________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
68
With PHP,we enclose PHP commands in between the ________ and ________ symbols.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
69
When using Microsoft Access and IIS with an ODBC data source,the ODBC data source should be a(n)________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
70
How can XML be used with a DBMS?
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
71
Define and briefly describe the function of ODBC.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
72
XML stands for ________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
73
When using Microsoft Access and IIS,a good basic ASCII text editor for producing HTML is ________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
74
According to the ODBC standard,a(n)________ is a database and its associated DBMS,operating system,and network platform.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
75
What is a trigger?
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
76
When using Microsoft Access and IIS,the connection to the Access database must be provided by using a(n)________.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
77
What is a three-tier architecture?
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
78
Briefly describe three types of triggers.
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
79
What is XML,and why is it useful?
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck
80
What is a stored procedure?
Unlock Deck
Unlock for access to all 82 flashcards in this deck.
Unlock Deck
k this deck