Quiz
Quiz 2 Comp 3613
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (9)
1What does the method call, "request.getParameterNames()" return?
- AA String[] of an HTML <FORM> input values.
- BA space delimited String of HTML parameter names.
- CA header of previously stored parameter names.
- DAn Enumeration of HTML input parameter names.
2Which statement best describes what an HTML header is?
- AInformation about the client that is sent from an HTML <FORM>.
- BThe title of an HTML page.
- CBrowser data that is used to initialize HttpServlet objects.
- DClient side String data that is either read or initialized by the server.
3Which of the following is the best way to send an error meesage back to the client?
- Aresponse.sendError(404, "The file could not be found.");
- Bresponse.out("An error ahas occurred");
- CSystem.out.println("error message");
- DCapture the error output String and send it back to the client as plain text.
4Which of these is not part of a status line in a Servlet response?
- AA response header.
- BA short message.
- CThe version of HTTP.
- DThe status code.
5Which of the following is required to generate DatabaseMetaData references?
- Aan int genreated by an update query
- Ba ResultSet
- Ca database connection
- Dnone of these
6Select the false statement below.
- AUsing ResultSetMetaData will allow me to dynamically retreive the column count returned from a
SELECT query. - BResultSetMetaData provides information genereated from a table SELECT query.
- CI can use ResultSetMetaData to obtain the names of all the tables in the database.
- DI need to first generate a ResultSet before I can generate ResultSetMetaData.
- AUsing ResultSetMetaData will allow me to dynamically retreive the column count returned from a
7What is returned when you execute a batch process?
- AString[]
- BResultSetMetaData
- Cint[]
- DResultSet
8Which of these SQL commands is not processed in a batch?
- ADELETE
- BSELECT
- CUPDATE
- DINSERT
9By default, the autocommit property will do this.
- Areject the entire batch process if a problem occurs during execution of the batch
- Bcause a booean false value to be returned if a problem occurs during execution of the batch
- Cmake your computer blow up if the antimatter
chamber loses its containment field - Dautomatically commit a batch process
Informações
- Descrição
- Comp3613 Quiz sobre Quiz 2 Comp 3613, criado por vincewong22 em 03-04-2015.
- Autor
- vincewong22
- Idioma
- English
- Visualizações
- 0
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz