Trainee Engineer Interview Questions

28,743 trainee engineer interview questions shared by candidates

1st round- HR round with basic introduction of yourself and java OOPS concepts mainly inheritance, Constructor, Difference b/w C and java. Reverse an array in C,C++ or Java. 2nd round- Technical Pen and Paper round- 2 questions 1. Print Pattern Like Diamond, Play button. 2. Find pair of elements of an Array whose sum is divisble by K. Print the count of pairs. Hint: you have to assume any array like [2,3,6,4,5] and K=4 , so there can be one pair like [2, 6]= 8 which is divisible by 4. Another pair (3,5).
avatar

Graduate Engineer Trainee

Interviewed at Systenics Solutions

2.9
Nov 1, 2022

1st round- HR round with basic introduction of yourself and java OOPS concepts mainly inheritance, Constructor, Difference b/w C and java. Reverse an array in C,C++ or Java. 2nd round- Technical Pen and Paper round- 2 questions 1. Print Pattern Like Diamond, Play button. 2. Find pair of elements of an Array whose sum is divisble by K. Print the count of pairs. Hint: you have to assume any array like [2,3,6,4,5] and K=4 , so there can be one pair like [2, 6]= 8 which is divisible by 4. Another pair (3,5).

Have the function OverlappingRectangles (strArr) read the strarr parameter being passed which will represent two rectangles on a Cartesian coordinate plane and will contain 8 coordinates with the first 4 making up rectangle 1 and the last 4 making up rectange 2. It will be in the following format: ["(0,0),(2,2),(2,0), (0,2),(1,0),(1,2), (6,0),(6,2)"] Your program should determine the area of the space where the two rectangles overlap, and then output the number of times this overlapping region can fit into the first rectangle. For the above example, the overlapping region makes up a rectangle of area 2, and the first rectangle (the first 4 coordinates) makes up a rectangle of area 4, so your program should output 2. The coordinates will all be integers. If there's no overlap between the two rectangles return 0.
avatar

Software Developer Trainee

Interviewed at Amiti Software Technologies

3.7
May 5, 2023

Have the function OverlappingRectangles (strArr) read the strarr parameter being passed which will represent two rectangles on a Cartesian coordinate plane and will contain 8 coordinates with the first 4 making up rectangle 1 and the last 4 making up rectange 2. It will be in the following format: ["(0,0),(2,2),(2,0), (0,2),(1,0),(1,2), (6,0),(6,2)"] Your program should determine the area of the space where the two rectangles overlap, and then output the number of times this overlapping region can fit into the first rectangle. For the above example, the overlapping region makes up a rectangle of area 2, and the first rectangle (the first 4 coordinates) makes up a rectangle of area 4, so your program should output 2. The coordinates will all be integers. If there's no overlap between the two rectangles return 0.

Viewing 651 - 660 interview questions

Glassdoor has 28,743 interview questions and reports from Trainee engineer interviews. Prepare for your interview. Get hired. Love your job.