You are on page 1of 8

www.Vidyarthiplus.

com
VALLIAMMAI ENGINEERING COLLEGE
SRM NAGAR, KATTANGULATHUR 603 203

SECOND SEMESTER MCA


QUESTION BANK MC7202 WEB PROGRAMMING ESSENTIALS
UNIT I
PART-A (2 Marks)
1. What is Web Programming?
2. Define WWW.
3. What are the Internet Standards?
4. What is the use of SMTP?
5. What is POP3?
6. What is the role of FTP?
7. Name any two E-Mail protocols.
8. What is the need for HTTP?
9. Distinguish between Get and Post method.
10. What is the need for Internet Standards?
11. List the features of HTTP.
12. What is the use of message status line in HTTP?
13. What is a dynamic web page?
14. Differentiate between client side scripting and server side scripting.
15. What is mean by MIME?
16. What is the difference between FTP and TFTP?
17. Name any two web browser.
18. What is web server? List any two web server tool.
19. What is the use of UA and MTA?
20. What are the two type of connections available in FTP?
PART B (16 Marks)
1. Explain the HTTP Request message format with example.
2. Describe the overview of WWW and its architecture.
3. Discuss about the SMTP protocol mail processing system.
4. Explain how the FTP transfer the files between two sites with neat diagram .
5. Discuss about the generation of dynamic web pages.
6. Describe about the various Internet Standards used in web.
7. Explain the architecture of a web application and protocols used on it.
8. Describe about the HTTP Response message format with example.
9. Discuss briefly about the different E-Mail protocols used in web.
10. Compare and contrast between FTP and HTTP.

www.Vidyarthiplus.com

www.Vidyarthiplus.com
UNIT II
PART-A (2 Marks)
1. What are the advantages of HTML?
2. What are the new features of HTML5?
3. How to formatting the text in HTML?
4. What is the tag used for commenting a code?
5. What is the use of Anchors?
6. How to set the background image and color in a web page?
7. How to display a image in a web page?
8. How to create a Hyperlink in a web page?
9. List out the different type of Lists.
10. Write a code for adding table to a web page.
11. What is a frame? What are its attributes?
12. Develop a HTML code for user Login Form.
13. What is the need for CSS?
14. Difference between relative and absolute positioning.
15. What is cell spacing and cell padding?
16. How to open a link in a new browser window? Develop a code for it.
17. Develop a HTML code for a user click on the "Submit" button, the form-data will be sent
to a page called "html_form_action.asp".
18. How to repeat a background image only horizontally?
19. Write a CSS code to add different colors to visited/unvisited links.
20. Write a CSS code to set the left margin of a text using a cm value.
PART B (16 Marks)
1. Explain the different types of cascading style sheet representation methods
with example program.
2. Develop a website for University of Technology using HTML. Here add the
links of Admissions, Departments and Examinations with use of suitable
tags.
(8)
3. Discuss about the following: (i) Margins and Padding
(ii) Positioning using CSS
(8)
4. Develop a webpage for online shopping using with necessary tags.

5. Describe the various Lists available in HTML with example code.


6. Explain in detail about the image mapping with example program.
7. (i) Discuss about the manipulating text in HTML.
(6)
(ii)Write the HTML code that produces the following web page. The width of the
table is 400 pixels and the border is one pixel wide. The header is enclosed in an
H2 element.
(10)
Average Grades by Year
Report Card
2011
2012
Physics
B+
B
Chemistry
C+
BMaths
AA
8. Describe the Backgrounds management in HTML with examples.
9. (i) Discuss about the essential principles for good web design.
(ii)Explain HTML document structure with suitable example.
10.
(i) Distinguish between HTML and HTML5. (8)
(ii) Compare between HTML ,XML and XHTML. (8)

www.Vidyarthiplus.com

2013
AC
A+
(8)
(8)

www.Vidyarthiplus.com
UNIT III

PART-A (2 Marks)
1.
2.
3.
4.
5.
6.

List the uses of JavaScript.


What are the limitations of JavaScript?
Write three basic data types supported by JavaScript.
What are the different ways of creating variables in JavaScript?
What is meant by typeof operator? Give an example.
Evaluate the following expression:
a=(b=12,c=6,d=3);
x=a + b % 5 / 1;
7. Write syntax of with statement. Give an example.
8. Write a JavaScript recursive function for factorial of a number.
9. List out the different types of Objects.
10. Name the different Browser objects.
11. What is the use of DOM?
12. What is the following regular expression represents?
pattern=/[0-9]{3}-[0-9]{3}-[0-9]{4}/ ;
13. What is event bubbling? How to control the event bubbling?
14. What are the three types of dialog supported by javascript?
15. Differentiate between slice and splice methods in array.
16. Write any four Math related functions in javascript.
17. Name any four Date related functions in javascript.
18. What are the global functions in javascript?
19. What is getElementById method?
20. What is the use of toString method with respect to arrays?
21. Define event and event handling.
22. What is onblur event?
23. What is the difference between MoveBy and MoveTo Window methods?
24. Write a code for phone number validation?
25. Write a code for E-Mail ID validation?
26. Write a code for Date format validation?
27. What is the need for validation?

PART B (16 Marks)


1. (i) Write javascript to get a message from the user and display in browser status bar.
(6)
(ii) Discuss about the various looping statements in javascript each with
example.
(10)
2. Describe the various event handling methods in javascript.
3. Discuss the Form handling and validations with suitable example.
4. (i) Discuss about the various operators used in javascript each with example.
(ii) Discuss briefly about the DOM.

(10)
(6)

5. (i) Write javascript to count the number of appearance of a tag in a document.


(ii) Write a javascript to display all the objects used in a document.

