0% found this document useful (0 votes)
121 views7 pages

Chapter-wise Previous Year Papers BCS053

The document provides sample questions from previous years' papers for chapters in the BCS053 course, including questions on: - Web 2.0 technologies like blogging, rich internet applications, and mashups. - HTML elements like tables, anchors, forms, and tags like password and fieldset. - CSS concepts like external style sheets, class and ID selectors, and the box model. - XML including creating documents with elements like contacts and students, and defining validating DTDs. - JavaScript and DOM manipulation, like changing text and background colors with events. - WAP and WML for mobile applications, with questions on creating profiles and using elements like tables and timers

Uploaded by

anmol
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views7 pages

Chapter-wise Previous Year Papers BCS053

The document provides sample questions from previous years' papers for chapters in the BCS053 course, including questions on: - Web 2.0 technologies like blogging, rich internet applications, and mashups. - HTML elements like tables, anchors, forms, and tags like password and fieldset. - CSS concepts like external style sheets, class and ID selectors, and the box model. - XML including creating documents with elements like contacts and students, and defining validating DTDs. - JavaScript and DOM manipulation, like changing text and background colors with events. - WAP and WML for mobile applications, with questions on creating profiles and using elements like tables and timers

Uploaded by

anmol
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Chapter wise previous year paper /imp que*

BCS053( 1st block )

Chapter 1

1. What is Web 2.0 ? How is it different from


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

2. Why is web 2.0 more popular ? How does a


static website differ from a dynamic website ?
Explain with the help of an example

3. Explain the features of the following Web 2.0


technologies :

(i) Blogging

(ii) Rich Internet Applications

(iii) Mashups
4. Explain the use of table, anchor and form 5
elements - password and fieldset tags of
HTML with the help of an example [Link]
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. Explain the use of table, anchor and form 5


elements - password and fieldset tags of HTML
with the help of an example each.

Chapter 2

1 . 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

2. What is CSS ? Create a sample code to illustrate


the external stylesheet for your web page.
3. Explain the use of class selector and id selector
in CSS and HTML with the help of an example

4. What is an external style sheet ? With the help


of an example, design an HTML program using an
embedded style sheet

5. Explain the Box Model of HTML with the help


of a diagram. Why is this model needed ?
6. 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

Chapter 3

1. 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
records for the requirements as above. Make
suitable assumptions, if any.

(b) Write the DTD that validates the XML


document created in part(a).

2. 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
followingactivitiesforthedescription as above :

(a) Create a XML document showing records 4


of at least two students.

(b) Create the DTD that verifies the document


created at part (a).

3. 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.

4. 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"..

Chapter 4

1. 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".

2. Explain the concept of Document Object


Model (DOM) with the help of an example.

3. Write a JavaScript program to accept the


first, middle, last names of the students
and print them.
4. 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.

5. What is an event ? Explain with an


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

6. Design a webpage using HTML and 5


Javascript in which the background colour
of the page changes on the click of the
button.

7. 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.

8. What is AJAX ? Describe the advantages and


limitations of AJAX.
Chapter 5

1. What is WAP ? Design a WML program to


display the profile of an Item having
attributes: item Id, Item Name, Item Price
and Item Quantityand Item Quantity.

2. What is WML ? Create a WML program


which should include a table, an image, a
text paragraph and any two WML input
elements.

3. What is WML ? Explain any two WML


elements that can be used for data input.

4. What is WML ? Design WML program to


display the profile of an Employee having
attributes : Employee ID, Employee Name,
Employee Age and Employee Designation.

5. What is WML ? How will you use Timer in WML ?

Common questions

Powered by AI

Rich Internet Applications (RIAs) are web applications designed to deliver the same features and functionalities as desktop applications while running in a browser. They enhance user experience by offering interactive, multimedia-rich user interfaces and quick, responsive actions. RIAs use technologies like AJAX, Flash, or Silverlight to provide features like drag-and-drop, animations, and real-time data updates, allowing for smoother and more engaging user interaction compared to traditional web applications .

