Engineer Interview Questions

935,577 engineer interview questions shared by candidates

1) Write a program to find largest number in your mobile number if I stored number in long number = 7702210731? 2) Write a program for count the charters in string “MALAYALAM” (how many time M, A, L, Y repeated)? 3) What is encapsulation and write the program for it? 4) What is interface? 5) What are the listeners in TestNG? 6) Write a program for matrix [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] 7) Class Parent { Method1(); Method2(); } Class child extends Parent { p.method1(); p.method2(); p.method3(); } Public static void main() { Child c = new parent(); Parent p = new child(); } IN the above code p.method3() will execute (or) not? And can we write the child c = new parent(); ? 8) Program for taking the screen shot ? 9) In TESTNG I have 5 test methods (not before and after) and how they will execute? And if I want 1 and 3 methods need to execute first and 2,4 and 5 are need to execute second then how we will write the code? 10) For the above question he want to 1 and 3 as regression suite and 2, 4 and 5 are sanity suite then how you will implement?
avatar

QA Automation Engineer

Interviewed at GSPANN Technologies

3.9
Apr 17, 2017

1) Write a program to find largest number in your mobile number if I stored number in long number = 7702210731? 2) Write a program for count the charters in string “MALAYALAM” (how many time M, A, L, Y repeated)? 3) What is encapsulation and write the program for it? 4) What is interface? 5) What are the listeners in TestNG? 6) Write a program for matrix [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] 7) Class Parent { Method1(); Method2(); } Class child extends Parent { p.method1(); p.method2(); p.method3(); } Public static void main() { Child c = new parent(); Parent p = new child(); } IN the above code p.method3() will execute (or) not? And can we write the child c = new parent(); ? 8) Program for taking the screen shot ? 9) In TESTNG I have 5 test methods (not before and after) and how they will execute? And if I want 1 and 3 methods need to execute first and 2,4 and 5 are need to execute second then how we will write the code? 10) For the above question he want to 1 and 3 as regression suite and 2, 4 and 5 are sanity suite then how you will implement?

1. Given an array that contains duplicates (except for one value), find the one value that does not have a duplicate in that array. Explain the complexity of your algorithm. So in the array: A = [2, 3, 4, 5, 2, 3, 4] your algorithm should return 5 since that's the value that does not have a duplicate. 2. Explain the process that happens when you type your username and hit submit on a website (HTTP, server/client communication, etc...)
avatar

Software Engineer Intern

Interviewed at AppFolio

4.1
Jan 24, 2014

1. Given an array that contains duplicates (except for one value), find the one value that does not have a duplicate in that array. Explain the complexity of your algorithm. So in the array: A = [2, 3, 4, 5, 2, 3, 4] your algorithm should return 5 since that's the value that does not have a duplicate. 2. Explain the process that happens when you type your username and hit submit on a website (HTTP, server/client communication, etc...)

Viewing 2351 - 2360 interview questions

Glassdoor has 935,577 interview questions and reports from Engineer interviews. Prepare for your interview. Get hired. Love your job.