BCS-053 by

Download as pdf or txt
Download as pdf or txt
You are on page 1of 55

Download from:- https://www.ignouassignmentguru.

com/paper/

6. Dec 2013 BCS-053 2


7. June 2014 BCS-053 4
8. Dec 2014 BCS-053 6
9. June 2015 BCS-053 9
10. Dec 2015 BCS-053 13
11. June 2016 BCS-053 15
12. Dec 2016 BCS-053 17
13. June 2017 BCS-053 20
14. Dec 2017 BCS-053 23
15. June 2018 BCS-053 26
16. Dec 2018 BCS-053 29
17. June 2019 BCS-053 33
18. Dec 2019 BCS-053 37
19. June 2020 BCS-053 41
20. Dec 2020 BCS-053 45
21. June 2021 BCS-53 49
23. June 2022 BCS-53 53

https://www.ignouassignmentguru.com/ Page No. 1


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 2 RCS-053


BACHELOR OF COMPUTER
APPLICATIONS(BCA)
(Revised)
Term-End Examination
December, 2013
BCS-053 : WEB PROGRAMMING
Time : 2 hours Maximum Marks : 50
(Weightage 75%)
Note : Question No. 1 is compulsory and carries 20 marks.
Attempt any three questions from the rest.

1. (a) Why is web 2.0 more popular ? How does a 5


static website differ from a dynamic
website ? Explain with the help of an
example.
(b) What is meant by Document Object Model 5
in the context of HTML ? Write a program
using Java script and HTML that changes a
paragraph showing "Wel come" to
"Welcome to the University".
(c) What are the purpose of GET and POST 5
methods of HTTP ? Explain the differences
between with the help of an example.
(d) What is a cookie in the context of 5
HTTP / Web Programming ? Why are they
needed ? Explain with the help of an
example.

2. (a) Explain the process of inclusion of a file into 5


a JSP page ? Explain with the help of an
example. State the advantages of doing it.

BCS-053 1 P.T.O.
https://www.ignouassignmentguru.com/ Page No. 2
Download from:- https://www.ignouassignmentguru.com/paper/

(b) What is JDBC ? Write a program to insert a 5


record in the employee table of database.
Make and state suitable assumptions, if any.

3. (a) Explain the Box Model of HTML. Write the 5


HTML and Style sheet for a text "welcome
to IGNOU" Which is to be displayed with
20px margin on all sides padding of 10 on
all sides, with white font and black
background colour.
(b) What is WAP ? Design a WML program to 5
display the profile of an Item having
attributes: Item Id, Item Name, Item Price
and Item Quantity.

4. A Student data is to be represented using XML.


The information that is to be included is student
ID, student name, student address (Home and
Residence) and phone numbers. A student should
have one or more phone numbers. Perform the
following activities for the description as above :
(a) Create a XML document showing records 4
of at least two students.
(b) Create the DTD that verifies the document 6
created at part (a).

5. Explain the following with the help of an 10


example :
(a) <details> and <summary> tags of HTMLS
(b) Events in HTML
(c) Scriptlets in JSP
(d) Exception handling in JSP

BCS-053 2
https://www.ignouassignmentguru.com/ Page No. 3
Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 2 BCS-053


BACHELOR OF COMPUTER
APPLICATIONS(BCA)
co (Revised)
Term-End Examination
O
June, 2014

BCS-053 : WEB PROGRAMMING

Time : 2 hours Maximum Marks : 50


(Weightage 75%)
Note : Question No. 1 is compulsory. It carries 20 marks.
Attempt any three questions from the rest.

1. (a) Explain the use of table, anchor and form 5


elements - password and fieldset tags of
HTML with the help of an example each.
(b) Design a webpage using HTML and 5
Javascript in which the background colour
of the page changes on the click of the
button.
(c) Explain with the help of a diagram the life 5
cycle of a JSP page.
(d) Write a simple HTML/JSP code that handles 5
the division by zero error. Make suitable
assumptions, if any.
2. (a) Differentiate between the following : 5
(i) Client and Server Architecture
(ii) Static Webpage and Dynamic
Webpage

BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 4


Download from:- https://www.ignouassignmentguru.com/paper/

(b) Assume that a database as a backend to a 5


website exists with a table having fields :
Roll Number, Name, Programme code etc.
Write JSP code sequence of steps to display
the list of students with programme code
"BCA".

3. (a) Explain the use of class selector and id 5


selector in CSS and HTML with the help of
an example.
(b) What is WML ? Design WML program to 5
display the profile of an Employee having
attributes : Employee ID, Employee Name,
Employee Age and Employee Designation.

4. An address book consists of addresses of contacts.


A contact will have a contact name, contact
address, contact type (official, personal, family)
and a number of phone numbers including home
phone and mobile phones.
(a) Write an XML document with atleast two 4
records for the requirements as above. Make
suitable assumptions, if any.
(b) Write the DTD that validates the XML 6
document created in part(a).

5. Explain the following with the help of an 10


example/diagram in the context of web
programming.
(a) HTML Document Object Model (DOM)
(b) Cookie
(c) DIV and span tags
(d) Rich Internet Applications

BCS-053 2

https://www.ignouassignmentguru.com/ Page No. 5


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 3 BC S-053


BACHELOR OF COMPUTER APPLICATIONS
(BCA) (Revised)
Term-End Examination
December, 2014
00344
BCS-053 : WEB PROGRAMMING

Time : 2 hours Maximum Marks : 50


(Weightage 75%)

