Skip to content

// Anna University, Chennai / 2024

Anna University — Web Essentials (IT3401), April/May 2024

Web Essentials · IT3401 · R2021 · B.Tech. Information Technology · Semester 4

Files open in a new tab. Use your browser's download or save option to keep a copy.

Work through the questions

16 questions

No verified answers are available for this paper.

  1. Question 1

    Part AUnit 1Descriptive2 marks

    Web Essentials

    Discern the differences between Hyper Text Transfer Protocol (HTTP) and Hyper Text Transfer Protocol Secure (HTTPS).

    No verified answer or solution is available for this question.

  2. Question 2

    Part ADescriptive2 marks

    Web Essentials

    Outline the key functionalities of Web Hosting.

    No verified answer or solution is available for this question.

  3. Question 3

    Part AUnit 2Descriptive2 marks

    Web Essentials

    How to integrate maps, social media posts, or other web pages directly into the current page? Write a sample code snippet using the HTML iframe tag.

    No verified answer or solution is available for this question.

  4. Question 4

    Part AUnit 2Descriptive2 marks

    Web Essentials

    How to facilitate the collection and submission of user input on a web page?

    No verified answer or solution is available for this question.

  5. Question 5

    Part AUnit 3Descriptive2 marks

    Web Essentials

    State the purpose of the following special datatypes associated with JavaScript. • BigInt (ES11+) • Primitive Wrapper Objects.

    No verified answer or solution is available for this question.

  6. Question 6

    Part AUnit 3Descriptive2 marks

    Web Essentials

    Write a JavaScript code snippet for Exception handling.

    No verified answer or solution is available for this question.

  7. Question 7

    Part ADescriptive2 marks

    Web Essentials

    Outline the philosophy of DNS lookup pertaining for sending and receiving emails through SMTP server.

    No verified answer or solution is available for this question.

  8. Question 8

    Part AUnit 4Descriptive2 marks

    Web Essentials

    What is ‘Callable’ in the context of variables in PHP?

    No verified answer or solution is available for this question.

  9. Question 9

    Part AUnit 5Descriptive2 marks

    Web Essentials

    Do cookies have the capability to store login credentials? Consider security implications in your response.

    No verified answer or solution is available for this question.

  10. Question 10

    Part AUnit 5Descriptive2 marks

    Web Essentials

    How dynamic content generation can be accomplished using servlets?

    No verified answer or solution is available for this question.

  11. Question 11

    Part BUnits 1, 3, 4Descriptive13 marks

    Web Essentials

    (a) (i) Provide a brief explanation of the purpose of backups offered by web hosting providers when creating a website. Also, describe Incremental, Differential and Mirror backup methodologies with suitable architectural diagrams. (9) (ii) List down the pros and cons of Continuous Data Protection (CDP) pertaining to Web hosting backup methodology. (4) (OR) (b) For the following scenario, illustrate how client-side and server-side scripting work together to create interactive and functional web applications. (i) Assume a sign-up form on your website with fields for username, email and password. On the client-side, write a JavaScript code snippet to validate the form fields before submitting the data to the server. If the email or password does not meet the criteria, an alert is shown and the form submission is prevented. (7) (ii) On the server-side, when the user submits the login form, the data is sent to the server, where a PHP script processes it. The script checks the submitted username and password against a database and responds accordingly. Write a PHP code snippet to process it. (6)

    No verified answer or solution is available for this question.

  12. Question 12

    Part BUnit 2Descriptive13 marks

    Web Essentials

    (a) (i) Explain the purpose of Cascading Style Sheets Level 3 (CSS3). Highlight four key features of CSS3. (7) (ii) Provide an example scenario that demonstrates the use of features such as Linear and/or Radial Gradients and Media Queries to achieve a responsive design. (6) (OR) (b) (i) Explain about the various ways users can input data on a webpage. (7) (ii) Write a HTML5 code snippet to tags embed video content directly into web pages. (6)

    No verified answer or solution is available for this question.

  13. Question 13

    Part BUnit 3Descriptive13 marks

    Web Essentials

    (a) Devise a Java script program that demonstrates the uses of regular expression by creating a simple HTML page with a textarea (T) where the end-user can input text. When the user clicks the “Highlight Words” button, it should highlight the specific words (defined in an array) using regular expressions. (OR) (b) (i) Explain about the event handling in JavaScript. List down the various types of events that are supported by JavaScript. (7) (ii) Describe how events in JavaScript move through the DOM tree in two distinct stages. (6)

    No verified answer or solution is available for this question.

  14. Question 14

    Part BUnit 4Descriptive13 marks

    Web Essentials

    (a) (i) Explain in brief about the operational concept of PHP. (7) (ii) Give a simple PHP code that demonstrates string pattern matching using regular expressions. (6) (OR) (b) (i) Devise a simple PHP code that demonstrates reading from and writing to a file. (7) (ii) Devise a sample PHP function that establishes a connection to the MySQL database server. (6)

    No verified answer or solution is available for this question.

  15. Question 15

    Part BUnit 5Descriptive13 marks

    Web Essentials

    (a) With appropriate illustrations, explain in detail about Java Servlet architecture. Furthermore emphasize about Servlet Life cycle. (OR) (b) Give a sample Java servlet program that demonstrates handling form submissions using both GET and POST methods.

    No verified answer or solution is available for this question.

  16. Question 16

    Part CUnit 5Descriptive15 marks

    Web Essentials

    (a) Create a servlet named ‘SimpleCalc’ mapped to the URL pattern ‘/SimpleCalc’. The purpose of the servlet is to generate an HTML form where users can input two numbers and select an arithmetic operation (+. -, *, or/). Upon form submission, the servlet calculates the result based on the selected operation and displays it in the HTML response. Also test the written servlet by creating an HTML form that submits data to the servlet URL ‘/SimpleCalc’. (OR) (b) Consider a simple database application scenario using servlets for a basic online bookstore. In this scenario, create a servlet that interacts with a database to perform CRUD (Create, Read, Update and Delete) operations on book records. Additionally, extend this application to include additional features such as user authentication, search functionality and sorting.

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam