
Lecture 07 (reacts)
Authored by Dani Assi
Computers
University
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is React?
A database system
A JavaScript library for building user interfaces
A programming language
A backend framework
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key feature of React?
Direct DOM manipulation
SQL integration
Virtual DOM
File storage system
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Virtual DOM do?
Deletes HTML elements
Updates the whole DOM every time
Updates only the changed parts of the DOM
Stores data permanently
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
React components can be described as:
Only HTML elements
Database tables
CSS styles
Reusable building blocks for UI
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the inputs to a React component?
HTML and CSS
Props and State
Functions only
Variables only
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between state and props?
Props can be changed, state cannot
State is read-only, props are editable
Props are read-only, state can change
No difference
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to update state in a React class component?
this.updateState()
this.changeState()
this.setState()
this.modifyState()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?