Dec 2023
Dec 2023
DEC 2023
Subjects Internet Programming
DEC 2023 1
Question
Paper →
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
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.
3. Better Feedback
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
DEC 2023 5
reducing reliance on server-side processing. The performance
depends on both the application design and network conditions.
DEC 2023 6
d - What is session tracking? Show how session
tracking is achieved using cookies.
Session simply means a particular interval of time.
DEC 2023 7
Session Tracking Techniques
There are four techniques used in Session tracking:
1. Cookies
3. URL Rewriting
4. HttpSession
e - Differentiate between JSON and XML
JSON XML
DEC 2023 8
It is based on JavaScript language. It is derived from SGML.
Its files are very easy to read as compared Its documents are comparatively
to XML. difficult to read and interpret.
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.
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:
DEC 2023 19
Q-5:
a - Write short notes on JDBC
b - Write a short note on JDBC
What is HTTP
HTTP stands for Hypertext Transfer Protocol.
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.
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 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.
DEC 2023 23
DEC 2023 24