Note : Question number 1 is compulsory and carries 20


marks. Attempt any three questions from the rest.

1. (a) What are the advantages of using CSS for


an HTML document ? How can you link
an external style sheet to an HTML
document ? Explain how you can change
the background colour of a web page using
a style sheet. 4
(b) Create an XML document that stores the
name (first name and last name),
enrolment number and at least one phone
number of a student. Create such
information for at least two students.
Create the DTD that validates the XML
document created by you. 5
(c) Explain the concept of Document Object
Model (DOM) with the help of an example. 3
BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 6


Download from:- https://www.ignouassignmentguru.com/paper/

(d) What is a cookie in the context of JSP ?


Why is it needed ? Explain how a cookie
can be set with the help of an example.

(e) List the steps that would be required to


verify the username and password entered
by a user on a login page to the information
stored in a database, using JSP.

2. (a) Differentiate between the following :

(i) Static web pages and Dynamic web


pages

(ii) 2-Tier architecture and 3-Tier


architecture

(b) What is an exception in the context of


JSP ? How are the exceptions handled
using JSP ? Explain with the help of an
example.

3. (a) Explain the features of the following Web


2.0 technologies :
(i) Blogging
(ii) Rich Internet Applications
(iii) Mashups
(b) Explain the Box Model of HTML with the
help of a diagram. Why is this model
needed ?

BCS-053 2

https://www.ignouassignmentguru.com/ Page No. 7


Download from:- https://www.ignouassignmentguru.com/paper/

4. (a) What is the need of WML ? Explain any


two elements of WML that can be used for
input of data. 5
(b) What is the use of JSP directives ? Explain
the page and include directives of JSP with
the help of an example. 5

5. Explain the following terms with the help of a


diagram or an example, if required : 10
(a) Methods of ResultSet object
(b) Hidden fields in the context of session
management
(c) GET method
(d) Events in the context of web programming
(e) Uses of < div > tag

BCS-053 3 7,000

https://www.ignouassignmentguru.com/ Page No. 8


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 4 I MCS-053


MCA (Revised)
Term-End Examination
June, 2015
09433

MCS-053 : COMPUTER GRAPHICS AND


MULTIMEDIA

Time : 3 hours Maximum Marks : 100

Note : Question number 1 is compulsory. Answer any


three questions from the rest.

1. (a) What are the limitations of DDA line


generation algorithm ? Explain the
algorithm that was proposed to overcome
the limitation of DDA line generation
algorithm. 5

(b) Write 3D transformation matrices for


rotation using homogeneous coordinate
system with respect to X, Y and Z axes
respectively. 5

(c) Draw the tree structure to describe the


taxonomy of projection. 5

(d) How is frame buffer used to control the


color and intensity of the computer screen ? 5

MCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 9


Download from:- https://www.ignouassignmentguru.com/paper/

(e) Determine the general expression for a


cubic Bezier curve, with vertices (control
points) P0(0, 40); P 1(40, 40); P 2(60, 20);
P3(60, —10). 5

(f) How many key frames are required toi


produce a five-minute animation film
sequence with no duplicates ?

(g) Explain Window-to-Viewport


transformation with the help of a diagram. 5

(h) Explain how ray tracing differs from ray


casting with the help of a diagram. 5

2. (a) Derive the conditions for generating the


line segment, by using DDA line generation
algorithm for both cases (i.e. when slope < 1
and slope > 1). Write the pseudo code of
DDA line generation algorithm, and use it
to produce a line segment between points
(2, 4) and (9, 9). 10

(b) Explain the Area-subdivision method of


visible surface detection.

(c) Explain the mathematical expression for


the combined effect of Ambient, Diffused
and Specular reflection for Phong's
Specular Reflection Model. 5

MCS-053 2

https://www.ignouassignmentguru.com/ Page No. 10


Download from:- https://www.ignouassignmentguru.com/paper/

3. (a) Determine the point of intersection of the


projection of edges AB and CD of a unit
cube, on z = 0 plane, where the centre of
projection is at (0, 0, — d). 10
y

(b) Verify that two successive rotations are


additive in nature i.e.
R(Q1 ) . R(Q2) = R(Q 1 + Q2)
where R(Q 1), R(Q2) and R(Q 1 + Q2) are
2D-rotational transformations,
respectively.
(c) Compare and contrast the
Cohen-Sutherland line clipping algorithm
with the Cyrus-Beck line clipping
algorithm with the help of a diagram. 5
4. (a) How does simulation of zero acceleration
differ from non-zero acceleration, in an
animation ? Briefly discuss the formulation
of a mathematical function, that regulates
the frame spacing in an animation with
positive acceleration. 10
MCS-053 3 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 11


Download from:- https://www.ignouassignmentguru.com/paper/

(b) Explain any two of the following : 5


(i) Keyframe Systems
(ii) Scripting Systems
(iii) Morphing

(c) Explain the differences between parametric


and geometric continuities in Bezier curve.

5. (a) Differentiate between any two of the


following :
(i) Graphics and Animation
(ii) Printer and Plotter
(iii) Hypertext and Hypermedia

(b) Briefly describe any two of the following


file formats : 5
(i) jpeg
(ii) tiff
(iii) bmp
(iv) gif

(c) Explain any two of the following : 5


(i) Authoring tools
(ii) Z-buffer algorithm
(iii) Video file formats

(d) What is Video Conferencing ? Discuss the


challenges related to such facilities. 5

MCS-053 4 8,000

https://www.ignouassignmentguru.com/ Page No. 12


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 2 I BCS-053 I