(8)
(8)

www.Vidyarthiplus.com

www.Vidyarthiplus.com
6. Explain in detail about the methods of controlling windows and frames.
7. Discuss about the different group of objects used in javascript each with example.
8. Explain in detail about the different type of array manipulation in javascript.

9. (i) Develop a HTML page which accepts


- Any mathematical expression
- Evaluate the expression
- Displays the result of the evaluation
(ii) Design web page to create a clock with a timing event.

(10)
(6)

10. (i) write a HTML to shake the window of a button click. Make use of two
buttons one button used to start the shaking and another button used
to stop the shaking of window.
(8)
(ii) Develop and demonstrate a HTML file that includes javascript for the
following problem:
(8)
Input: A number n obtained using the prompt
Output: The first n Fibonacci number
11. Write a javascript code for validating employee registration form include the
fields like employee name, employee date of birth, contact number and email-id.

www.Vidyarthiplus.com

www.Vidyarthiplus.com
UNIT IV
PART-A (2 Marks)
1. Define Class. Give an example.
2. What is Constructor?
3. List out the Object-Oriented features.
4. Expand the term JSON.
5. What is the use of JSON?
6. Expand the term AJAX.
7. How to create a subclass in JavaScript?
8. How to use JQuery?
9. What is ready event?
10. Where is the XML in AJAX?
11. What is mean by readyState property?
12. What are the advantages of inheritance?
13. What is polymorphism?
14. Differentiate between subclass and superclass.
15. What is method overriding?
16. What is this keyword?
17. What are the advantages of AJAX?
18. What is the use of prototype in javascript?
19. What is the use of instanceof keyword?
20. How to a call base class constructor from derived class?

www.Vidyarthiplus.com

www.Vidyarthiplus.com
PART B (16 Marks)

1. Explain about the methods of Browser Management in JavaScript.


2. Describe about the Object-Oriented Techniques in JavaScript.
3. Explain the AJAX working process with neat diagram.
4. Write an AJAX program for parsing a JSON file and the file contains Book
Information.
5. Compare similarities and dissimilarities between java and javascript.
6. (i) Compare XML and JSON. (8)
(ii) Compare and contrast between javascript and java. (8)
7. Describe about the implementation of Inheritance techniques in Javascript.
8. Create a class Student with data members student number, name, mark1, mark2 and
mark3.Write two student member methods for calculating the percentage of marks
and displaying the student details. Drive a class Sports from Student with data
members sports name, sports level (I, N or Z) and sports grade (W or R). Write a
display method in sports to display the sports details.
9. Develop an application in javascript for employee payroll processing system using
inheritance.
10. Discuss about the jquery methods with example.
11. Write a javascript program for Banking transaction using inheritance. Create your
own classes Customer and Account.
12. Discuss about the following in javascript:
(i)

Media Management (8)

(ii)

Write a javascript code to find out the name of a browser and its version. (8)

www.Vidyarthiplus.com

www.Vidyarthiplus.com
UNIT V
PART-A (2 Marks)
1. How web works?

2. Expand the term LAMP.


3. Differentiate between print and echo in PHP.
4. Define variable. How to use the variable in PHP?
5. What is the use of define() function?
6. List out the various array types in PHP.
7. Name the string concatenation operator. Give an example.
8. Distinguish between the operator == and ====.
9. Differentiate between GET and POST method.
10. List the features of MySQL database.
11. List types of looping statements available in PHP.
12. What are the different types operators available in PHP?
13. Write a PHP Script to declare 2 variables with specific numeric value of your choice and
perform the following operations: Addition, Subtraction, Multiplication and Division.
Also echo out the result on the screen.
14. Write a PHP Script to declare 2 variables with specific numeric value of your choice and
find out the greater number between the two. If the numbers are equal, the respective
message display on the screen.
15. Write a PHP Script to print the following pattern on the Screen:

*****
****
***
**
*
16. What are the three types of comments a line of code in PHP?
17. When to use GET and POST?
18. List any four MySQL functions.
19. How to embedding PHP within HTML structure?
20. Declare an array week and assign the value of the days to each index number in the
order of occurrence and echo the result on the screen.

www.Vidyarthiplus.com

www.Vidyarthiplus.com
PART B (16 Marks)
1. Discuss the step by step procedure of establishing connectivity with MySQL database.
2. Explain how the data read from web pages with suitable examples.
3. Describe the array manipulation in PHP with examples.
4. Using PHP and MySQL, develop a program for library management system.
5. Develop a web application for seat availability for a railway information system using PHP
and MySQL.
6. Create a PHP page and create a user form which asks for marks in five subjects out of
100 and then displays the mark sheet of the student. Write a PHP Script to update the
values in the database with the new marks in subject 5 as "99" and recalculating and
updating database entries: total obtained and percent.
7. Create a PHP Script which asks for user to enter some random string. Use the
appropriate string functions to display the following operation on the input string.
i. Count number of Characters in the string
ii. Breaking down a string into an array
iii. Reverse the string
iv. Convert all alphabetic characters in string to their lower case form.
v. Convert all alphabetic characters in string to their upper case form.
vi. Declare a substring and replace the content of substring into original string.
8. (i) Discuss about the procedure to Setting up the LAMP server environment.
(ii) Compare and contrast between GET and POST method in PHP form.
9.(i) Write a PHP script to add the two 2x2 Matrices and output the result.
(ii) Explain the various control and looping structures in PHP.
10. (i) Describe the different types of operators in PHP.

(8)
(8)
(6)
(10)
(8)

(ii) Write a PHP function to generate a Fibonacci series of n terms and also
find the factorial of the number n using recursive function.

www.Vidyarthiplus.com

(8)

You might also like