Question Paper Code : 50458
B.E./B.Tech. DEGREE EXAMINATIONS, APRIL/MAY 2024.
Fifth/Sixth Semester
Computer Science and Design
CCS 375 — WEB TECHNOLOGIES
(Common to : Computer Science and Engineering/Computer Science and Engineering (Artificial Intelligence and Machine Learning)/Computer Science and Engineering (Cyber Security)/Computer and Communication Engineering/Electronics and Communication Engineering/Mechanical Engineering)
(Regulations 2021)
Answer ALL questions.
PART A — (10 × 2 = 20 marks)
- 1.
Compare between server and client in web.
- 2.
What are HTTP Request Message? Give example.
- 3.
How to remove a character from string in JavaScript?
- 4.
Differentiate between exception handling and event handling.
- 5.
What is the difference between GET and POST methods?
- 6.
What is servlet?
- 7.
Differentiate between validness and well-formedness of a XML document.
- 8.
What are the data types supported by PHP?
- 9.
What are the difference between JSP and HTML?
- 10.
How to use jQuery in Angular?
PART B — (5 × 13 = 65 marks)
- 11.(a)
Explain about different elements to design a table. Write a code to create a table for your class timetable using HTML.
- Or
- (b)
- (i)Explain different types of style sheet in CSS with suitable examples.(7)
- (ii)Compare between transition and animation in CSS with examples.(6)
- 12.(a)
Explain various operators and data types available in Java Script with examples.
- Or
- (b)
- (i)What is the need of scripting languages in Web Technologies.(6)
- (ii)Write a JavaScript program to convert temperature from Celsius to Fahrenheit and vice versa.(7)
- 13.(a)
- (i)What are the advantages of Servlets over CGI.(5)
- (ii)Explain Life Cycle of a Servlet with its architecture diagram.(8)
- Or
- (b)
Demonstrate the use of cookies in Servlets with an example.
- 14.(a)
- (i)Design a PHP script for uploading a file to the server and display the details of the uploaded files.(6)
- (ii)List and explain the string functions in PHP.(7)
- Or
- (b)
- (i)Compare and contrast between XML schema and DTD.(6)
- (ii)Write in detail about PHP form validations with example.(7)
- 15.(a)
Explain in detail about MVC architecture with neat diagram.
- Or
- (b)
- (i)How to reload or re-render the entire page using Angular JS?(5)
- (ii)How to add input fields dynamically on button click in Angular JS?(8)
PART C — (1 × 15 = 15 marks)
- 16.(a)
Write a php program to check the user credentials, whether they are correct or not. If the credentials are correct then the user will be redirected to another page. Also provide a forget password option to enable the users to retrieve credentials.
- Or
- (b)
Write a code to create a customer registration page for an ecommerce application using Java Servlet with database connectivity.