Internet Programming Notes for Sem 5
Internet Programming Notes for Sem 5
Join Telegram:-@engineeringnotes_mu
HERE YOU GET ALL (MUMBAI UNIVERSITY ) ENGINEERING NOTES
🎗️ 🎗️
KEEP SHARE THIS LINKS
👇👇👇👇👇👇👇👇👇👇👇👇
JOIN US TELEGRAM ALL LINKS FOR NOTES
⭐ 👉
[Link] TO JOIN CHANNEL @engineeringnotes_mu
⭐ 👉
[Link] TO JOIN GROUP @engineering_notes_mu
INTERNET PROGRAMMING
IMPORTANT QUESTIONS
SEM 5 ( COMPS)
6. Explain Basic Internet Protocols Which Are Essential For Transferring Data And Sending Emails.
2. Explain AJAX Web Application Model And Traditional Web Application Model With Diagram.
3. What Is AJAX ?
MODULE-1
MODULE-2
MODULE-3
MODULE-4
MODULE-5
MODULE-6
9C
43
D4
5
Paper / Subject Code: 31926 / Department Optional Course-I: Internet Programming
C9
36
A4
2C
F9
26
9C
43
D4
Join Telegram:-@engineeringnotes_mu
68
B3
C9
A4
2C
63
F9
53
9C
43
D4
32
68
E4
A4
2C
B
F9
6
62
3
D4
2
5
68
C4
3
E9
4
Duration: 3hrs [Max Marks:80]
3B
E
F9
42
26
2A
6 2
4
9D
B3
E9
36
95
2C
N.B. : (1) Question No 1 is Compulsory.
2E
6
A
8F
CC
D4
32
96
45
(2) Attempt any three questions out of the remaining five.
6
95
49
3B
E
2E
63
F9
(3) All questions carry equal marks.
2A
C
3A
32
6
8
C
36
(4) Assume suitable data, if required and state it clearly.
5
49
3B
AE
E
C4
26
62
C
3A
5
42
52
C
B3
E9
E4
6
9
4
9D
63
9
4
C
53
1 Attempt any FOUR
CC
[20]
32
96
2
8F
52
4
3
4
49
a State features of React js.
3B
AE
2E
C4
9D
C9
36
96
5
2
26
52
C
E4
3
D4
b What is DTD? Explain internal DTD and external DTD.
8
E
4
B3
C9
6
4
C
62
3
A
c Give characteristics of RIA
2
6
53
8F
52
C
E9
4
3
D4
2
2E
4
B3
E4
9
6
4
2C
2A
CC
3
3A
96
6
62
F
using cookies.
D4
2
5
95
68
49
AE
C4
B3
E9
4
2E
CC
3
F9
e Differentiate between JSON and XML
3A
42
6
2A
52
32
96
68
49
4
9D
E4
C9
95
2C
B
E
63
A
2A
62
53
8F
CC
9C
43
4
32
D
E9
E4
6
5
A4
2C
49
3B
63
9
9
62
8F
CC
[10]
43
D4
32
45
2
E9
36
95
2C
9
3B
E
C4
F9
4
26
A
2
CC
3A
D4
96
5
42
68
2
B3
4
95
49
2E
4
9D
63
F9
3 a Write a JavaScript that reads ten numbers and displays the count of [10]
C
2A
53
C
A
32
96
42
68
8F
95
9
B
E
2E
4
9D
63
36
4
C
53
C
A
32
96
42
26
8F
52
C
E4
43
49
3B
AE
D
B3
62
CC
63
45
2
53
52
9
3
D4
32
68
AE
2E
4
E4
9
A4
2C
B
CC
3
F9
96
26
62
[10]
D4
5
95
68
49
AE
4
B3
E9
E4
2C
CC
3
A
26
A
62
68
52
49
3
9
C9
2C
B
E
2E
3A
6
2A
9C
D4
32
96
68
4
4
5
A4
2C
3B
E
F9
C9
62
43
D4
32
5
68
52
C
2C
49
3B
E
63
F9
C9
message
A
62
3A
D4
32
45
68
2
C
E9
95
49
B
E
63
F9
A
3
CC
3A
32
96
45
68
52
6 a Discuss about various control structures used in PHP. Give suitable [10]
49
3B
AE
2E
C4
63
C9
3A
45
42
52
9C
3B
E
2E
C4
9D
A
A
96
45
42
8F
52
C
43
2E
D
9
4
2C
2A
CC
F9
3A
96
D4
95
8
49
AE
4
36
2C
CC
9
3A
6
8F
52
D4
32
49
4
C9
36
2C
B
*********************
A
6
53
9C
43
4
32
68
A4
2C
B
63
F9
53
43
D4
32
68
E4
2C
B
63
F9
2
53
D4
32
96
68
E4
3B
AE
63
F9
38794
62
32
45
68
E9
3B
2E
63
2A
2AE962E453B326368F9D42C43A49CC95
32
96
45
Join Telegram:-@engineeringnotes_mu
Join Telegram:-@engineeringnotes_mu
3
35
Y8
2
X2
CX
73
Paper / Subject Code: 31926 / Department Optional Course-I: Internet Programming
27
37
5C
82
Y8
35
X2
Join Telegram:-@engineeringnotes_mu
X2
7Y
73
27
37
5C
5C
82
23
Y8
X2
Y
CX
73
27
7
5C
7
3
82
23
8
2
5
73
Y
X
73
Y
X
7
5C
82
7
5C
2
3
3
8
X2
7Y
X2
73
Y
[Duration: 3hrs] [Marks: 80]
27
7
5C
82
23
37
5C
23
Y8
7Y
CX
X2
73
73
7
5C
82
23
5C
2
3
35
8
2
7Y
X
73
Y
CX
27
73
5C
7
82
23
Y8
82
N.B. : (1) Question No 1 is Compulsory.
3
35
2
3
7Y
X
7Y
X
7
73
37
27
(2) Attempt any three questions out of the remaining five.
5C
82
5C
3
82
X2
23
Y8
X2
Y
73
(3) All questions carry equal marks.
7Y
X
7
7
5C
7
5C
2
3
C
2
23
8
2
3
Y8
(4) Assume suitable data, if required and state it clearly.
73
35
Y
X
X2
3
X
7
7
5C
82
27
37
5C
2
3
5C
8
2
7Y
8
2
73
Y
X
Y
CX
73
X
7
7
1. Attempt any FOUR [20]
5C
82
23
7
2
3
5C
82
3
8
2
35
7Y
CX
X2
73
7Y
a Explain <audio> and <video> controls of HTML5 with appropriate example. [05]
CX
73
7
82
23
37
C
82
3
35
82
35
b Explain the Document Object Model in detail with an example. [05]
35
7Y
X
2
Y
CX
27
7Y
CX
27
5C
27
7
23
Y8
3
Y8
c Discuss the advantages of React Js. [05]
23
35
8
2
3
35
X
Y
CX
7
37
CX
27
7
5C
82
7
7
d Explain the different datatypes of PHP. [05]
23
82
X2
3
Y8
35
7Y
X2
3
35
X
7Y
e What are the characteristics of Rich Internet Application (RIA) [05]
7
5C
27
37
5C
2
27
23
C
8
3
Y8
2
73
35
Y
Y8
CX
X2
3
CX
7
7
82
27
37
2
3
37
2. a Explain the working of rowspan and colspan of table when used in HTML [10]
5C
35
8
2
35
7Y
8
2
Y
CX
X2
Y
CX
27
73
with suitable example.
7
7
23
37
82
3
5C
Y8
82
35
35
2
Y
CX
7Y
CX
27
73
37
7
7
2
3
35
Y8
82
X2
23
35
8
2
35
Y
CX
27
7Y
CX
27
7
7
Y8
2
3
Y8
X2
23
35
8
X2
73
35
b Write a short note on JSP. [10]
Y
37
CX
27
37
5C
82
7
37
C
2
X2
Y8
X2
35
7Y
8
X2
73
35
Y
5C
27
4. a Explain how Shadow effect can be applied on Text using CSS with suitable [10]
37
5C
82
27
23
37
5C
Y8
2
73
7Y
Y8
example.
CX
X2
73
CX
73
82
37
82
23
37
5C
b Draw a diagram of Ajax application model and Traditional application web [10]
82
35
35
7Y
2
7Y
CX
X2
7Y
CX
27
27
23
2
23
5C
Y8
23
35
Y8
35
Y8
CX
CX
CX
27
73
37
7
37
37
2
5. a Write a JavaScript code to accept a name and password from user and validate [10]
35
Y8
82
X2
35
8
X2
35
X2
Y
27
7Y
27
37
7
7
5C
5C
2
3
Y8
X2
23
8
X2
73
73
CX
37
5C
82
37
C
82
35
7Y
Y8
X2
73
35
7Y
27
5C
82
27
23
7
5C
23
3
Y8
7Y
Y8
CX
X2
73
b What are the features of React JS and write a code for "Hello World" using [10]
CX
73
37
82
23
37
5C
82
React JS.
35
X2
7Y
CX
X2
7Y
3
27
27
5C
23
5C
3
35
Y8
Y8
X2
CX
73
27
73
37
5C
82
Y8
82
35
X2
73
7Y
27
37
5C
_________________________
5C
82
23
Y8
23
73
7Y
CX
73
CX
37
82
82
23
X2
35
35
7Y
7Y
CX
27
5C
27
23
23
Y8
35
Y8
73
CX
CX
27
37
82
37
35
Y8
X2
35
X2
27
27
37
5C
5C
Y8
Y8
X2
73
73
37
54487 Page 1 of 1
37
5C
82
82
X2
X2
7Y
73
7Y
5C
5C
82
23
23
7Y
CX
73
CX
82
X237Y82735CX237Y82735CX237Y82735CX237Y82735C
23
35
35
The AJAX application model allows for asynchronous data exchange between client and server without reloading the whole page, leading to faster interactions. Traditional models require whole page reloads for interactions, making them slower and less efficient. AJAX provides a more seamless user experience by only fetching or sending necessary data .
HTTP request messages are sent by the client to initiate an action on the server, containing the request line, headers, and optionally a body. The HTTP response message is sent by the server as a reply, containing the status line, headers, and optionally a body. Request messages include method types like GET or POST, while response messages contain status codes like 200 for success or 404 for not found .
JSON is favored over XML due to its lightweight nature, ease of use with JavaScript, and more straightforward data structure without requiring elements or attributes. JSON improves parsing speed and reduces data transmission size, making it more efficient for web applications. It seamlessly integrates with JavaScript, which is commonly used in web development environments .
React JS is characterized by its component-based architecture, virtual DOM management, unidirectional data flow, and the use of JSX for interface design. It enhances performance by minimizing direct DOM manipulation, allows for the efficient update and rendering of components, and provides a simple API for building dynamic user interfaces .
RIAs are defined by their ability to deliver features and functions of traditional desktop applications. They are typically deployed through a browser, require a client machine, and offer interactive interfaces with rich multimedia elements. RIAs use technologies like AJAX and Flash to provide dynamic and responsive user experiences, unlike traditional web applications that are more static .
Form validation in PHP involves checking and sanitizing user inputs to ensure data integrity and security. This process often includes checking for empty fields, correct data formats, and sanitizing inputs to prevent SQL injection or cross-site scripting. For example, a PHP script can check if an email field contains a valid email format using the 'FILTER_VALIDATE_EMAIL' filter, ensuring that incorrect data is not processed or stored .
The servlet architecture follows a request-response programming model, where servlets are managed by containers responding to requests from web clients. The servlet lifecycle includes loading and instantiation, initialization with the 'init' method, request handling via the 'service' method, and termination through the 'destroy' method. This lifecycle ensures that servlets can manage requests efficiently and maintains performance across multiple users .
The <audio> and <video> elements in HTML5 allow direct embedding of multimedia content into web pages, providing rich user experiences without reliance on external plugins. The <audio> element might include controls for play, pause, and volume, while the <video> element can support attributes like 'controls', 'autoplay', and 'loop'. For example, using '<video controls src="movie.mp4">' allows users to view and control video content directly from the browser .
JSX is a syntax extension for JavaScript used in React that allows developers to write HTML elements within JavaScript code. It simplifies the creation of UI components, makes code more readable, and integrates seamlessly into React's rendering process. For instance, in a JSX expression, a '<div>' element can be created and embedded directly in JavaScript logic, contributing to declarative and component-based UI architecture .
Session tracking with cookies involves storing a small file on the client's device with a unique identifier for the session. This identifier enables the server to maintain state and track user interactions across multiple requests. Cookies store session data and provide a seamless user experience by maintaining context throughout a user's interaction with a web application .