0% found this document useful (0 votes)
16 views

OMC-3054-Full Stack Web Development(Elective)

The document is an exam script for a Full Stack Web Development course, containing multiple-choice questions and open-ended questions related to technologies such as ReactJS, Node.js, and MongoDB. Each question is presented with four options, and the correct answers are highlighted in green. Additionally, there are sections for students to answer more in-depth questions about the MERN stack and ReactJS features.

Uploaded by

vedanshmamgain77
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)
16 views

OMC-3054-Full Stack Web Development(Elective)

The document is an exam script for a Full Stack Web Development course, containing multiple-choice questions and open-ended questions related to technologies such as ReactJS, Node.js, and MongoDB. Each question is presented with four options, and the correct answers are highlighted in green. Additionally, there are sections for students to answer more in-depth questions about the MERN stack and ReactJS features.

Uploaded by

vedanshmamgain77
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/ 8

3/6/24, 3:43 PM Exam Script

OMC-3054-Full Stack Web


Development(Elective)
Answers Screen for Mr , SS
Screen 1 of 23

Key:

Emboldened and Green colored words represent the correct response for each
question (not the user's answer).

1. _____ of the following does not belong to the NoSQL database category.

Document store

MySQL
Key-Value store

Graph database

unanswered
0 out of 1

Screen 2 of 23 not submitted

2. _______ of the following is not a phase in the lifecycle of a React component.

Initial and Mounting Phase

Updating Phase

Unmounting Phase

Destroying Phase
unanswered
0 out of 1

Screen 3 of 23 not submitted

3. A _______ in Redux is a centralized place where all the states of the application are stored.

Reducer

Store
Action

Provider

https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 1/8
3/6/24, 3:43 PM Exam Script
unanswered
0 out of 1

Screen 4 of 23 not submitted

4. A synthetic event in ReactJS is ________.

an event that does not bubble up in the DOM hierarchy

an event that ensures that there is a consistent interface for handling events across various
browsers
an event used for debugging purposes

None of these

unanswered
0 out of 1

Screen 5 of 23 not submitted

5. Full Stack Web Development is the ________.

Development of only the front end of a web application

Development of only the back end of a web application

Development of both the front end and backend of a web application


Development of mobile applications only

unanswered
0 out of 1

Screen 6 of 23 not submitted

6. In Node.js, the _____ is a global object that provides methods for writing output messages to standard
output and standard error.

Buffer

Console
Events

None of these

unanswered
0 out of 1

https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 2/8
3/6/24, 3:43 PM Exam Script

Screen 7 of 23 not submitted

7. JSX in ReactJS is ______.

An abstract representation of DOM

JavaScript Library for UI development

Used for server-side rendering

JavaScript XML that allows HTML-like code


unanswered
0 out of 1

Screen 8 of 23 not submitted

8. MongoDB Compass is ____.

a NoSQL database.

a programming language.

a graphical user interface for MongoDB


only compatible with relational databases.

unanswered
0 out of 1

Screen 9 of 23 not submitted

9. Props are ____, which means that they should not be modified directly by the component.

read-write

read-only
write-only

writable

unanswered
0 out of 1

Screen 10 of 23 not submitted

10. ReactJS is used for creating ______.


https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 3/8
3/6/24, 3:43 PM Exam Script

A database

A web application server

A frontend user interface


A Standalone application

unanswered
0 out of 1

Screen 11 of 23 not submitted

11. The commonly used library for routing in ReactJS applications is ____.

angular-router

react-router
redux-router

router.js

unanswered
0 out of 1

Screen 12 of 23 not submitted

12. The purpose of the limit() method in a MongoDB query is ____.

It limits the number of documents returned by the query


It filters documents based on specified criteria

It orders the documents in ascending or descending order

It limits the execution time of the query

unanswered
0 out of 1

Screen 13 of 23 not submitted

13. The two types of form inputs in ReactJS are ______.

Structured inputs and Unstructured inputs

Conditional inputs and Unconditional inputs

Controlled inputs and Uncontrolled inputs

https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 4/8
3/6/24, 3:43 PM Exam Script
None of these

unanswered
0 out of 1

Screen 14 of 23 not submitted

14. To build an application ____ command is used in ReactJS.

npm start

npm run build


npm execute

npm react

unanswered
0 out of 1

Screen 15 of 23 not submitted

15. Using which of the following method, can prevent the default behavior in React?

preventDefault()
avoidDefault()

revokeDefault()

None of these

unanswered
0 out of 1

Screen 16 of 23 not submitted

16. What is the concept of a virtual DOM in ReactJS?

A simulated version of the browser's Document Object Model


A server-side rendering technique

A database management system

A design pattern for component communication

unanswered
0 out of 1

https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 5/8
3/6/24, 3:43 PM Exam Script

Screen 17 of 23 not submitted

17. What is the correct command to create a new React project?

npm create-react-app myReactApp

npx create-react-app myReactApp


npx myReactApp

npm myReactApp

unanswered
0 out of 1

Screen 18 of 23 not submitted

18. What is the declarative way to render a dynamic list of components based on values in an array?

Using the reduce array method

Using the <Each /> component

Using the Array.map() method


With a for/while loop

unanswered
0 out of 1

Screen 19 of 23 not submitted

19. What is the role of a package manager in the MERN stack?

To install and manage project dependencies


To handle user authentication

To manage database operations

None of these

unanswered
0 out of 1

Screen 20 of 23 not submitted

20. Which of the following are the benefits of using modules?


https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 6/8
3/6/24, 3:43 PM Exam Script

Provides a means for dividing up tasks

Provides a means of reusing program code

Provides a means of testing individual parts of a program

All of these
unanswered
0 out of 1

Screen 21 of 23 not submitted

Attempt any five questions from Q1 to Q7 (10 x 5 = 50 Marks)


Q1. A) What is MERN? Explain the architecture of MERN with a suitable diagram. [5 Marks]
B) What are MERN components? Discuss in brief. [5 Marks]

Q2. A) What is ReactJS? List and explain some notable features of ReactJS. [5 Marks]
B) Discuss the typical folder structure of a ReactJS project. [5 Marks]

Q3. A) Explain the role of React and ReactDOM libraries in developing React front-end applications. [5 Marks]
B) What is JSX? Explain the use of functions in JSX using examples. [5 Marks]

Q4. A) What are the class components in ReactJS? Explain with a suitable example code snippet. [5 Marks]
B) What is the significance of states and props in ReactJS? How are they different and when should they
be used? Give appropriate examples. [5 Marks]

Q5. A) Explain with a suitable example rendering of a dynamic list of elements in ReactJS. [5 Marks]
B) What is React Redux? What are the Key Components of React-Redux? Explain in brief. [5 Marks]

Q6. A) Explain the use of REPL in Node.js with suitable examples. [5 Marks]
B) Explain the npm command line commands in Node.js with an example for each. [5 Marks]

Q7. A) What is a collection in MongoDB, and how does it differ from a database? How do you create a
collection within a MongoDB database, and use and delete it? [5 Marks]
B) What is MongoDB Compass? Explain its key features in brief. [5 Marks]

Screen 22 of 23 not submitted

21.
<unmarked> out of 50

Screen 23 of 23

22.
0 out of 0

https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 7/8
3/6/24, 3:43 PM Exam Script

Close Window

https://graphicera.ucanapply.com/admin/ucanassess/paper/finish.php?id=5211705386722&dont_record=true 8/8

You might also like