Search Header Logo

Full stack quiz 21

Authored by Gnaneshwar Reddy

Other

University

Used 2+ times

Full stack quiz 21
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?





a) VBScript only

b) Jscript only

c) Java only

d) All of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is bytecode?




a) Machine-specific code

b) Java code

c) Machine-independent code

d) None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Which of the following header must be included in java program to establish database connectivity using JDBC ?




a) Import java.sql.*;

b) Import java.sql.odbc.jdbc.*;

c) Import java.jdbc.*;

d) Import java.sql.jdbc.*;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

DriverManager.getConnection(_______ , ______ , ______)
What are the two parameters that are included?




a) URL or machine name where server runs, Password, User ID

b) URL or machine name where server runs, User ID, Password

c) User ID, Password, URL or machine name where server runs

d) Password, URL or machine name where server runs, User ID

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a following statement is a prepared statements?





a) Insert into department values(?,?,?)

b) Insert into department values(x,x,x)

c) SQLSetConnectOption(conn, SQL AUTOCOMMIT, 0)

d) SQLTransact(conn, SQL ROLLBACK)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Application is instance of which class?




a) javax.servlet.Application

b) javax.servlet.HttpContext

c) javax.servlet.Context

d) javax.servlet.ServletContext

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about page scope?

  1. Object created with request scope are accessible only from the page in which they are created.

  1. Object created with request scope are accessible only from the pages which are in same session.

  1. Object created with request scope are accessible only from the pages which are processing the same request.

  1. Object created with request scope are accessible only from the pages which reside in same application.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?