The document contains a series of questions related to ReactJS, covering core concepts, components, props, state, events, and JSX. It includes both short and descriptive questions aimed at understanding the fundamentals and practical applications of React. Additionally, it features scripting questions that require coding examples to demonstrate knowledge of React components and functionality.
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 ratings0% found this document useful (0 votes)
3 views3 pages
Unit 2
The document contains a series of questions related to ReactJS, covering core concepts, components, props, state, events, and JSX. It includes both short and descriptive questions aimed at understanding the fundamentals and practical applications of React. Additionally, it features scripting questions that require coding examples to demonstrate knowledge of React components and functionality.
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/ 3
Unit 2
Short Question
1. What are some core concepts of React?
2. How can React be used with HTML? 3. Can components be nested within other components in React? 4. What are Props and how are they used to pass data? 5. What are Class Components in React? 6. How can conditional statements and operators be used in Class Components? 7. How can Events be added to Class Components? 1. What is ReactJS? 2. Why ReactJS is Used? 3. How Does ReactJS work? 4. What are the features of ReactJS? 5. What is JSX? 6. How to create components in ReactJS? 7. What are the advantages of ReactJS? 8. Differentiate between real DOM and virtual DOM? 9. What is props? 10. How to pass object as props? 1. What is JSX? 2. What do you mean by Virtual DOM in React? 3. What is React.js? 1. what is react? write the objective of react js. 2.what is virtual DOM? how it is used by react js for application? 3. what do you mean by JSX? 4. Which method is used in react to render the web page? write its syntax. 5.how many types of components can be design in react js? give the syntax for it. 6.Explain react and react DOM library file's usage for react js app. 7. what do you mean by component in react js. explain with example. 8.what is props? 9. How to pass data through props in react js component? 10. Explain parent child relationship through props in react js. 11. Explain the uses of conditional statement in react js component. 12. How to create list in react js? 13. write the react component to read and then display each element of array as a output. 14. Explain Map method using key to read the data. 15. what is react Event? how to add it in a component? 16. How to pass arguments during Event handling in react js? 1. List out advantages of React. 2. What are components in React JS? List out them. 3. Explain operators available in React JS. 4. Explain Ternary/ Conditional operator in React. 5. What is List? 1. List features of ReactJS. 2. What is props in ReactJS? Give example. 3. What is components in React? 1. What is React, and why is it popular for building user interfaces? 2. What is state in react? 3. How can you handle events in React components? 4. List all the operators in React. 5. Define Props 6. Which function differentiate the Class Component and Function Component? 7. Which is better to use class component or function component?
Descriptive Question
1. What are the core concepts of React?
2. How can React be used with HTML? 3. Can components be made within components in React? How? 4. How can data be passed through props in React? 5. What is a React class component and how is it different from a functional component? 6. How can conditional statements and operators be used in React class components? 7. What are React events and how are they added to components? 8. What are the different types of events that can be passed through React components? 1. Explain ReactJS components 2. How to pass data through props 3. Explain the concept of ReactJS 4. explain Conditional statements & Operators 5. write a short note on class components 6. Explain events in ReactJS 7. Write a short note on list in ReactJS 1. What is components in React? Explain types of components of React with example? 2. How to pass data through Props in react? 3. Explain React Class Component in detail with example. 4. Explain component within component in react. 5. Explain react conditional Statements/ conditional rendering? 6. Explain react events. How to binding/adding events? 7. How to pass arguments to an event in React? 8. Explain react event object.
1. what is jsx? how to handle jsx in react js.
2.write a short note on react components and their types. 3.Differentiate function component and class component. 4. what do you mean by props in react? how one can use props in functional as well as class component? 5.write down the code in react to print hello world. 6.compare react props and react state. 7. write a short note on react state. 8. How to handle the react events with code. Explain any two method to bind react event. 9.List out conditional statements and operators in react js. Explain any one of them with syntax. 10. Explain map method to list out the product detail in a react.
Explain about React Components.
Explain Props in React with example. Explain State with example in ReactJS. Explain how to do Conditional Rendering in React JS. What is an event in React? How do you create it? Explain event with an example. 1. What is components in ReactJS? Explain its types with examples. 2.Write a note on conditional statements in ReactJS. 3. How events are handled using ReactJS? Explain with example. 4. Write a note on React Lists. 1. Describe the virtual DOM and its role in React. 2. Compare React's virtual DOM with the actual DOM. What are the advantages of using a virtual DOM? 3. What are React props, and how do they facilitate data passing between components? 4. Describe the process of rendering multiple React components within a single HTML page. 5. What is component in react? List and explain types of components and explain any one with example. 6. What are React props, and how do they facilitate data passing between components? 7. What is conditional rendering in React. Provide examples of conditional rendering techniques.
Scripting Question
1. Give example of class component.
2. Give example of function component. 3. Write a code using React JS which displays “Hello World”. 4. Create a step to create react application which will load component MyComponent