Embedded Developer Interview Questions

4,752 embedded developer interview questions shared by candidates

1. Finding First N prime numbers. 2. You are given a float variable in which a real number is stored. You need to find the numerator and denominator of That real number. The maximum number of digits after the decimal point in this real number will be 5. You can not use any type of inbuilt functions in this. Example: Input - 0.4 Output - Numerator: 2 Denominator: 5 NOTE: Our output should be in the most simplified form. E.g. For the above example we can not provide output 4 and 10. 2 and 5 will be the only unique answer for the above example. 3. Find the Transpose matrix of a given square matrix of dimension 5x5. 4. Given a parentheses string, return the minimum number of parentheses we must add to make the resulting string valid. Ex 1. Input :- “()))((” Output :- 4 Explanation : Here we need to add 2 parentheses at the beginning and 2 at the end so that our resultant string would be “((()))(())” Ex 2. Input :- “(())” Output :- 0 - Here It is complete parentheses so that output will be 0. 5. Find the number of trailing zeros in the factorial of number N.
avatar

Embedded Software Engineer

Interviewed at Meditab Software

3.3
Nov 18, 2023

1. Finding First N prime numbers. 2. You are given a float variable in which a real number is stored. You need to find the numerator and denominator of That real number. The maximum number of digits after the decimal point in this real number will be 5. You can not use any type of inbuilt functions in this. Example: Input - 0.4 Output - Numerator: 2 Denominator: 5 NOTE: Our output should be in the most simplified form. E.g. For the above example we can not provide output 4 and 10. 2 and 5 will be the only unique answer for the above example. 3. Find the Transpose matrix of a given square matrix of dimension 5x5. 4. Given a parentheses string, return the minimum number of parentheses we must add to make the resulting string valid. Ex 1. Input :- “()))((” Output :- 4 Explanation : Here we need to add 2 parentheses at the beginning and 2 at the end so that our resultant string would be “((()))(())” Ex 2. Input :- “(())” Output :- 0 - Here It is complete parentheses so that output will be 0. 5. Find the number of trailing zeros in the factorial of number N.

Viewing 3421 - 3430 interview questions

Glassdoor has 4,752 interview questions and reports from Embedded developer interviews. Prepare for your interview. Get hired. Love your job.