Programming MCQs

Solved MCQ on JDBC and JSP set-1

Pinterest LinkedIn Tumblr
Here is the collection of solved MCQ questions on JDBC and JSP includes multiple-choice questions on the fundamentals of JDBC and JSP. It includes MCQ questions on the kind of driver converts JDBC calls on the client API, different formats of JSP syntax, the difference between Servlets and JSP and JSP containers.

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

Read Also: Solved MCQ of Java Beans

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

Read Next: MCQ on Core Java with Answers set-1

Please follow and like us:
RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
linkedIn | Solved MCQ on JDBC and JSP set-1
Share

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.

RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
Share