Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
JDBC, Java Server Pages, and MySQL Questions
Software platforms comparison (Web): JavaServer Pages (JSP) and Active Server Pages (ASP) may look syntactically similar in use, but do they rely on the same or genuinely similar underlying technology stacks on the server?
Vendor comparison claim: “MySQL is just as powerful as Oracle and costs half as much.” Evaluate the accuracy of this statement for enterprise database capabilities.
Terminology check: In Java, the acronym JDBC expands to “Java Database Connectivity.” Is this expansion correct?
MySQL design feature: In MySQL, surrogate key columns typically use the AUTO_INCREMENT property to generate sequential identifiers. Is that statement accurate?
Java Applet concept: An applet is Java bytecode sent over HTTP and then “invoked using the HTTP protocol” on the user’s computer. Is that characterization correct?
Driver taxonomy: Historically, Sun/Java defined four JDBC driver types (Type 1 through Type 4). Is this historical statement correct?
JVM execution model: “The Java Virtual Machine interprets Java bytecode at runtime.” Is this statement essentially correct, considering modern JIT optimizations?
Server components: A Java servlet is executed on the Web server and is invoked via HTTP requests that reach the server. Is this characterization accurate?
Portability claim: “Java bytecode is machine-specific code.” Evaluate this statement about Java’s compilation target.
JSP authoring model: “With JavaServer Pages (JSP), all coding is done in Java and only in Java.” Assess this claim considering JSP tags, Expression Language (EL), and templating.
In Java database connectivity (JDBC) terminology, is the Type 1 driver correctly described as the JDBC–ODBC bridge driver? Provide the most accurate judgment about this statement, considering typical usage and deprecation history.
Web containers and servlet support: does the standalone Apache HTTP Server “not support servlets”? Evaluate the statement considering common integration with servlet containers such as Apache Tomcat.
Pronunciation of “MySQL”: is saying “my See-quel” universally correct? Judge the accuracy of this claim with respect to the project’s own guidance.
MySQL system databases and metadata: does MySQL keep its metadata in a database named “meta_sql”? Evaluate this claim against current and historical defaults.
JDBC driver suitability for web clients: can Type 3 and Type 4 JDBC drivers be used with servlets and with applets (where applicable)? Decide whether the statement is accurate.
Language compatibility and drivers: since Java and C/C++ are “close,” is a database driver unnecessary? Evaluate this statement in the context of JDBC and DBMS connectivity.
JSP technology: do JavaServer Pages (JSP) enable creation of dynamic web pages using HTML mixed with Java code and tags? Provide the most accurate evaluation.
Platform independence: although Java is machine-independent, are JSPs themselves not machine-independent? Assess the claim in the context of servlet containers and bytecode portability.
JDBC Type 2 drivers: do they connect through the native API of the target DBMS? Decide whether the statement is correct, and consider deployment implications.
Java compilation targets: are Java programs compiled into portable bytecode that runs on a Java Virtual Machine (JVM)? Evaluate this foundational statement.
1
2