BACHELOR OF COMPUTER APPLICATIONS
(BCA) (Revised)
Term-End Examination
0.4773.4 December, 2015

BCS-053 : WEB PROGRAMMING

Time : 2 hours Maximum Marks : 50


(Weightage 75%)

Note : Question no. 1 is compulsory. It carries 20 marks.


Attempt any three questions from the rest.

1. (a) What is CSS ? Create a sample code to


illustrate the external stylesheet for your
web page.

(b) Explain the difference between JSP


Scriptlets, JSP Tags and JSP Directive. 5

(c) Design an HTML form which should allow


to enter your personal data. (Hint : make
use of text field, password field,
check boxes, radio and submit button) 5

(d) Why do we need XML ? Also list the


advantages of XML over HTML. 5

BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 13


Download from:- https://www.ignouassignmentguru.com/paper/

2. (a) What are cookies ? Write a program to


create cookies to store User ID and
password of the client on his/her machine. 5

(b) What are JDBC Driver(s) ? Name them


and differentiate between Two and Three
tier database access models. 5

3. Assume that there is a table which contains field


names such as name, programme, course code
and grade. Write a program using JSP and JDBC
to insert records into the database. 10

4. (a) What is WML ? Create a WML program


which should include a table, an image, a
text paragraph and any two WML input
elements. 6
(b) Write a JavaScript program to accept the
first, middle, last names of the students
and print them. 4

5. Differentiate between the following : 4x2 — =10


2

(a) Web widget and Desktop widget


(b) SVG and Canvas tag
(c) Details and Summary tag
(d) Inline stylesheet and Embedded stylesheet.

BCS-053 2 9,000

