Be Computer Engineering Aids Semester 5 2024 May Web Computing Rev 2019 C Scheme
Be Computer Engineering Aids Semester 5 2024 May Web Computing Rev 2019 C Scheme
2E
Y3
X5
5
E2
BX
Paper / Subject Code: 48892 / Web Computing
5E
25
EB
35
June 5, 2024 02:30 pm - 05:30 pm 1T01875 - T.E. Computer Science & Enginering (Artificial
2E
Y3
X5
5Y
E2
BX
Intelligence & Machine Learning) (Choice Based) (R-2019 ’C’ Scheme) SEMESTER - V / 48892 - Web
5E
25
EB
35
52
Computing (3 hours) Total Marks: 80
2E
Y3
X5
Y
E2
BX
QP CODE: 10057538
E
25
5
EB
35
35
52
2E
Instructions to the candidates:
E2
Y
BX
X
5E
1. Question No. 1 is compulsory
25
25
B
35
2E
E
Y3
5
2. Attempt any three questions from remaining five questions
X5
5Y
E2
Y
X
E
25
3. Assume suitable data if necessary and justify the assumptions
5
EB
B
5
5
2
2
2E
Y3
Y3
X5
X5
X5
4. Figures to the right indicate full marks
2
5E
E
5
5
EB
EB
EB
35
52
52
3
E2
2
X
X
Q1 Answer the following questions.
5E
5E
25
5
B
EB
35
2
E
Y3
5
X5
A Explain how DNS works and the process it follows to resolve domain names to IP 5Y 05
E2
5Y
E2
E2
X
25
B
B
addresses.
35
35
52
52
2E
2E
Y3
X5
5Y
B Differentiate between JSON and XML. Discuss their use cases and advantages in 05
5Y
BX
BX
E
E
5
EB
35
web development.
35
52
52
52
2E
2E
Y
5Y
E2
BX
BX
C Illustrate with an example how to handle form validation in JavaScript, including 05
BX
5E
5E
5
5
2
52
client-side validation for an email and password field.
2E
2E
Y3
Y3
3
5
E2
5Y
X
X
D Create a simple React application that fetches data from an external API and 05
5E
5E
25
25
EB
EB
35
2
displays it in a list format. Describe the steps involved.
E
Y3
Y3
5
X5
X5
E2
E2
E2
BX
25
25
25
EB
EB
35
35
35
E
Q2 A Discuss the asynchronous nature of JavaScript and how Promises and async/await 10
5
X5
E2
E2
E2
5Y
BX
25
EB
35
35
35
52
E
2E
B Explain the concept of state and props in React. How do they differ, and how are they 10
5
5
5Y
E2
5Y
5Y
E2
BX
BX
E
used in components? EB
35
5
52
52
2
E
2E
Y3
Y3
X5
5Y
E2
2
X
5E
5E
5
5
EB
EB
Q3 A Compare and contrast the use of classes and inheritance in JavaScript with functional 10
B
35
52
52
52
2E
3
Y3
programming paradigms. Provide examples.
E2
5Y
Y
X
X
5E
5E
25
25
EB
EB
EB
B Create a simple Express application that integrates with React to display a list of 10
35
52
3
X5
X5
5Y
E2
5Y
items fetched from a server. Describe the steps involved and provide code snippets.
E2
5Y
E2
BX
EB
35
35
5
52
52
52
2E
2E
A Explain how React’s useEffect hook can be used to perform side effects in
5Y
5Y
5Y
E2
BX
BX
BX
Q4 10
5E
E
35
35
52
52
52
2E
2E
Y3
5Y
5Y
X
BX
BX
5E
5E
25
EB
52
B Create a web page using HTML and JavaScript where an image moves across the 10
2E
E
Y3
Y3
X5
5
E2
E2
X
BX
screen from left to right continuously. Provide the HTML and JavaScript code and
5E
5
25
EB
EB
35
35
52
2E
X5
5Y
E2
E2
5Y
BX
5E
25
EB
5
35
52
52
2E
Y3
Y3
X5
E2
BX
BX
Q5 A Describe the Event Loop in Node.js. How does it handle asynchronous operations? 10
E
25
25
25
EB
35
35
Provide an example.
2E
5
X5
X5
5Y
E2
5Y
BX
5E
B Explain how React Router can be used to create a single-page application (SPA). 10
EB
EB
5
2
52
2E
Y3
Y3
E2
E2
X
E
25
25
EB
EB
35
35
Y3
5
X5
E2
5Y
BX
5E
25
25
52
2E
Y3
Y3
5
BX
E
5
25
35
52
2E
2E
5
5Y
5Y
BX
BX
E
5E
_________________
35
52
52
2E
2E
Y3
5Y
BX
BX
5E
25
35
52
2E
2E
X5
5Y
BX
5E
EB
35
52
2E
3
5Y
E2
BX
5E
25
35
52
57538 Page 1 of 1
2E
3
X5
5Y
Y
BX
5E
25
EB
2
3
X5
X5
5Y
E2
EB
EB
X525Y35E2EBX525Y35E2EBX525Y35E2EBX525Y35E2EB
35
52