[go: up one dir, main page]

0% found this document useful (0 votes)
36 views4 pages

Web Technologies Sem 5

The document contains the question papers for the End Semester and Mid Semester Examinations for the course CS3005 Web Technologies at Shiv Nadar University Chennai. It includes various questions related to web development topics such as DOM, React, Node.js, and API testing, with a focus on both theoretical understanding and practical coding skills. Each question is assigned marks and categorized under specific course outcomes and Bloom's Taxonomy levels.

Uploaded by

awesomesashano1
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)
36 views4 pages

Web Technologies Sem 5

The document contains the question papers for the End Semester and Mid Semester Examinations for the course CS3005 Web Technologies at Shiv Nadar University Chennai. It includes various questions related to web development topics such as DOM, React, Node.js, and API testing, with a focus on both theoretical understanding and practical coding skills. Each question is assigned marks and categorized under specific course outcomes and Bloom's Taxonomy levels.

Uploaded by

awesomesashano1
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/ 4

Shiv Nadar University Chennai

End Semester Examinations 2023-2024 Odd


Question Paper
Name of the Program: Common to B.Tech. Al & DS and B.Tech. CSE (IOT) Semester: V
CourseCode & Name: CS3005 WEB TECHNOLOGIES
Regulation 2021
Time: 3 Hours Answer All Questions Maximum: 100 Marks

Q.NO. Questions Marks co


I What does DOM stand for in web development? 1 COI KLI
a. Document of Models
Document Object Model
c. Data Object Management
d. Digital Object Method
2 React uses which architecture for web development? 1 C02 KLI
a. MERN vc c. AJAX d. DOM
3 What does JSX stand for in React? 1 C02 KLI
a. JavaScript Extension
JavaScript XML
c. Java Syntax Extension
d. JavaScript Extendable Markup
4 Node Package Manager (NPM) is used for: 1 C03 KLI
a. Managing database systems
b. Version control with GIT
yK1anaging Node.js packages and dependencies
d. Designing RESTfu1APIs
5 Which of the following is a web service architecture used in web development? 1 C04 KLI
a. SOAP . REST c. JSX d. MVC
import React from 'react'; 5 C02 KL3
function Greeting(props) {
return <p>Hello, {props.name} !</p>;

function App() {

export default App;


Complete the above code snippet to get the following output:
Hello, Alice!
Hello, Bob!
Explain your code.
What type of programming paradigm does react follow? How is it different from 10 C02 KLS
programming paradigms followed in C and C++? Give the react code a simple
counter React counter application. Which part of the code demonstrates the
programming paradigm followed by React. Justify.

Page 1 of 2
6 COI KL4

etitte»

j am learning You are ail


Hello World' HI titeref right?
to code

Analytics
Nerd

Write code snippets to display the children of <body> tag and traverse from
<td> tag to <html> tag. Make necessary assumptions.
7b) What are the web essential technologies? What is the use of each of the 6 COI KL4
technology? Detail their drawbacks and explain how modern technologies overcome
the challenges in the basic web essential technologies.
Compare and contrast between structured data (MySQL) and unstructured data 6 C03 KL4
(MongoDB) in database management.
How can you create and manipulate databases in MongoDB? Provide an example. 6 C03 KL3

Describe the significance of the Node Package Manager (NPM) in Node.js projects 6 C03 KL2
and how it helps manage packages and dependencies.
Discuss how Express is used in conjunction with Nodejs to build web applications 6 _C03 KL2
and explain the importance of the HTTP module in Node.js.
10 a) Describe the steps involved in designing and testing secure RESTful APIs, 6 C04 KL2
emphasizing the use of definite criteria for judgments.
10 b) Explain the role of Postman in API testing and elaborate on its key features and 6 C04 KL2
significance in the development process.
11 a) Differentiate between SOAP and REST in web services and discuss the key features 6 C04 KL4
of RESTful APIs in web development.
11 b) Discuss the importance of the MERN Stack in full-stack development. 6 C04 KL2

