Skip to content

Category Archives: Web technologies Questions

What is the maximum number of columns in the bootstrap grid system? (A) 3 (B) 12 (C) 9 (D) 15 Answer: (B)Explanation: The total number… Read More
How we can fix the width of the container in Bootstrap ? (A) .container-fixed (B) .container-fluid (C) .container (D) .container-default Answer: (C) Explanation: In bootstrap,… Read More
From the below code snippets, which of the following is correct about props that object is available to the component ? <Message {...props} /> (A)… Read More
Which of the following is true about the sequence of flux concept ? (A) Store->Dispatcher->View->Action (B) Action->Dispatcher->Store->View (C) View->Store->Dispatcher->Dispatcher (D) All of the above Answer:… Read More
Which of the following is the correct use of useLayoutEffect ? (A) Optimize for all devices (B) Complete all the update (C) Change the layout… Read More
Which of the following is the output wrapped in {} braces ? let output = 'Geeks For Geeks'; const element = {output}; (A) JSX Wrapper (B)… Read More
What is the output of the following code ? handleChange(e){ this.setState({[e.target.id]: e.target.value }) } (A) JSX code string (B) Computer property name (C) Dynamic key… Read More
Which of the following is true about the catch the JavaScript error ? (A) error helpers (B) error catchers (C) error bosses (D) error boundaries… Read More
Which of the following react components act like function with respect to props ? (A) Recursive functions (B) Monads (C) Pure functions (D) Higher-order functions… Read More
What happens when a property is assigned to a method ? (A) get() (B) destructor() (C) constructor() (D) init() Answer: (B) Explanation: The constructor() is… Read More
What is the correct way to set the default value for uncontrolled components ? (A) Value property (B) DefaultValue property (C) Default property (D) Assigns… Read More
Which of the following is needed to change the code for compilation? class date extends React.Component { render() { return <h1>Todays Date is : {this.props.date}</h1>;… Read More
Which of the following is a way for webpack command to do in React.js? (A) Transpiles all of the javaScript into one (B) local development… Read More
What is the following is the use of ref in React.js ? (A) for direct access to the DOM node (B) for reference to another… Read More
Which of the following is used to make data in-class components ? (A) componentWillMount (B) constructor (C) componentDidMount (D) componentWillReceiveProps Answer: (C) Explanation: The componentDidMount… Read More

Start Your Coding Journey Now!