© 2019 Dhi Technologies Pvt Ltd. All rights reserved.
Dhi Technologies Pvt Ltd Dhi Technologies Pvt Ltd
  • Home
  • About Us
  • Solutions
  • Blog
  • Careers
  • Contact Us
Dhi Technologies Pvt Ltd

React.js Developer Questionnaire

Welcome to your React.js Questionnaire

The questionnaire needs to be completed in 30 minutes.

Full Name
Email Address
English Fluency Assessment >

This general assessment has been designed to help us decide what level of fluency you possess in English, which is essential for all communication.

I'm from Pune. ____________ is in Maharastra.

Excuse Me. How _________ your last name? K-A-R-A-N

I'd like ________ omelette, please.

My name's Pete and this is Sylvia. ________ doctors from France.

Sorry, ________ Vaibhav. My name's Aman.

I go to work ________ train.

She ________ a dog.

Stephan ________ in our company.

________ they live in London?

When do you play tennis? ________ Mondays.

What time ________ work?

________ two airports in the city.

________ at school last week?

Brad Pitt is a popular actor but I don't like ________ .

We ________ the film last week.

He ________ tennis with me yesterday.

She was born ________ May 6th, 1979.

Where ________ last summer?

Were you at the shop at 5 p.m. yesterday? No, I ________ .

Excuse me, ________ is the T-shirt? It's 699/-

React.js Developer Questionnaire >

These questions are to assess your knowledge as a React.js Developer.

Which of the following method does not represent the non-mutation?

Select the appropriate location for inclusion of a React common header component

Which attribute set the text direction?

What shows in the paragraph when a user clicks the button?

class MyButton extends React.Component {
    constructor() {
        super();
        this.state = {
            x: 5
         };
    }
    render() {
        return (
           


               

{this.state.x}


               
           

        );
    }
    handleClick = () => {
        this.state.x = 10;
    }
}
ReactDOM.render(, document.getElementById("root"));

Which React object name sets up the application routes

Which feature related to data flow is provided by Flux, post-installation

In JavaScript what does x===y statement implies?

Which is not valid data type in Javascript?

What is the output?

int a==2;
int b=4;
int ans=a+b;
print(ans);

What will the following code output to the console when a user clicks the button?

class MyButton extends React.Component {
    state = {
        a: 5,
        b: 10,
        c: 15
    };
    render() {
        return (
           
        );
    }
    handleClick = () => {
        this.setState({
            a: 20,
            c: 25
        });
        console.log(this.state);
    }
}
ReactDOM.render(, document.getElementById("root"));

Which one of the following is correct output for the following code?

var obj = {
length:20,
height:35,
}
if('breath' in obj === false) {
obj.breadth = 12;
}
console.log(obj.breadth);

What will be the output of the following code?

function getHeightType() {
  var height = 123.56;
var type = (height>=190)?"Taller":"Little short";
return type;
}

var heightType = getHeightType();
console.log(heightType);

Which of the following selector selects all elements of E that have the attribute attr that end with the given value?

Which of the following selector selects an element that has no children?

What shows in console when a user clicks the button?

class MyButton extends React.Component {
    state = {
        x: 1,
        y: 2
    };

    render() {
        return (
           
        );
    }
    handleClick = () => {
        this.setState({
            x: 10,
            y: 20
        }, () => {
            console.log(this.state);
        });
    }
}
ReactDOM.render(, document.getElementById("root"));

Which of the following selectors selects adjacent siblings?

What will be the output of below mentioned code snippet?

p strong {background-color: yellow;}

Review the following JavaScript code and pick the correct options:

Assume that the API returns a successful 200 response code and a JSON object as the response body. 

const axios = require("axios");

async function getData() {
const result = await axios.get(
"https://api.coindesk.com/v1/bpi/currentprice.json"
);
return result;
}

let a = [];
for (let i = 0, i < 10, i++) {
const result = getData();
a.push(result);
}

console.log(a);

How do you access a function getData() from a h1 element in JSX?

Considering the code below, how many times will the 'Hello' message be displayed on the console?

const App = (props) => {
    const [counter, setCounter] = useState(0);
    useEffect( () => {
            console.log('Hello');
            setCounter(1);
        },
        [props.visible]
    );
    return

{counter}
;
};

Which method in a React Component should you override to stop the component from updating?

How do you handle passing through the component tree without having to pass props down manually at every level?

The CSS property used to set the distance between the borders of the adjacent cells in the table is

Which of the following is the correct syntax to select the p siblings of a div element?

Add description here!

The primary purpose of the array map() function is that it

When might you use React.PureComponent?

Which if the following CSS function allows us to perform calculations?

What will happen if we execute the following code of JavaScript?
vartensquared=(function(x){return x*x;}(10));  
If the following lines of code differ, what is the difference?

Code A

!!(obj1 && obj2);  


Code B

(obj1 && obj2);
What will be the correct output of the following JavaScript code - Math.atan2(8,4)?

The CSS property used to specify the order of flex item in the grid container is

What is a mixin?

What should the console read when the following code is run?

const [, , animal] = ['Horse', 'Cow', 'Cat'];
console.log(animal);

Dhi Technologies

Founded in 2018, Dhi Technologies develops smart, secure, innovative solutions for the IoT industry, with greater speed and accuracy to enable scalability,  flexibility and profitability.

Quicklinks

  • Home
  • About Us
  • Solutions
  • Blog
  • Careers
  • Contact Us

Subscribe to newsletter

© 2022 Dhi Technologies Pvt. Ltd. All rights reserved.