[go: up one dir, main page]

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

Bis601 Simp Paper B

The document outlines a series of questions for a BIS601 TIE SIM exam based on a 22 scheme, covering various topics in JavaScript, React, Express.js, MongoDB, and Webpack. It includes modules on JavaScript fundamentals, React components and state management, Express.js routing and REST API architecture, MongoDB operations, and DOM manipulation. Each module contains specific questions aimed at assessing knowledge and understanding of the respective technologies and concepts.

Uploaded by

Sri Charitha
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)
10 views4 pages

Bis601 Simp Paper B

The document outlines a series of questions for a BIS601 TIE SIM exam based on a 22 scheme, covering various topics in JavaScript, React, Express.js, MongoDB, and Webpack. It includes modules on JavaScript fundamentals, React components and state management, Express.js routing and REST API architecture, MongoDB operations, and DOM manipulation. Each module contains specific questions aimed at assessing knowledge and understanding of the respective technologies and concepts.

Uploaded by

Sri Charitha
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

BIS601 TIE SIMP Questions(paper b)- based on 22 scheme

Module 1

1. Differentiate between var, let, and const in JavaScript with examples.


( Include scope, hoisting, and reassignment rules.)

2. Explain primitive vs non-primitive data types in JavaScript with examples for


each.

3. What are JavaScript statements? Describe different types of statements with


code examples:

o Variable declarations

o Assignment

o Expression
o Return

4. Describe the different types of loops in JavaScript with syntax and use cases.
(Include for, while, do...while, for...of, and for...in.)

5. Explain conditional statements (if, else if, switch) in JavaScript with examples.

6. Write and explain different types of JavaScript functions:

o Function declaration

o Function expression

o Arrow function

o Default parameters

7. What are arrays in JavaScript? Discuss:


o Declaration

o Array methods (push, pop, slice, map, filter)

o Iteration techniques (for, forEach)

8. Explain string operations in JavaScript with examples.


(For full marks explain methods like toUpperCase(), slice(), replace(), and use of
template literals.)

9. What are objects in JavaScript? Describe how to declare, access, update, and
delete properties. Also explain how to define methods within objects.
Module 3

1. What is the MERN stack? Describe each component (MongoDB, Express, React,
Node.js) and explain how they work together to build full-stack applications.

2. Explain the concept of a Server-less Hello World in React.

3. What is a React Class Component? Describe its structure, use of render() method,
state management, and lifecycle methods like componentDidMount().

4. Describe the CRUD functionality in the Issue Tracker application

5. What is component composition in React? How can large UIs be broken into fine-
grained, reusable components? Explain with an example.

6. How is data passed using props in React? Explain how to pass and access different
data types, including style objects and component-specific properties.

7. What is the difference between passing data using props and using children in
React? Explain their implementation with example.

8. How is dynamic composition achieved in React? Describe how to render


components from an array using .map(). Why is the key attribute important?

9. Explain how to structure a component to render a table with multiple issue rows
dynamically..

Module 4

1. What is React State?Explain how state is initialized, updated and rendered


dynamically. Include examples from the Issue Tracker app.

2. Describe the concept of “Lifting State Up” in React.Why is it necessary, and how
is it implemented using parent and child components

3. Differentiate between State and Props? When should each be used? Explain with
examples and use cases from the component hierarchy.

4. What are Stateless Components in React? Compare them with class components.
What are the benefits and when should they be used?

5. Explain how React handles Event Handling in forms..

6. What is Express.js? Describe basic routing, route parameters, middleware, and


how static files are served using express.static().

7. Explain the REST API architecture.How are CRUD operations mapped to HTTP
methods? What are the limitations of REST in modern web applications?
8. Compare REST and GraphQL. What problems in REST does GraphQL solve?
Explain with examples.

9. How do you define and use a custom scalar type in GraphQL? Explain how
GraphQLDate was implemented and used for handling date fields in the Issue
Tracker app.

Module 5

1. What is MongoDB? Describe its document-based structure, flexibility, and


advantages over relational databases.

2. Explain MongoDB CRUD operations with examples. Explain usage of


insertOne(), find(), updateOne(), deleteOne() and aggregation stages

3. How is data read and written from MongoDB using Node.js? Explain
MongoClient connection, async/await patterns, and how insertOne() and find()
are used.
4. What is schema initialization in MongoDB?Describe steps like clearing
collections, inserting sample data, and creating indexes for performance.
5. How are unique IDs generated in MongoDB for issues? Explain the use of a
counters collection and methods to maintain auto-increment behavior.

6. How does MongoDB handle aggregation? Describe different pipeline stages with
examples

7. What is Webpack? Explain how Webpack bundles JavaScript files, handles


modules, and supports development vs production modes.

8. How does Webpack enable Hot Module Replacement (HMR)? Describe the need
for HMR, steps to configure it in webpack.config.js, and benefits over manual
refresh.

9. Explain Webpack optimizations for production.

Module 2

1. What is the Document Object Model (DOM)? Explain the DOM tree structure and
how JavaScript can interact with it. Include a diagram with the answer

2. Describe the different ways to select DOM elements using JavaScript and jQuery?
Explain getElementById, querySelector, querySelectorAll, $() etc.

3. Explain how to modify and manipulate DOM elements:

o Changing content and attributes


o Adding/removing nodes

o Changing styles

o Example: innerHTML, textContent, .attr(), .css()

4. What are DOM nodes? Describe different node types and how to access, create,
insert, and remove them.

5. What is an event in JavaScript? Describe how to bind and unbind events using
JavaScript

6. Discuss different types of browser events with examples:

o Mouse events

o Keyboard events

o Form events

o Window and media events

o Clipboard and touch events

7. What is event delegation?Explain how it works, why it is useful for dynamic


content, and how to implement it using both JavaScript and jQuery.

8. Explain event propagation in JavaScript (bubbling and capturing).How can you


prevent bubbling using stopPropagation()? Give examples with parent-child elements.

9. How can you bind multiple events to the same or multiple elements?Explain with
examples in both JavaScript and jQuery, and compare inline handlers vs
addEventListener.

You might also like