12 Explain the role of version control with GIT/GITHUB in web development. 5 cos KL2

13 Describe the steps involved in designing and testing secure RESTful APIs. 5 cos KL2

14 Detail four basic GIT/GITHUB commands useful in version control. Discuss the role 5 cos KL2

of Staging also in version control.


15 Discuss the process of project deployment and maintenance, including the concept of 5 cos KL2

public hosting.
KL —Bloom's Taxonomy Levels
(KLI : Remembering,KL2: Understanding,KL3: Applying, KL4: Analyzing, KL5: Evaluating,KL6: Creating)
CO —Course Outcomes

Page 2 of 2
Shiv Nadar University Chennai
Mid Semester Examinations 2023-2024Odd
Question Paper
Name of the Program: Common to B.Tech. Al & DS and B.Tech. CSE (IOT) Semester: V
CourseCode& Name: CS3005 WEB TECHNOLOGIES
Regulation 2021
Time: 2 Hours Answer All Questions Maximum: 50 Marks

Q.NO. Questions Marks co


1 Identify and describe each of the individualparts in the HTML element 2 COI KL2
below,
<a href=" https://snuchennai.edu.W">SNU Chennai </a>
2 What are CSS selectors? Provide examples of 2 different types of selectors. 2 COI KL2

3 <script> 2 COI KL3

const button document.getElementById("myButton");


button.addEventListener("click", function() {
alert("Button clicked!"); });
</script>
Explain the step-by-step execution of the above code.
4 Define the Document Object Model (DOM) in the context of web 2 COI KL2

development. How does the DOM represent a web page's structure?


2 COI KL4
5 Explain the difference between let, const, and var when declaring variables in
JavaScript.
2 C02 KL2
6 Describe Model-View-Controller (MVC) Architecture.
2 C02 KL3
7 Explain the code given below:
import React, { useState } from 'react';
const CounterComponent () => { const [count, setCount] useState(O);
return ( <div> <p>Counter: {count}</p> <button onClick={() =>
setCount(count + l)}>lncrement</button> <button onClick={() =>
setCount(count - 1)}>Decrement</button> </div> ); };
2 C02 KL2
8 Explain the key features of React JS and its advantages over traditional
JavaScript.
2 C02 KL2
9 Explain two ES6 features that enhance JavaScript development.
2 C02 KL2
[10 Define Components, States, Props, and Hooks in React.
5 COI KL4
11 Which side of the web does form validation take place in modern web
development? Detail the advantages and I potential drawback of validating
forms using the current methodology?
COI KL4
12 Provide an illustration of fetching data from a server using AJAX.
function loadDoc() {

Page I of 2
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState 4 && this.status 200) {
document.getElementById("demo").innerHTML
this.responseText;

xhttp.open("GET", "ajax_info.txt", true);


xhttp.send();

Explain what the function does. Identify and explain each of the AJAX sub-
components in the above code.
13 5 C02 KL4

SHIV NADAR
UNIVERSITY
CHENNAI

Usemame Forgotten your username or


password?
Password Cookies must be enabled in
your browser O
a Remember usemame
Some courses may allow guest

Log in
Log in as a guest

In the above diagram, identify the possible Components. If you are


implementing the above components in a react app, draw the respective
component hierarchy.
14 Give the difference between real DOM and Virtual DOM with a suitable 5 C02 KL4
example.
15 Implement a Semester Fee Submission Form and validate it using JavaScript. 10 COI KL4
Or
C02
What are the possible ways you can implement routing in React? Discuss
when and where do you use each package? Identify the components and give
the steps to implement the below navigation bar.

News Sports Play Money Gaming

KL —Bloom's Taxonomy Levels


(KLI: Remembering, KL2: Understanding, KL3: Applying, KL4: Analyzing, KL5: Evaluating, KL6: Creating)
CO —Course Outcomes

Page 2 of 2

You might also like