الخميس، 15 أغسطس 2013

Solved MCQ of JDBC and JSP set-1

English: JDBC type 3 driver (Network Protocol ...
English: JDBC type 3 driver (Network Protocol driver) (Photo credit: Wikipedia)

1. What is JDBC?

A) java compiler

B) Java API

C) Java interpreter

D) Both A and B



2. JDBC is a ..................... interface, which means that it is used to invoke SQL commands directly

A) low-level

B) middle-level

C) higher-level

D) user



3. ODBC is not appropriate for direct use from java because it uses a ..............

A) C interface

B) C# interface

C) java interface

D) Both A and C



4. Java Soft provides ................. JDBC product components as part of the java Developer's Kit (JDK)

A) three

B) two

C) four

D) single



5. Kind of driver converts JDBC calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS is known as

A) JDBC-Net pure Java driver

B) JDBC-ODBC Bridge plus ODBC driver

C) Native-API partly-Java driver

D) Both A and B



6. JSP stands for ..........................

A) Java server Pages

B) Java server Programming

C) Java Server Process

D) Java Socket Programming



7. JSP includes a mechanism for defining ............................... or custom tags.

A) static attributes

B) local attributes

C) dynamic attributes

D) global attributes



8. JSP is not governed by the syntax and semantics defined by the ................... specifications.

A) Java 2

B) Java 2.4

C) Java 1

D) Java 1.2
 


9. JSP containers are required to support ..................... different formats of JSP syntax.

A) Two

B) Three

C) Four

D) Only One



10. The difference between Servlets and JSP is the ................

A) translation

B) compilation

C) syntax

D) Both A and B


Answers:

1.   B) Java API
2.   A) low-level
3.   A) C interface
4.   A) three
5.   C) Native-API partly-Java driver
6.   A) Java server Pages
7.   C) dynamic attributes
8.   A) Java 2
9.   A) Two
10. C) syntax

You Might also view the following Related Posts

Enhanced by Zemanta

ليست هناك تعليقات:

إرسال تعليق