Devry CIS 355A Week 6 Quiz latest

$14

Quantity:

Description

Devry CIS 355A Week 6 Quiz latest

  1. 1.Question : (TCOs 1–8) Which of the following is true?

You can create a JButton using its default constructor.

You can create a JButton by specifying an icon.

You can create a JButton using its default constructor by specifying a text.

You can create a JButton by specifying a text.

You can create a JButton by specifying an icon and text.

Question 2. Question : (TCOs 1–8) Which of the following statements is false?

You can create a text field with a specified text.

You can disable editing on a text field.

You can specify the number of rows in a text field

You can specify the number of columns in a text field.

You can specify a horizontal text alignment in a text field.

Question 3. Question : (TCOs 1–8) The method _____ gets the contents of the text field jtf.

jtf.findString()

jtf.getText(s)

jtf.getString()

jtf.getText()

Question 4. Question : (TCOs 1–8) Which of the following statements is false?

You can disable editing on a text area.

You can specify the number of columns in a text area.

You can create a text field with a specified text area.

You can specify a horizontal text alignment in a text area.

Question 5. Question : (TCOs 1–8) Clicking a JRadioButton generates _____ events.

ActionEvent

ComponentEvent

JRadioButtonEvent

ContainerEvent

Question 6. Question : (TCOs 1–8) If a prepared statement preparedStatement is a SQL SELECT statement, you execute the statement using _____

preparedStatement.executeQuery();.

preparedStatement.execute();.

preparedStatement.query();.

preparedStatement.executeUpdate();.

Question 7. Question : (TCOs 1–8) Database metadata are retrieved through _____

a PreparedStatement object.

a Statement object.

a ResultSet object.

a Connection object.

Question 8. Question : (TCOs 1–8) Suppose that your program accesses MS Access database. Which of the following statements is false?

If the database is not available, the program will have a runtime error, when attempting to create a connection object.

If the driver for MS Access database is not in the classpath, the program will have a runtime error, indicating that the driver class cannot be loaded.

If the driver for MS Access database is not in the classpath, the program will have a syntax error.

If the database is not available, the program may create it and then connect with it.

Question 9. Question : (TCOs 1–8) Invoking Class.forName method may throw _____

ClassNotFoundException.

IOException.

SQLException.

RuntimeException.

Question 10. Question : (TCOs 1–8) Which of the following statements is false?

PreparedStatement is for SQL query statements only. You cannot create a PreparedStatement for SQL update statements.

The parameters in a prepared statement are denoted using the ? sign.

PreparedStatement is efficient for repeated executions.

PreparedStatement is a subinterface of Statement.

DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for Devry CIS 355A Week 6 Quiz latest, then contact us through call or live chat.

Devry CIS 355A Week 6 Quiz latest

Best Devry CIS 355A Week 6 Quiz latest

Devry CIS 355A Week 6 Quiz latest