1) What is React.js? a) A JavaScript framework for building user interfaces b) A server-side programming language c) A database management system d) A front-end CSS framework 2) Which of the following command is used to create react-js-app? a) npm install create-react-app b) npx install create-react-app -g c) npx create-react-app appname d) install – l create-react-app 3) What is the purpose of the "key" prop in React? a) It determines the visual styling of a component. b) It uniquely identifies a component in an array of components. c) It specifies the route for navigation within a React application. d) It defines the data type of a component's prop. 4) What is the state of React class component? a) A JavaScript method for sorting arrays. b) A CSS class used for component styling. c) A React component's initial render method. d) A built-in object that stores component data. 5) What is the purpose of the React Router library? a) To handle HTTP requests in React applications. b) To manage and synchronize component states. c) To manage navigation and routing in React applications. d) To optimize the performance of React applications. 6) What is the purpose of Redux in React applications? a) To handle form validation and submission. b) To manage and synchronize component states. c) To define the expected data types of component props. d) To create reusable UI components. 7) Which is the common debugging techniques? a) Check line by line b) Breakpoints c) Execute all functions at once d) All of the above 8) A state in React.js is also known as? a) The internal storage of the component b) The external storage of the component c) Permanent storage d) All of the above 9) React.js covers only the view layer of the app. a) True b) False 10) Identify the smallest building block of React.JS a) Props b) Element c) Component d) None of the above
0%
ReactJS Quiz
共享
共享
共享
由
Adillanzri
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?