Web 2.0 is more popular than Web 1.0 because it enables greater interactivity, collaboration, and sharing among users through technologies such as social networking and content generation platforms. This popularity stems from an ability to engage users in contributing, whereas Web 1.0 was limited to passive content consumption. A static website displays fixed content coded in HTML, whereas a dynamic website, which often uses Web 2.0 techniques integrating databases and server-side scripts like PHP or ASP.NET, can dynamically change content based on user interactions. For example, a static website like a company profile page only serves informational pages, but a dynamic website like Facebook allows user interactions and personal content management .

Web 2.0 differs from Web 1.0 by enabling more interactive and dynamic user experiences, allowing users not only to consume content but also to contribute, share, and collaborate online. Unlike Web 1.0 sites, which were static and primarily informational, Web 2.0 sites utilize technologies such as AJAX, social networking sites, and blogs to enhance interaction and user engagement. An example of a Web 2.0 technology is Blogging, which allows users to create and update personal online journals or share information, and allows interaction through comments .

An external stylesheet can change the background color of a web page by defining a CSS rule that targets the body element, such as `body { background-color: #e0e0e0; }`. This rule, placed in a separate '.css' file, is then linked to the HTML document using the `<link>` tag within the `<head>` section. This approach is preferred over inline styles due to improved maintainability, as changes can be made across multiple pages from one central stylesheet, and separation of concerns, keeping HTML clean and focused on structure rather than styling .

The CSS Box Model is fundamental in web design, defining how elements are sized and spaced on a webpage. It consists of content, padding, border, and margin areas. The width of an element in the box model includes the content's width, the padding, the border's width, and any margins. This model significantly influences layout decisions by controlling the spacing around elements, affecting their placement and responsiveness on different devices. Proper understanding ensures predictable element positioning and sizing, crucial for consistent design across browsers .

AJAX (Asynchronous JavaScript and XML) is a web development technique that enables asynchronous communication between client and server, allowing web pages to be updated without reloading the entire page. Advantages include improved user experience with faster page interactions and background data fetching. However, AJAX has limitations such as reduced accessibility for users with JavaScript disabled, increased complexity in web application development, and potential security risks if not implemented correctly .

CSS offers numerous advantages in web development, including separation of content from design which simplifies maintenance, improved load times through reduced inline styling, and enhanced styling features to create visually appealing designs. An external stylesheet allows developers to keep styles in a separate file, typically ending with '.css', which can be linked to HTML documents using the `<link>` tag within the `<head>` section. This enables consistency across multiple pages as changes in the stylesheet reflect across linked pages. For example, to link an external stylesheet, one would use `<link rel="stylesheet" href="styles.css">` in the HTML document .

A valid XML document for storing addresses and contacts includes a structured format where each contact has elements such as contact name, contact address, contact type, and multiple phone numbers (home and mobile). For example, the XML might look like `<contact><name>John Doe</name><address>123 Apple St.</address><type>personal</type><phone>555-1234</phone></contact>`. A Document Type Definition (DTD) formally defines the document structure, declaring elements, attributes, and their relations to ensure the document adheres to a defined model. The DTD for these contacts defines each element structure and ensures required elements are present with correct datatype .

The Document Object Model (DOM) is a programming interface for HTML and XML documents. It represents the page structure as a tree of objects that can be manipulated using languages like JavaScript. Using JavaScript, developers can dynamically change content, style, and structure of the webpage without requiring a reload. For example, JavaScript can change the text of a paragraph in an HTML document from 'Wel come' to 'Welcome to the University' by selecting the element via methods like `document.getElementById` and modifying its properties, such as `innerHTML` .

In HTML, the <table> element is used to display data in a tabular format, with rows and columns. For example, `<table><tr><td>Data1</td><td>Data2</td></tr></table>`. The <a> (anchor) element is used to create hyperlinks, allowing navigation to other pages or resources, such as `<a href='http://example.com'>Visit Example</a>`. The <form> element is utilized to collect user input through form controls like text fields, radio buttons, and submit buttons; an example is `<form><input type='text' name='name'><input type='submit' value='Submit'></form>` .

You might also like