https://www.ignouassignmentguru.com/ Page No. 14


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 2 [ BCS-053 I

BACHELOR OF COMPUTER APPLICATIONS


(BCA) (Revised)

Term-End Examination
Uric:PEI
June, 2016

BCS-053 : WEB PROGRAMMING


Time : 2 hours Maximum Marks : 50
(Weightage 75%)

Note : Question no. 1 is compulsory. It carries 20 marks.


Attempt any three questions from the rest.

1. (a) What is AJAX ? Describe the advantages


and limitations of AJAX. 5
(b) Write a JSP/Servlet program that takes
your name and programme code as input
and displays it on a web page. 5
(c) Explain the two attributes of page directive
which are included in exception handling
in JSP page.
(d) What is WML ? How will you use Timer in
WML ? 5

BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 15


Download from:- https://www.ignouassignmentguru.com/paper/

2. (a) Differentiate between the following :


(i) Social Media and Social Networking
(ii) JSP and Servlet 5
(b) Explain GET and POST methods of HTTP
protocol. Why do you use these methods ?
Explain with examples. 5

3. (a) What is DTD ? Explain its role in XML. 5


(b) What is an external style sheet ? With the
help of an example, design an HTML
program using an embedded style sheet. 5

4. (a) Write a JSP program which will


demonstrate the use of <jsp : include> and
<jsp : param> action. 5
(b) Write a JavaScript program that changes
the text 'web programming' to upper case
and then again to lower case. This cycle of
conversion is performed after every
15 seconds.

5. (a) Design a JSP page to fetch the record of the


student having attributes such as Roll No,
Student Name and Programme from the
table designed in SQL server.
(b) Explain the role of web container and
HTTP server in the context of web
programming.

BCS-053 2 5,000

https://www.ignouassignmentguru.com/ Page No. 16


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 3 BCS-0531

BACHELOR OF COMPUTER APPLICATIONS


(BCA) (Revised)

Term-End Examination

December, 2016
G4606
BCS-053 : WEB PROGRAMMING
Time : 2 hours Maximum Marks : 50
(Weightage 75%)

Note : Question no. 1 is compulsory. It carries 20 marks.


Attempt any three questions from the rest.

1. (a) What is Web 2.0 ? How is it different from


Web 1.0 ? Explain any one Web 2.0
technology in brief. 4

(b) What is an event ? Explain with an


example "how HTML DOM allows to
assign events to HTML elements using
JavaScript".

(c) Explain MVC architecture with the help of


a diagram. 4

BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 17


Download from:- https://www.ignouassignmentguru.com/paper/

(d) What is WML ? Explain any two WML


elements that can be used for data input. 4
(e) Explain how errors are handled at page
level in jsp programming, with the help of
a program fragment. 4

2. (a) Design a web page using HTML and


JavaScript containing a paragraph about
computers. The text colour of this
paragraph should change on click of the
mouse on that paragraph.
(b) Create an XML document that stores the
title, author_name, year_of publication
and price of a book. Create this information
for three books. Create the DTD that
validates the XML document created for
the books.

3. (a) Explain the following in the context of jsp,


with an example : 4
(i) include directive
(ii) taglib directive
(b) Assume that on execution of a SQL web
query about a student, 5 records (of the
same student) are returned in the result
set having the following fields :
student id
course_code
marks_out_of 100
Write the appropriate jsp commands to
display these records and the total marks
of the student.
BCS-053 2

https://www.ignouassignmentguru.com/ Page No. 18


Download from:- https://www.ignouassignmentguru.com/paper/

4. (a) Write a jsp program fragment that sets up


a session on receiving username and
password. In case the username and
password match "IGNOU" and "TEST"
respectively, the user is redirected to a
page named result.jsp. 5

(b) What is AJAX ? How is it different from


JavaScript ? Name any two web browsers
that support AJAX. 5

5. Explain any four of the following in context of


web programming, with the help of an example/
diagram. 10
(a) Embedded style sheets
(b) Deployment descriptor and web.xml
(c) MIL namespace
(d) GET method
(e) Use of < div > tag

BCS-053 3 8,000

https://www.ignouassignmentguru.com/ Page No. 19


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 3 BCS-053

BACHELOR OF COMPUTER APPLICATIONS


(BCA) (Revised)

Term-End Examination

01222 June, .2017

BCS-053 : WEB PROGRAMMING


Time : 2 hours Maximum Marks : 50
(Weightage 75%)

Note : Question no. 1 is compulsory and carries


20 marks. Attempt any three questions from the
rest.

1. (a) What is Document Object Model (DOM) in


the context of HTML ? Draw the node tree
of an HTML DOM. 4

(b) What is WAP ? Design a WML program to


display the profile details of a mobile
phone. Make the necessary assumptions
required. 4

BCS-053 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 20


Download from:- https://www.ignouassignmentguru.com/paper/

(c) Create an HTML form asking for the


following information :
(i) Name
(ii) Program (which should be selected
from a dropdown list consisting of two
options — BCA and MCA)
(iii) Date of Birth
Also write a JSP program that accepts the
input from the form and displays the
information on the screen.
You entered the following
information :
Name
Program
Date of Birth

(d) Explain JSP life cycle in brief.

2. (a) Write a JSP scriptlet that adds the


numbers 1 to 5.
(b) Explain the following HTML elements :
(i) < TEXTAREA > tag
(ii) < TABLE > tag
(iii) ANCHOR element
(iv) < MENU > tag

BCS-053 2

https://www.ignouassignmentguru.com/ Page No. 21


Download from:- https://www.ignouassignmentguru.com/paper/

3. (a) What is CSS ? Explain embedded style


sheets with the help of an HTML program. 5
(b) Explain the use of the following in XML : 5
(i) XML namespaces
(ii) XML XSLT

4. (a) What is session tracking ? Explain the use


of cookies for session tracking with the help
of an example. 5
(b) What are the uses of GET and POST
methods of HTTP ? Also explain the
differences between GET and POST. 5

5. Explain any four of the following with the help


of an example / diagram in the context of web
programming : 10

(a) Events in HTML


(b) < jsp : useBean >
(c) < sql : query >
(d) Social Networking
(e) XML Schemas

BCS-053 3 3,500

https://www.ignouassignmentguru.com/ Page No. 22


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 3 I BCS 053 I


-

BACHELOR OF COMPUTER APPLICATIONS


(BCA) (Revised)

Term-End Examination

0:3110 December, 2017

BCS-053 : WEB PROGRAMMING

Time : 2 hours Maximum Marks : 50


(Weightage 75%)

Note : Question no. 1 is compulsory. Attempt any three


questions from the rest.

1. (a) List and explain any five elements used in


HTML forms, with the help of an example
for each. 5
(b) Explain with the help of an example how
JavaScript can be used to change the text
displayed on an HTML page.
(c) Discuss the steps involved in connecting to
a database using JDBC. 5
(d)List the techniques for session tracking.
Explain any one of them. 5
BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 23


Download from:- https://www.ignouassignmentguru.com/paper/

2. (a) Explain the life cycle of JSP with the help


of a diagram. 5
(b) Compare and contrast :
(i) Static web pages and Dynamic web
pages 2

(ii) 2-Tier architecture and 3-Tier


architecture

3. (a) Explain the Box model of HTML. Write the


HTML and CSS for the text 'The Open
University", which is to be displayed with
25 px margin on all sides and padding of
15 px on all sides, with white font and blue
background colour. 5
(b) Explain the image and navigational
elements of WML with the help of an
example each. 5

4. A movie catalogue consists of movie details. The


details will have movie name, director name,
production year and production house.
(a) Write an XML document with at least two
records for the requirements as above
(with suitable assumptions). 4

(b) Write the DTD that validates the XML


document created for the above assumptions. 6
BCS-053 2

https://www.ignouassignmentguru.com/ Page No. 24


Download from:- https://www.ignouassignmentguru.com/paper/

5. Explain any four of the following terms with the


help of a diagram or an example : 4x2 - =10
2

(a) JDBC-ODBC Bridge

(b) Scriplets in JSP

(c) Uses of <div> tag

(d) Page Directive of JSP

(e) POST Method of HTTP

BCS-053 3 5,500

https://www.ignouassignmentguru.com/ Page No. 25


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 3 , I BCS-053 I


BACHELOR OF COMPUTER APPLICATIONS
(BCA) (Revised)
Term-End Examination
June, 2018

BCS-053 :: WEB PROGRAMMING

Time : 2 hours Maximum Marks : 50


(Weightage 75%)
Note : Question no. 1 is compulsory. Attempt any three
questions from the rest.

1. , (a) Discuss the advantages of Web 2.0 over its


previous version. Explain with the help of
examples. 5
(b) How does WML work ? Explain with the
help of a diagram. 5
(c) Explain MVC Architecture with the help of
a diagram.
(d) What is a session in JSP ? Why is session
management needed ? Explain how cookies
can be used for session management.

BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 26


Download from:- https://www.ignouassignmentguru.com/paper/

2. (a) What are the scripting elements of JSP ?


Explain with the help of an example. 4
(b) Assume that a website database has the
following fields :
Item Number, Item Name, Item Code.
Write JSP code/program to display the list
of items. 6

3. (a) Explain the use of class selector and Id


selector in CSS and HTML with the help of
an example for each. 5
(b) What is WAP ? Design a WML program
code segment, which takes student
attributes Student_ID, Student_Name and
Programme as input. 5

4. A movie catalog consists of movie details :


The details will have Movie name, Director
name, Production year and production house.

(a) Write an XML document with at least two


records for the requirements as above (with
suitable assumptions). 4
(b) Write the DTD that validates the XML
document created for the above
assumptions. 6
BCS-053

https://www.ignouassignmentguru.com/ Page No. 27


Download from:- https://www.ignouassignmentguru.com/paper/

5. Explain any four of the following with the help of


an exaMple/diagram : 10

(a) <details> and <summary> tags cif HTML5

(b) Session Object

(c) Need of JSP

(d) GET Method of HTTP

(e) include Directive in JSP

BCS=053 3 5,000

https://www.ignouassignmentguru.com/ Page No. 28


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 4 BCS 053


-

BACHELOR OF COMPUTER APPLICATIONS


(BCA) (Revised)
CDT E:$41- Term-End Examination

December, 2018

BCS 053 : WEB PROGRAMMING


-

Time : 2 hours Maximum Marks : 50


(Weightage : 75%)

Note : Question no. 1 is compulsory and carries 20


marks. Attempt any three questions from the rest.

1. (a) What are the uses of Cascading Style


Sheets (CSS) in the context of Web
Programming 9 How can a style sheet be
used with HTML document ? Also explain
the concept of Class selector and ID
selector in the context of CSS. 4

BCS-053 1 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 29


Download from:- https://www.ignouassignmentguru.com/paper/

(b) Represent the following information of


books using XML document. You may
design your own tags. Also write the DTD
that validates this XML document.
Programming Web
Book Title Fundamentals Programming

Publisher ABC XYZ

ISBN 2016-12345 2015-14897

First Author Ravi Sethi A. Tanenbaum

(c) What is the need of HTML DOM ?


Consider the following HTML document :
<html>
<head> Test </head>
<body>
<p id = "Welcome"> Welcome to
Examination </p>

</body>
</html>
Write JavaScript code in this HTML
document that replaces the "Welcome to
Examination" to "Welcome to JavaScript"
when this HTML document is displayed in
web browser. Make suitable assumptions,
if any.
BCS-053 2

https://www.ignouassignmentguru.com/ Page No. 30


Download from:- https://www.ignouassignmentguru.com/paper/

(d) What is a cookie ? Why is it needed ? Write


the command to create a new cookie having
a name testcookie. Also write the command
to set the life of this cookie to
10 minutes. 4

(e) What is a "Safe Method" in the context of


HTTP ? Is GET a safe method ? Justify
your answer. Explain the GET method
with the help of an example.

2. (a) Explain the use of the following in HTML


with the help of an example :
(i) SELECT element in the context of
forms.
(ii) Tags used to create a table in an
HTML page.

(b) What is meant by 'Event Capturing' ?


Explain with the help of an example. 3

(c) Explain the use of AJAX. 2

3. (a) What is WAP ? Why is it needed ? 3

(b) Explain the uses of the following WAP


elements : 4
(i) <pre>
<em>
<img src>
(iv) <set var>
BCS-053 3 P.T.O.

https://www.ignouassignmentguru.com/ Page No. 31


Download from:- https://www.ignouassignmentguru.com/paper/

(c) What is a web service ? Explain with the


help of an example. 3

4. (a) Explain the role of each tier in three-tier


architecture of web application.
(b) Differentiate between the following : 4
(i) Static web page versus Dynamic web
page
(ii) Model versus View in the context of
MVC architecture
(c) Write a scriptlet using JSP that adds
numbers from 1 to 10 and prints this
result. 3

5. Explain any four of the following with the help of


an example or a diagram, if needed : 4x2 1 =10
2
(a) DriverManager class in JSP
(b) Loading a JDBC database driver
(c) Processing the result obtained from
database access, while using JSP
(d) Session Management
(e) Include Directive
(f) Exception handling using JSP

BCS-053 4 6,000

https://www.ignouassignmentguru.com/ Page No. 32


Download from:- https://www.ignouassignmentguru.com/paper/

51862
No. of Printed Pages : 4 BCS-053
BACHELOR OF COMPUTER
APPLICATIONS (BCA) (Revised)
Term-End Evnrnination
June, 2019
BCS-053 : WEB PROGRAMMING
Time : 2 Hours Maximum Marks : 50
(Welgistage 75%)
Note : Question No. 1 is compulsory and carries 20
marks. Answer any three questions , from the
'rest.

1. (a) Consider the following HTML fmn:t

Explain the FORM elements that will be


required to make the form as above. 4

(A-4) P. T. 0.

https://www.ignouassignmentguru.com/ Page No. 33


Download from:- https://www.ignouassignmentguru.com/paper/

[2] BCS-053

(b) What are the uses of JavaScript in Web


Programming ? Write and explain Java-
Scriptcode that changes the background
colour of a web page to "Red" if a button is
clicked. 4
(c) How is WML different than HTML ? Write
WML script that displays your enrolment
number and name in the centre of the
screen. 4
(d) A student fee table contains information
about student enrolment number and
amount of fee paid by a student. A student
can pay fee only once. Assuming that a
connection has already been created, write
JSP code that accesses data from the
database for the enrolment number "1701"
and displays this data. Make suitable
assumptions, if any. 4
(e) What is the puipose of action elements in
JSP ? Explain the uses of < jsp : include >
with the help of an example. Also
differentiate between static and dynamic
include in JSP. 4

(A-4)

https://www.ignouassignmentguru.com/ Page No. 34


Download from:- https://www.ignouassignmentguru.com/paper/

I3/ BCS-053

2. (a) List any four technologies that can be


categorised as Web 2.0 technologies.
Explain the features of Rich Internet
Applications. 3
(b) What is an external style sheet ? How is it
linked to a HTML document ? Explain the
concept of box model in text style
specification. 4
(c) Explain the uses of XML CSS and XML
XSLT. 3
3. (a) What is the purpose of class selector in
CSS ? Explain with the help of an example.
3
(b) Explain the method getElementBy Id( ) in
JavaScript with the help of an example. 3
(c) Define the following terms :
(i) WML Tasks
XML Schemas
WAP Protocol Stack
(iv) HTML DOM

4. (a) Explain how a JSP page is processed with


the help of a diagram. 4

(A-4) P. T. O.

https://www.ignouassignmentguru.com/ Page No. 35


Download from:- https://www.ignouassignmentguru.com/paper/

[ 41 BCS-053

(b) Explain with the help of an example code


how hidden fields can be used in session
management. 3
(c) Explain the JSP compilation time error
and JSP request time errors. 3

5, Explain any four of the following with the help


of an example/diagram, if needed : 10
(a) Web container
(b) Request and Response in the context of
HTTP
(c) Scriptlets
(d) DriverManager Class
(e) Controller in the context of MVC
architecture
(±) < jsp : param > tag

BCS-053 5,000

(A-4)

https://www.ignouassignmentguru.com/ Page No. 36


Download from:- https://www.ignouassignmentguru.com/paper/

508214

No. of Printed Pages : 4 BCS-053


BACHELOR OF COMPUTER
APPLICATIONS (BCA)
Term-End Examination
December, 2019
BC8-053 : WEB PROGRAMMING
Time : 2 Hours . Maximum Marks : 50
Weightage : 75%
Note : Question Ica i is compulsory and carries 20
marks. Attempt any three questions from the
rest.

1. (a) A registration form requires input of the


following information :
,

• Name of Person
• Gender of Person
• Country
The form is to diaplaged as shown below :
Name :
Gender : Female I. V
Country : I India IV
SUBMIT

90 (B-9) P.Page
https://www.ignouassignmentguru.com/ T. 0.
No. 37
Download from:- https://www.ignouassignmentguru.com/paper/

[2] BCS-053

Please note that Default Gender is "Female"


and Default Country is "India". The form
also has a SUBMIT button :
(i) Write the HTML code for creation of
the above form. 4
(ii) Write a JSP program that runs on
pressing of SUBMIT button and
displays the registration form
information in the format as shown
below : 4
The following information wase entered
Name
Gender
Country •
(b) What are the advantages of XML over
HTML ? Explain the structure of XML
document with the help of an example. 4
(c) Write the WML code that will create the
following table : 4
Name Programme
Ajay BCA
Mohit MCA
(d) What are the uses of JSP ? Explain the
advantages of using JSP over servlet. 4
https://www.ignouassignmentguru.com/ Page No. 38
Download from:- https://www.ignouassignmentguru.com/paper/

I3/ Bd-053

2. (a) Consider the following HTML code : 4


<html>
<body>
<p id= "test"> welcome to exam</p>

0 {Add your JavaScript code and tags


here)
</body> •
</html>
Write the JavaScript code along with
suitable tags at @ which changes the
content "Welcome to Exam" to "Welcome to
Web Programming" when it is executed. In
addition the text colour should be changed
to Green colour.
(b) What is meant by a "Safe" method ? List
two methods which are "safe". 3
(c) What are the advantages of data
streaming ? Explain with the help of a
suitable example. 3
3. (a) Write a JSP scriptlet that finds the
factorial of number 5 and displays it. 5
(b) What are the advantages of using CSS ?
Create an embedded style sheet that
makes the text colour of every paragraph
as red and background colour green. It also
changes the font size to 16 px. 5
https://www.ignouassignmentguru.com/ Page No. 39
Download from:- https://www.ignouassignmentguru.com/paper/

[4] BCS-053

4. (a) What is the role of JDBC in a web


application ? Why DriverManager class is
needed ? List different signatures of get-
Connection method of DriverManager
class. 4
(b) Compare and contrast the following : 6
(i) JSP compilation time errors and JSP
request time errors.
(ii) GET and POST methods
Blogging and. Social Networking
5. Explain any four of the following with the help
, of example program/diagram, if needed : 10
(a) Cookies
(b) URL rewriting
(c) Displaying the data obtained in a
ResultSet object on execution of an SQL
query
(d) DTD in the context of XML
(e) Handling of onclick event
(f) Box model of IITML

BCS-058 7,000

(13-9)
https://www.ignouassignmentguru.com/ Page No. 40
Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 4 BCS-053


BACHELOR OF COMPUTER
APPLICATION (REVISED)
(BCA)
Term-End Examination
June, 2020
BCS-053 : WEB PROGRAMMING

Time : 2 Hours Maximum Marks : 50

(Weightage 75%)

Note : Question No. I is compulsory and carries


20 marks. Attempt any three questions from
the rest.

1. (a) Following books information is to be


represented by using XML :

Title of.the Name of Years of


book authors) publication

Your Story R. Rohan • 2015

Web - A 2001
Programming Tanenbaum

P. T. 0.
https://www.ignouassignmentguru.com/ Page No. 41
Download from:- https://www.ignouassignmentguru.com/paper/

[2] BCS-053

(i) Create an XML document for the data

above. You must use appropriate tags.

(ii) Create a DTD to validate XML

document created in part (i) above. 2

(b) A database contains two fields of a student :

Name

Class

Assuming that a connection has been

created and statement object "stmt" his

been instantiated, write the code fragment

to get a ResuitSet containing the list of all

the students and display the date of

RecordSet object. 6

(c) What is the purpose of directives in JSP ?

Explain the uses of include file directive of

JSP with the help of an example. 4

https://www.ignouassignmentguru.com/ Page No. 42


Download from:- https://www.ignouassignmentguru.com/paper/

131
EICS-053

(d) Write the HTML code segment that will


create the following table : 4
PROGRAMME Fee
MCA 9000 per semester
BCA 6000 per semester
2. (a) Define the term Event in the context of
JavaScript. Write a JavaScript function
which changes the display of content of a
paragraph on a browser from "Demo of
Event" to "Event handled." You must
create a button which when clicked
executes the stated function. 5
(b) Explain the life-cycle of a JSP page with
the help of a diagram,
5
3• (a) Why is -session management needed for
HTTP protocol ? Explain, how cookies can
be used for session management. 5
(b) Explain the role of CSS in an HTML file
display. Explain the uses of class selector
and id selector with the help of an example
each.
5

P. T. 0.
https://www.ignouassignmentguru.com/ Page No. 43
Download from:- https://www.ignouassignmentguru.com/paper/

141 BCS-053

4° Compare and contrast between the following :

10
(a) Web Services and Slogging
(b) Static web pages and Dynamic web pages

(c) 2 Tier client server architecture and N Tier


architecture
(d) JSP action elements and JSP
scripting
elements

a. Explain any four


of the following with the help
of an example/diagram in the context of Web
Programming :
10
(a) JDBC-ODBC Bridge

(b) URL Rewriting

(c) JSP Request time error

(d) WML <select> element

(e) )(AIL schema

(0 Web 2.0

BCS-053 -3.940

https://www.ignouassignmentguru.com/ Page No. 44


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 4 BCS-053

BACHELOR OF COMPUTER
APPLICATION (REVISED)
(BCA)
Term-End Examination
December, 2020
BCS-053 : WEB PROGRAMMING

Time : 2 Hours Maximum Marks : 50

(Weightage : 75%)

Note : Question No. 1 is compulsory. Attempt any


three questions from the rest.

1. (a) What is the purpose of a class selector in


CSS ? Explain with the help of an example.
3
(b) Draw the HTML DOM Node tree for the
following HTML fragment : 4
<html>
<head>
<title> Term-end Exam </title>
</head>
<body>

Lot-II P. T. O.

https://www.ignouassignmentguru.com/ Page No. 45


Download from:- https://www.ignouassignmentguru.com/paper/

[2] BCS-053

<h3> subject code </h3>


<p> BCS-053</p>
</body>
</html>
(c) Explain the WML elements that will be
required to display the following selection
list : 3
O BCS-053
O BCS-054
O BCS-057

(d) Write JSP scripting code that will display


current date and time. 4

(e) Explain the MVC architecture with the


help of a diagram. 6

2. (a) What is Web 2.0 ? How is it different from


Web 1.0 ? 3

(b) What is Cascading Style Sheets ? Explain


the format of CSS rules with the help of an
example/diagram. 4

(c) Explain the use of <div> and <span> tags


with the help of an example. 3

https://www.ignouassignmentguru.com/ Page No. 46


Download from:- https://www.ignouassignmentguru.com/paper/

[3] BCS-053

3. (a) Create an XML document named Author.


Every author should have a first name,
last name and age field. Create records of
two such authors. Also write the DTD that
verifies the XML document of author. 5

(b) Explain with the help of an example, how


JavaScript can be used for modifying
content of a paragraph. 5

4. (a) What are dynamic web pages ? Explain


how JavaScript can be used to create
dynamic web pages. 4

(b) What the use of “POST” method of HTTP ?


Explain with the help of an example. 3

(c) Explain the two types of include used in


JSP. 3

5. (a) Explain the JSP compilation time error


with the help of an example. 3

(b) What is a cookie ? Why are they used ?


How can you create a new cookie in JSP ?
Explain with the help of an example. 4

P. T. O.

https://www.ignouassignmentguru.com/ Page No. 47


Download from:- https://www.ignouassignmentguru.com/paper/

[4] BCS-053

(c) Consider that a database contains a


student table having id, name and
programme as its attributes. Assume that
student table has 20 records and
connection with database has been duly
established, what will be the result of
execution of the following statements of
JSP ? 3

Statement stmt = con. createStatement ( );

ResultSet rs = stmt. executeQuery (Select


* from student);

(Please note : con is the name of connection


object).

BCS-053 4,340

https://www.ignouassignmentguru.com/ Page No. 48


Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 4 BCS-053

BACHELOR OF COMPUTER APPLICATIONS


(BCA) (Revised)
Term-End Examination
June, 2021

BCS-053 : WEB PROGRAMMING

Time : 2 hours Maximum Marks : 50


(Weightage 75%)

Note : Question no. 1 is compulsory. Attempt any three


questions from the rest.

1. (a) What is the purpose of < SELECT > element


in HTML ? Explain how you will display the
following list in HTML : 5

Select Highest Qualification

10th 

10th
10 + 2
Graduation

(b) What is more useful — Inline styles or


Embedded style sheet ? Give reason in
support of your answer. 2
BCS-053 1 P.T.O.
https://www.ignouassignmentguru.com/ Page No. 49
Download from:- https://www.ignouassignmentguru.com/paper/

(c) Explain the how JavaScript can be used for


modifying style of HTML element with the
help of an example. 3

(d) Explain the steps of JSP page processing


with the help of a diagram. 5

(e) Why does HTTP protocol need session


management ? What is ‘Session’ and ‘State’
in this context ? Explain with the help of an
example. 3

(f) A variable ‘i’ is of integer type and name is


an object of class string. Write the JSP code
fragment that will declare ‘i’ and ‘name’
variables. 2

2. (a) What is a Blog ? What does it contain ?


What is a Microblog ? 3

(b) What is the need of id selector in CSS ?


Explain with the help of an example. 3

(c) Write the HTML code that displays a


paragraph ‘‘Welcome to Exam hall’’. Write a
JavaScript code that changes this para to
‘‘Welcome to IGNOU’’ when the display of
‘‘Welcome to Exam hall’’ is clicked. You
should use event handling for the same. 4
BCS-053 2
https://www.ignouassignmentguru.com/ Page No. 50
Download from:- https://www.ignouassignmentguru.com/paper/

3. (a) Create the following table using WML table


element :

Book Title Author Name

Computers Now Desai


Web Programming Tanenbaum
You need not display any title. 3

(b) Represent the following information using


an XML document. Write the DTD that
validates the XML document created for : 4

St_ID Name Programme

Bachelor of Computer
1001 Ravi
Applications

1002 Ullman V PhD

(c) What is WAP ? Why is WAP needed ? 3

4. (a) Explain the three layer architecture of Web


applications with the help of a diagram. 5

(b) Write the scriptlet using JSP that prints a


sequence of numbers from 1 to 5. Also find
the sum of the sequence you must use for
loop. 5

5. (a) What is JSP Request Time Error ? How can


these errors be handled ? 3
BCS-053 3 P.T.O.
https://www.ignouassignmentguru.com/ Page No. 51
Download from:- https://www.ignouassignmentguru.com/paper/

(b) What is the role of DriverManager class ?


Explain one of the important methods of this
class. 3

(c) Assume that a database contains a table


Course (Course_ID, Name, Fee) and a
connection to this database has been
established. Write and explain JSP
statements that will bring the details of
courses in a ResultSet object. 4

BCS-053 4
https://www.ignouassignmentguru.com/ Page No. 52
Download from:- https://www.ignouassignmentguru.com/paper/

No. of Printed Pages : 3 BCS-053

BACHELOR OF COMPUTER APPLICATIONS


(BCA) (Revised)
Term-End Examination
June, 2022

BCS-053 : WEB PROGRAMMING

Time : 2 hours Maximum Marks : 50


(Weightage : 75%)

Note : Question no. 1 is compulsory and carries


20 marks. Attempt any three questions from the
rest.

1. (a) What are the features of Web 2·0 ?


What technologies are used for developing
Web 2·0 applications ? 3
(b) What is a well-formed XML document ?
Explain with the help of an example XML
document. 4
(c) The following information is to be input in
a WAP application :

Name :
Age (in years) :

Write the WML code for creating the above


screen. 3
BCS-053 1 P.T.O.
https://www.ignouassignmentguru.com/ Page No. 53
Download from:- https://www.ignouassignmentguru.com/paper/

(d) List three characteristics that should be


supported by server side scripting tools. 3
(e) Write a JSP scriptlet that displays
numbers 11 to 15 on the browser. You must
use loop for this purpose. 3
(f) Assuming that connection has been duly
established with a database named student
having table masterdata (enrolment,
studentname, marks) and the information
of a student has been put in the related
form; write the code segment using JSP
that will insert the student record (entered
in the form) into the database. (You need
not write statements for driver loading and
connection establishment or closing the
connection) 4

2. (a) Explain the use of <div> and <span> tags,


with the help of an example. 3
(b) What is the need of class selector in CSS ?
Explain with the help of an example. How
is an id selector different from a class
selector ? 4
(c) Which tag will be used for the following
tasks ? Give one example of the use of that
tags : 3
(i) To input a large text in multiple
lines.
(ii) To define a footer in the web page.
(iii) To input a password.

BCS-053 2
https://www.ignouassignmentguru.com/ Page No. 54
Download from:- https://www.ignouassignmentguru.com/paper/

3. (a) Write a JavaScript code that can modify a


paragraph displaying ‘‘Web Programing is
Good’’ to ‘‘Learn Web Programming’’. 3
(b) Explain the HTML DOM node tree, with
the help of an example. 3
(c) What is the purpose of using DTD in
XML ? What are the limitations of DTD ?
Give one difference between DTD and XML
schema. 4

4. (a) Explain the MVC architecture of Web


development, with the help of a diagram. 5

(b) What are JSP implicit objects ? Explain the


purpose of the following implicit objects of
JSP, with the help of an example : 5
(i) request
(ii) response

5. (a) Differentiate between Session objects and


Cookies. 3
(b) Explain the purpose of session
management, with the help of an example. 2
(c) Which type of error is reported to browser
as HTTP Status 500 ? Explain why such
error can occur. 2
(d) What is the need of JDBC ? Why can
ODBC not be used in Java programs ? 3

BCS-053 3 P.T.O.
https://www.ignouassignmentguru.com/ Page No. 55

You might also like