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

Skor Tablosu

Görsel stil

Seçenekler

Şablonu değiştir

Otomatik olarak kaydedilen geri yüklensin mi: ?