- HTML and HTML5
- Class Selector and ID Selector
- GET Method and POST Method in PHP
- JSON and XML
- Internal DTD and External DTD
- Ajax Application Model and Traditional Application Model
-
Explain
<audio>
and<video>
controls of HTML5 with an appropriate example.
[5 Marks] -
Explain the working of
rowspan
andcolspan
in an HTML table with a suitable example.
[10 Marks] View Code -
Explain how the shadow effect can be applied to text using CSS with a suitable example.
[10 Marks] View Code -
Explain any 5 semantic tags of HTML5 with an example.
[10 Marks] View Code -
What is HTTP? Describe the structure of HTTP request and response messages.
[10 Marks] -
Write a code to drag an image from outside the box and drop it inside the box.
[5 Marks] View Code -
Create an external stylesheet and link it to an HTML form. The stylesheet should include:
- A header with red text and a yellow background.
- A double-lined table with 5 rows and 3 columns:
- First column: Serial number of the product.
- Second column: Image with a hyperlink and name of the product.
- Third column: Description of the product.
[10 Marks]
View Code
-
Explain basic internet protocols essential for transferring data and sending emails.
[10 Marks] -
List and explain the 3 ways to add a stylesheet (CSS) to an HTML web page with suitable examples.
[10 Marks] -
Write an external stylesheet and link it to an HTML file. The stylesheet should include the following:
- The web page will have the background image
img1.jpg
. - The table heading will have a red background color.
- Alternate paragraphs will have different background colors.
- The hyperlinks on the web page will not have an underline. [10 Marks] View Code
-
What is event handling in JavaScript? Explain it with an example.
[10 Marks] View Code -
Write a JavaScript code to accept a name and password from the user and validate the data:
- Name should not be empty.
- Password should be at least 6 characters long.
[10 Marks]
View Code
-
Create a form with the following fields: 'Name', 'Age', 'Email ID', and 'Password'. Validate each field using JavaScript:
- Name: Should only contain alphabets (A-Z).
- Age: Should be between 0 and 100.
- Email ID: Must include
@
. - Password: Must contain at least 1 uppercase letter, 1 digit, 1 special character, and have a minimum length.
[10 Marks]
View Code
-
Write the code to process online alumni information for your college. Create forms to get Name, Address, Date of Birth, and Email ID. Validate the following using JavaScript:
- User must fill all fields before form submission.
- Email ID must include
@
and.
. - Age validation using DOB (>= 22 years).
[10 Marks]
View Code
-
Write a JavaScript code that reads ten numbers and displays the count of negative numbers, positive numbers, and zeros.
[10 Marks]
View Code -
Write a JavaScript program to check if Password and Confirm Password are the same.
[5 Marks]
View Code -
Explain exception handling in JavaScript with a suitable example.
[10 Marks] View Code -
Explain built in objects in Javascript. [10 Marks]
-
Explain Javascript DOM Model [10 Marks]
-
Explain how Javascript can hide and show elements with the help of an example [5 Marks] View Code
-
Write a short note on JDBC.
[10 Marks] -
Write a short note on JSP.
[10 Marks] -
Explain the Servlet lifecycle with a neat diagram.
[10 Marks] -
What is session tracking? Show how session tracking is achieved using cookies.
[5 Marks] -
What are cookies, and how do they work in Servlets?
[10 Marks] -
Write a JSP program to perform basic arithmetic operations: addition, subtraction, multiplication, and division.
[10 Marks]
View Code -
Write a JSP program to display system date and time.
View Code
-
What are the characteristics of Rich Internet Applications (RIA)?
[5 Marks] -
Draw and compare the AJAX application model and the traditional web application model.
[10 Marks] -
What is AJAX? Explain its role in web applications.
[10 Marks] -
Write AJAX code to read from a text file and display its contents after a button click.
[10 Marks]
View Code
-
Explain the different data types in PHP.
[5 Marks] -
Explain the structure of an XML document with an example.
[10 Marks] -
What is DTD? Explain internal DTD and external DTD.
[5 Marks] -
Differentiate between JSON and XML.
[5 Marks] -
Discuss various control structures in PHP with suitable examples.
[10 Marks] -
If you wanted to send sensitive information like a password to the backend, would you use the GET or POST method in PHP? Justify your answer and distinguish between these methods.
[5 Marks] -
Explain how form validation works in PHP with a suitable example.
[10 Marks] -
Write the HTML, XML code, and DTD for handling the following data in an e-commerce website:
-
Create a well-formed XML document to maintain a library catalog. Format it in a tabular manner using XSLT.
[10 Marks]
View Code
View Code -
Write a PHP code to find the factorial of a number.
View Code
-
Discuss the advantages of React.js.
[5 Marks] -
What are the features of React.js? Write code for "Hello World" using React.js.
[10 Marks]
View Code -
What is JSX? Explain its attributes with an example.
[10 Marks]