🧪 Ext JS MCQ Quiz Hub

React JS MCQ

Choose a topic to test your knowledge and improve your Ext JS skills

1. In React what is used to pass data to a component from outside?




2. In which directory React Components are saved?




3. At the highest level, React components have lifecycle events that fall into




4. How many elements does a react component return?




5. How do you write an inline style specifying the font-size:12px and color:red; in JSX




6. What is a good use case for using a function while rendering a dynamic list of items




7. What is a good use case for using a function while rendering a dynamic list of items




8. Which of the following is correct syntax for a button click event handler, foo?




9. Which method is not part of ReactDOM?




10. Which of the following API is a MUST for every ReactJS component?




11. What is a controlled input element?




12. What is the second argument for setState useful for?




13. What happens when the following render() method executes?<br /><br /> render(){<br /> let langs = ["Ruby","ES6","Scala"]<br /> return (<div><br /> {langs.map(it => <p>{it}</p>)}<br /> </div>)<br /> }<br />




14. What are the two ways that data gets handled in React?




15. Everything in react is




16. What function allows you to render React content in an HTML page?




17. What is JSX?




18. What function can be used to update state?




19. Who Develop React.js?




20. When it is recommended to pass this.setState as a function instead of an object?




21. Which of the following below act as the input of a class-based component?




22. What is state in React?




23. Life cycle methods of a components fall under following categories?




24. One can define default values for properties, props, using which of the following method?




25. What is the DOM?




26. Variabel default React JS




27. There are two types of components in React JS




28. Axios is an __________?




29. .............. helps react for keeping their data unidirectional.




30. Who is the father of React.js?




31. Mit welchem Befehl starten wir die React App?




32. What is ReactJS?




33. React is for building _________




34. What is Axios in Node?




35. React.Js is a __________?




36. React.Js was created by ___________?




37. Which concept includes OOP's?




38. What is React.Js used for?




39. What was the Output?const [data , setData] = useState("Alex");console.log(data);




40. Perulangan dalam React JS dapat dilakukan dengan menggunakan




41. Penulisan kode yang benar untuk array function




42. Salah satu jenis Router dalam React JS




43. _____ Home from './components/Home';Lengkapi Code di atas




44. React JS memiliki sintaks ekstensi javascript yang disebut dengan




45. React JS merupakan




46. Penulisan Sintaks dengan ekstensi Java Script yang benar adalah




47. Untuk menghubungkan Back-End dan Front-End diperlukan penggunaan __




48. Variabel yang dapat dipanggil di dalam komponen lain dalam React JS dan juga menghubungkan Komponen satu dengan yang lain