CLICK HERE FOR VARIOUS NEW JOBS 
CLICK HERE FOR VARIOUS EDUCATIONAL NEWS 
CLICK HERE FOR NEW SCHOLARSHIPS 
CLICK HERE FOR ADMISSION NOTICES 
Click And Follow On Google+ To Get Updates
Please Wait 10 Seconds... OR You CanSkip

ADMISSION NOTICES
Scholarships

Scholarship-300x291

BUDGET 2014-15
budget_2014-2015
New Date Sheets
VU SOLVED ASSIGNMENTS
Recent Posts

Posts Tagged ‘VU. CS506 -. WEB .DESIGN. AND .DEVELOPMENT .(Session -1). FINALTERM .EXAMINATION .SPRING. 2006’

VU CS506 – WEB DESIGN AND DEVELOPMENT (Session -1) FINALTERM EXAMINATION SPRING 2006

FINALTERM EXAMINATION

SPRING 2006

CS506 – WEB DESIGN AND DEVELOPMENT (Session

-1)

Marks: 55

Time: 120min

StudentID/LoginID: ______________________________

Student Name: ______________________________

Center Name/Code: ______________________________

Exam Date: Friday, August 25, 2006

Please read the following instructions carefully before attempting any question:

1. This examination is open Handouts.

2. Answer all questions.

a. There is no choice.

b. You will have to answer correctly all questions in this examination to get the

maximum possible marks.

3. Do not ask any questions about the contents of this examination from anyone.

a. If you think that there is something wrong with any of the questions, attempt it to the

best of your understanding.

b. If you believe that some essential piece of information is missing, make an appropriate

assumption and use it to solve the problem.

4. It is not necessary that your code should compile accurately, but your logic should be

correct.

**WARNING: Please note that Virtual University takes serious note of unfair means.

Anyone found involved in cheating will get an `F` grade in this course.

For Teacher’s use only

Question

Marks

Question

Marks

1

11

2

12

3

13

4 5 6 7 8 9 10 Total

1 .

Question No: 1

( Marks: 1 )

– Please choose one

2

You want a class to have access to members of another class in the same package. Which is the

most restrictive access that accomplishes this objective?

► public

► private

► protected

► transient

► default access

Question No: 2

( Marks: 1 )

– Please choose one

In Java garbage collection is done by_______________

► JVM (Java Virtual Machine)

► Programmer

► Both JVM (Java Virtual Machine)and Programmer

► OS (Operating System)

► None of given

Question No: 3

( Marks: 1 )

– Please choose one

Which of following can be thrown using the throw statement?

► Error

► Throwable

► Exception

► RuntimeException

► All of Given

Question No: 4

( Marks: 1 )

– Please choose one

3

____________is/are the JSP Implicit Object(s).

► session

► application

► config

► All of Given

► None of Given

Question No: 5

( Marks: 1 )

– Please choose one

JavaBeans are?

► A special Java class file

► Servlets

► Applets

► A Special form of JSP

► None of Given

Question No: 6

( Marks: 1 )

– Please choose one

An expression tag contains a scripting language expression that is evaluated.

True

False

Question No: 7

( Marks: 1 )

– Please choose one

A final class can’t be extended.

True

False

Question No: 8

( Marks: 1 )

– Please choose one

4

ServletConfig defines a set of methods that a servlet uses to communicate with its servlet

container.

True

False

Question No: 9

( Marks: 1 )

– Please choose one

A method can not be made final until whole class is made final.

True

False

Question No: 10

( Marks: 1 )

– Please choose one

Servlet session and JSP session have different abilities.

True

False

Question No: 11

( Marks: 15 )

Answer the following Short Questions. (5 + 5 + 5 = 15 marks)

1. Differentiate between yielding and sleeping?

2. I am making a java application, and I need to force the garbage collection, how can I

achieve that, if not why?

3. How can a GUI component handle its own events?

Question No: 12

( Marks: 10 )

You are required to write a servlet named “CookiCounter”, that will act like a counter, i.e.; it will

display the number of time user has visited the page. You are required to implement this using

“Cookies”.

When the first time page will be visited it will display

5

Upon second refresh/Revisit with in hour.

And so on counter will keep on increasing depending upon refresh or revisit with in an hour. Note:

1. No Fancy HTML is required.

2. If you will use any other technique then cookies to implement this requirement you will get

zero marks.

Question No: 13

( Marks: 20 )

You are going to build a part of Project Tracking System. The database that will be used for this

system is shown below,

When your application starts, the “index.jsp” would be displayed. Employee will provide its

EmployeeID & password to login.

If EmployeeID & password are correct, the program will lead to “project.jsp”. This page will

display all the projects the

current Employee is working on in tabular format the fields this table will have will be

EmployeeId , ProjectId, ProjectName,ProjectDescription, ProjectBeginDate and ProjectEndDate, a

sample table is shown below,

EmployeeId

ProjectId

ProjectName

ProjectDescription Project ProjectEndDate

6

Begin

Date

The user can return to “index.jsp” by clicking on hyperlinks available at bottom of “project.jsp”.

If the username and password is not correct then user will be sent/redirected back to “index.jsp”.

You are required to use JSP (and /or Servlets) and JavaBeans to solve this problem.

Simplifications

For username and password varification you can write intermediate jsp page like

“authenticate.jsp” page.

Note:

1.

2.

3.

4.

5.

Assume name of DSN is “projectDsn”.

Assume that all the fields in the database are of type String/Text.

Assume that user’s Username is first name and is also unique of each Employee.

No Fancy HTML is required.

Concentrate on Logic/Usage of proper classes.

ALL NEW RESULTS
Educational News

Updated Educational News

Categories
POSTS BY DATE
December 2016
M T W T F S S
« Sep    
 1234
567891011
12131415161718
19202122232425
262728293031