You are on page 1of 4

Programming the Web 2013

East point college of Engineering for women Dept of CSE Abhishek M


Department: CSE Faculty Name: Mr.Abhishek M
Subject: Programming the Web
Subject Code: 10CS73
Question Bank
UNIT -1: FUNDAMENTALS OF WEB, XHTML - 1
1. What are domain names? Explain domain name conversion with diagram
2. What are the difference between web browser and web server
3. What is aURL? How does it locate the webpage on our web browser?
4. Describe the purpose of the five most commonly used HTTP methods
5. Explain web programmers tool BOX
6. Write a note on MIME
7. What is a fully qualified domain? Explain.
8. Bring out the difference between HTML and XHTML
9. Give the basic syntax of XHTML document structure.
10. Explain the request and response phase of HTTP.
11. What is the purpose of a MIME type specification in request / response transactions
between a browser and a server?
12. Give and explain the syntax of the following tags:
i) <blockquote> ii) <meta> iii) <pre> iv) <a> v) <img> vi) <sub>

UNIT II XHTML-2 CSS
1. How lists are handled in XHTML? Design an XHTML code for illustrating nested lists.
2. Design an XHTML code for constructing a sample class timetable to illustrate table handling.
3. What is a table tag? Explain all attributes of a table tag.
4. Explain lists in HTML (ordered list, unorderedlists and definition list).
5. Explain with an example the following tags:
i) Select ii) Frames iii) Colspan iv) Radio button v) Style class selector.
6. What is the difference between cell padding and cell spacing?
7. What are the different levels of style sheets? Give an example code for each.
8. What are the different selector forms provided in CSS? Illustrate the use of each with suitable
example.
9. Write a note on font properties.
10. Explain the Box Model with an example.
11. Write the conflict resolution in cascading style sheets.
12. Explain the following CSS tags, with an example for each: i) Class selectors ii) Pseudo
classes iii) Background images iv) Text decoration v) Alignment of text.
Programming the Web 2013
East point college of Engineering for women Dept of CSE Abhishek M
13. Design an XHTML document for the following data.
I. General Aviation
A. Single Engine Aircraft
1. Tail Wheel
2. Tricycle
B. Dual Engine Aircraft
1. Wing-mounted engines
2. Push-pull fuselage-mounted engines
Differentiate between <span>and <div>tags with an example.
UNIT-III JavaScript
1. What are the uses of J avaScript? Are OOP concepts incorporated in J avaScript? How
objects are handled in it?
2. Which are the methods used for accepting inputs from the keyboard and for displaying
results on the screen? Write a J avaScript for accepting the username and display it on the
user window.
3. Explain primitive data types in J ava Script.
4. Explain Arrays and pattern matching in java script.
5. Explain the general syntactic characteristics of J avaScript
6. Explain the following:
a. i) Math Object ii) Number Object iii) String Object iv) Date Object
7. Explain with an example the different ways an array object can be created in J avaScript
and also explain the characteristics and methods of an Array Object.
8. Write a J avaScript to accept three numbers, using the prompt method. Find and display
the largest of three using alert method. Use predefined function Math.max.
9. Write a J avaScript that contains a function named tst_phone_num, which tests the phone
number of the format ddd-dddd-ddddddd <091-8256-1234567>and display whether the
given number is valid or not using alert.
10. Write short notes on: Constructors in J avaScript, Explain with J avaScript code how the
sort method can be used to arrange a list of numbers in ascending order.
11. Explain in brief implicit type conversion and explicit type conversion.
12. Describe the two ways in which an Array can be created in J avaScript, Explain the
following methods of an Array: i) join ii) slice iii) reverse iv) sort v) push and pop, Shift
and unshift.
Programming the Web 2013
East point college of Engineering for women Dept of CSE Abhishek M
UNIT- IV JavaScript and XHTML Document, Dynamic Document with JavaScript
1. Explain the DOM structure of a document with figure
2. Explain how elements are accessed in J avaScript.
3. What is an Event? List the most commonly used events and their tag attributes.
4. Briefly discuss the event handling from body elements and button elements in J avaScript.
5. Write a J avaScript to compare two passwords.
6. Explain the three phases of event processing in the DOM2 event model.
7. Write an XHTML document which displays a form containing text elements to input register
number, sub-code, marks in three tests and a button element. Also write J avaScript code to
compute average of two better tests on click of button and print average marks using alert.
8. How positioning and moving of elements are done in dynamic XHTML?
9. How stacking of elements done in J avaScript/XHTML? Write a program to illustrate dynamic
stacking of images.
10. What are the standard values for visibility property? How are they used in dynamic
XHTML?
11. Illustrate dragging and dropping elements in J avaScript with a simple program.
UNIT- V XML
1. What is XML? Explain the syntaxandXML document structure with an example
2. What is DTD? Explain with an example.
3. What is a namespace? What is its use in XML.
4. How elements and attributes are declared in a DTD? Give a sample DTD for defining on
airplane.
5. Explain about displaying raw XML documents.
6. Explain the transformation process by an XSLT processor with a flow diagram.
7. Explain XSLT processing.
8. What are XML processors?.
9. What are the four categories of complex types in XML schema.
10. How does an XSLT processor use an XSLT style sheet with an XML document?
11. What is UDDI? What is SOAP?
UNIT-VI Perl & CGI Programming
1. Describe with examples, the various types of variablesin PERL.
2. What are the three categories of Perl variables how are they handled? Give example.
3. Explain arrays and associative arrays in Perl.
Programming the Web 2013
East point college of Engineering for women Dept of CSE Abhishek M
4. Write a PERL program to read a file on command line that contains persons name, in each
line, converts them to uppercase and displays them in ascending order.
5. With an example, explain how files are handled in PERL.
6. Write a note on CGI.pm module.
7. Write a CGI-PERL program to use a cookie to remember the day of last login, from a user and
display it when executed.
8. What is a query string? How is it transmitted to the server with the GET and POST methods?
9. Write a program to use a cookie to remember the day of last login from a user.
UNIT VII PHP
1. What is PHP? Explain the general syntacticcharacteristics of PHP.
2. Write a PHP program to illustrate different sorting functions of PHP.
3. With an example program explain how forms are handled in PHP.
4. Explain file use indicators in PHP.
5. Write a note on DBI module.
6. Create a PHP script to access the cars database with Mysql.
UNIT VIII Ruby, Rails
1. Explain different string handling methods in Ruby with an example.
2. Explain the two different ways of creating an array in Ruby and also explain built in methods
of arrays.
3. List and explain the different types of iterators in ruby with example.
4. Explain in detail how static document are executed in Rails
5. Build a Rails application to connect Mysql database and execute proper query insert values to
the database.
6. Write a note on ApplicationController and layouts in Rails

You might also like