AIRBUS
Maarga Systems Interview Questions and Answers
Q1. convert class based component to functional component
To convert a class based component to functional component, we need to remove the class syntax and use hooks instead.
Remove the class syntax and replace it with a function
Remove the render method and return the JSX directly
Replace this.props with props
Use useState hook to manage state
Use useEffect hook to manage lifecycle methods
Q2. How ADC(Analog to Digital Converter) works?
ADC converts analog signals into digital data by sampling the input signal at regular intervals.
ADC samples the input signal at regular intervals
It quantizes the sampled values into discrete digital values
The resolution of ADC determines the number of possible digital values
Common types of ADC include successive approximation ADC and delta-sigma ADC
Q3. React server side vs client side
React server side rendering generates HTML on the server while client side rendering generates HTML on the browser.
Server side rendering is better for SEO and initial page load time
Client side rendering is better for interactivity and dynamic content
Server side rendering requires more initial setup and configuration
Client side rendering can be easier to develop and maintain
Q4. How to reverse an array?
To reverse an array of strings, iterate through the array and swap elements from start to end.
Iterate through the array using two pointers, one starting from the beginning and the other from the end.
Swap elements at the two pointers until they meet in the middle.
Repeat until all elements are swapped and the array is reversed.
Q5. Difference between RISC and CISC?
RISC (Reduced Instruction Set Computing) has a smaller set of simple instructions, while CISC (Complex Instruction Set Computing) has a larger set of complex instructions.
RISC processors have simpler instructions that can be executed in a single clock cycle, making them faster.
CISC processors have more complex instructions that may require multiple clock cycles to execute.
RISC architectures typically have a smaller chip size and consume less power compared to CISC architectur...read more
Q6. Explain OOPS and functional programming
OOPS focuses on objects and classes, while functional programming focuses on functions as first-class citizens.
OOPS involves concepts like inheritance, encapsulation, and polymorphism.
Functional programming emphasizes immutability, pure functions, and higher-order functions.
In OOPS, data is typically stored in objects with methods to manipulate the data.
Functional programming avoids side effects and mutable state.
Example of OOPS: Java, C++, Python
Example of functional program...read more
Interview Process at Maarga Systems
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month