stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
E Java Test 1 Flashcards | StudBud
Explore
/
E Java Test 1
E Java Test 1
15 terms
·
StudBud Administration
·
22 plays
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
Which driver is efficient and always preferable for using JDBC applications?
Type I
Type IV
Type III
Type II
2
When the message "No Suitable Driver" occurs?
When the type 4 driver is used
When the user name, password and the database does not match
When the JDBC database URL passed is not constructed properly
When the driver is not registered by Class.forname() method
3
Driver in a JDBC works as
Audio Converter
Driver
Database Connector
Language Translator
4
How many JDBC driver types are there
3
4
2
1
5
JDBC API supports____________ and __________ architecture model for accessing the database.
None
Three-tier
Two-tier
Both two tier and three tier
6
What are the components of J2EE applications?
Business tier components
Client-tier components:
All are correct
Enterprise Information System software (EIS software)
7
What is J2EE?
Java 2 Extended Edition
Java 2 Enterprise Edition
Java 2 Eclipse Edition
Java 2 Express Edition
8
Is Type II driver is based on Microsoft.Is it true or false?
True
False
9
To add five records in the database taken from user input, we need to create _____________ statement
Statement
InsertRecordStatement
PreparedStatement
CallableStatement
10
Which packages contain the JDBC classes?
java.rdb and javax.rdb
java.jdbc and java.jdbc.sql
java.rdb and javax.rdb
java.jdbc and javax.jdbc
11
Which type of driver converts JDBC calls into the network protocol used by the database management system directly?
Type IV
Type III
Type I
Type II
12
Which of the following are valid statements in JDBC?
Statement
PreparedStatement
SimpleStatement
CallableStatement
13
"DriverManager" is used to load JDBC drivers.
False
True
14
Type-1 driver is database _______ and platform _______.
dependent,independent
independent, independent
independent, dependent
dependent, dependent
15
What does JDBC do?
None of the above.
JDBC defines how users may access a database.
used to protect the business logic of an application.
used to create small desktop-based applications.