0% found this document useful (0 votes)
12 views24 pages

Dec 2023

The document is a question paper for an Internet Programming course, covering topics such as ReactJs, DTD, Rich Internet Applications (RIA), session tracking, JSON vs XML, JSX, HTML5 semantic tags, JavaScript event handling, CSS3 animations, JDBC, and HTTP. It includes various questions that require explanations, definitions, and examples related to these subjects. Additionally, it discusses session tracking techniques and the differences between JSON and XML.

Uploaded by

saaiem.221846.ci
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views24 pages

Dec 2023

The document is a question paper for an Internet Programming course, covering topics such as ReactJs, DTD, Rich Internet Applications (RIA), session tracking, JSON vs XML, JSX, HTML5 semantic tags, JavaScript event handling, CSS3 animations, JDBC, and HTTP. It includes various questions that require explanations, definitions, and examples related to these subjects. Additionally, it discusses session tracking techniques and the differences between JSON and XML.

Uploaded by

saaiem.221846.ci
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

DEC 2023
Subjects Internet Programming

The document is a question paper for an Internet Programming


course, covering topics such as ReactJs features, DTD, Rich
Internet Applications (RIA), session tracking, JSON vs XML, JSX,
AI
HTML5 semantic tags, JavaScript event handling, CSS3
summary
animations, JDBC, and HTTP. It includes various questions
requiring explanations, definitions, and examples related to these
subjects.

Date @November 21, 2024

DEC 2023 1
Question
Paper →

Q-1: Attempt any FOUR


a - State features of ReactJs.

DEC 2023 2
b - What is DTD? Explain intemal DTD and
external DTD.

DEC 2023 3
c - Give characteristics of RIA
Here’s an expanded version of the characteristics of Rich Internet
Applications (RIA) based on the document:

DEC 2023 4
1. Direct Interaction

Traditional web applications offer limited controls like checkboxes


and radio buttons, which restrict the creation of engaging
applications.

RIAs enhance interactivity with advanced features like drag-and-


drop tools and map panning, allowing users to interact directly with
page elements for a more efficient and engaging experience.

2. Partial-Page Updating

Unlike standard HTML web pages, which reload the entire page for
updates, RIAs use technologies like real-time streaming, local
caching, and client-side virtual machines to refresh only the
necessary parts of a page.

This reduces wait times, enhances responsiveness, and is especially


useful in environments with network connectivity issues.

3. Better Feedback

RIAs provide instant feedback by dynamically updating page


elements without reloading, offering real-time confirmation of user
actions and displaying informative error messages.

This improves the overall user experience by keeping users informed


and engaged.

4. Consistency of Look and Feel

RIA tools ensure a uniform and consistent user interface across


various browsers and operating systems, making applications more
user-friendly and professional.

5. Offline Use

RIAs can retain their state and functionality locally on the client
machine, enabling users to continue working even when the internet
connection is unavailable. This makes them ideal for scenarios
requiring intermittent connectivity.

6. Improved Performance

RIAs typically outperform traditional applications in terms of


responsiveness, leveraging advanced client-side technologies and

DEC 2023 5
reducing reliance on server-side processing. The performance
depends on both the application design and network conditions.

Let me know if you'd like further elaboration!

DEC 2023 6
d - What is session tracking? Show how session
tracking is achieved using cookies.
Session simply means a particular interval of time.

Session Tracking is a way to maintain state (data) of an user. It is also


known as session management in servlet.
Http protocol is a stateless so we need to maintain state using session
tracking techniques. Each time user requests to the server, server treats the
request as the new request. So we need to maintain the state of an user to
recognize to particular user.

HTTP is stateless that means each request is considered as the new


request. It is shown in the figure given below:

Why use Session Tracking?


To recognize the user It is used to recognize the particular user.

DEC 2023 7
Session Tracking Techniques
There are four techniques used in Session tracking:

1. Cookies

2. Hidden Form Field

3. URL Rewriting

4. HttpSession
e - Differentiate between JSON and XML
JSON XML

It is JavaScript Object Notation It is Extensible markup language

DEC 2023 8
It is based on JavaScript language. It is derived from SGML.

It is a markup language and uses tag


It is a way of representing objects.
structure to represent data items.

It does not provides any support for


It supports namespaces.
namespaces.

It supports array. It doesn’t supports array.

Its files are very easy to read as compared Its documents are comparatively
to XML. difficult to read and interpret.

It doesn’t use end tag. It has start and end tags.

It is less secured. It is more secured than JSON.

It doesn’t supports comments. It supports comments.

It supports only UTF-8 encoding. It supports various encoding.

Q-2:
a - What is JSX? Explain its attributes with
example.

DEC 2023 9
DEC 2023 10
b - Explain any 5 semantic tags of HTML5 with
example

DEC 2023 11
DEC 2023 12
Q-3:
a - Write a JavaScript that reads ten numbers and
displays the count of negative numbers, the count
of positive numbers and the count of zero from the
list.

b - What is JSP? Explain life cycle of JSP

DEC 2023 13
DEC 2023 14
DEC 2023 15
DEC 2023 16
Q-4:
a - Explain the event handling in JavaScript with
suitable example.
a - What is meant by Event handling in
JavaScript explain it with an example.

DEC 2023 17
Example
Example 1: Here, we will display a message in the alert box when the
button is clicked using onClick() event. This HTML document features

DEC 2023 18
a button styled to appear in the middle of the page. When clicked, the
button triggers the `hiThere()` JavaScript function, which displays an
alert box with the message “Hi there!”.

<!doctype html>
<html>

<head>
<script>
function hiThere() {
alert('Hi there!');
}
</script>
</head>

<body>
<button type="button"
onclick="hiThere()"
style="margin-left: 50%;">
Click me event
</button>
</body>

</html>

Output:

b - Explain CSS3 Animation with example.

DEC 2023 19
Q-5:
a - Write short notes on JDBC
b - Write a short note on JDBC

b - What is HTTP? Describe structure of HTTP


request and response message

What is HTTP
HTTP stands for Hypertext Transfer Protocol.

Hypertext Transfer Protocol is a set of rule which is used for transferring


the files like, audio, video, graphic image, text and other multimedia files
on the WWW (World Wide Web).

HTTP is an application-level protocol. The communication usually takes


place through TCP/IP sockets, but any reliable transport can also be
used.

DEC 2023 20
The standard (default) port for HTTP connection is 80, but other port
can also be used.

The first version of HTTP was HTTP/0.9, which was introduced in 1991.

The latest version of HTTP is HTTP/3, which was published in


September 2019. It is an alternative to its processor HTTP/2.

This latest version is already in use on the web with the help of UDP
(User Datagram Protocol) instead of TCP (Transmission Control
Protocol) for the underlying transport protocol.

HTTP is used to make communication between a variety of hosts and


clients. It supports a mixture of network configuration.

HTTP is a protocol that is used to transfer the hypertext from the client
end to the server end, but HTTP does not have any security.

Whenever a user opens their Web Browser, that means the user
indirectly uses HTTP.

DEC 2023 21
DEC 2023 22
Q-6:
a - Discuss about various control structures used
in PHP. Give suitable example for each.

b - What is AJAX? Explain its role in web


application.

DEC 2023 23
DEC 2023 24

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy