Coforge Automation Testing | SDET | Interview Experience 2022 | Noida
In this article we will cover Coforge Automation Testing Interview Questions from 2022 which could help you prepare in advance.
Coforge Automation Testing | SDET | Interview Experience 2022
Company - CoforgeJob role - Automation Engineer | SDETJob location- NoidaInterviewer - Sumit Aggarwal
Date - October 29 2022
- What are your day to day work?
- Write a program to print prime numbers until 100?
- Write a program for factorial?
- Write a program for below pattern?
- *
- * *
- * * *
- * * * *
- * * * * *
- He gave me 1 SQL query and asked me the output of it?
- He gave me 1 table and asked me to write a query - To print total number of streams by date where streams > 740;
The interviewer asked random questions and I din't expect these questions for the role of Automation tester. He didn't ask any questions about Selenium, API or Manual testing.
-
// Java program to display Prime numbers till N
class GFG
{
//function to check if a given number is prime
static boolean isPrime(int n){
//since 0 and 1 is not prime return false.
if(n==1||n==0)return false;
//Run a loop from 2 to n-1
for(int i=2; i<n; i++){
// if the number is divisible by i, then n is not a prime number.
if(n%i==0)return false;
}
//otherwise, n is prime number.
return true;
}
// Driver code
public static void main (String[] args)
{
int N = 100;
//check for every number from 1 to N
for(int i=1; i<=N; i++){
//check if current number is prime
if(isPrime(i)) {
System.out.print(i + " ");
}
}
}
}
Program to print factorial number -
- class FactorialExample{
- public static void main(String args[]){
- int i,fact=1;
- int number=5;//It is the number to calculate factorial
- for(i=1;i<=number;i++){
- fact=fact*i;
- }
- System.out.println("Factorial of "+number+" is: "+fact);
- }
- }
Program to print below pattern -
*
* *
* * *
* * * *
* * * * *
- for(int i=0; i<5; i++)
- {
- for(int j=0; j<=i; j++)
- {
- System.out.print("* ");
- }
- System.out.println();
We have experts to handle the Devops Proxy Support call from India and a team of highly experienced IT professionals. We help you to improve your site rankings and solve various kinds of problems. Devops Proxy Support, Aws Proxy Support, Aws Interview Support, Azure Proxy Support, Azure Interview Support, Devops Interview Support, Devops Proxy Support, Aws Proxy Support, Devops Proxy Interview Support Provides DevOps Online Job Support From India and AWS DevOps, Azure DevOps Proxy Interview Support with experts. Contact Now! 7339826411
ReplyDeleteThanks for sharing this valuable information.Wonderfull Blog!!
ReplyDeleteDevOps Training institute in Ameerpet
DevOps Project Training
DevOps Training in Ameerpet
DevOps Training institute in Hyderabad
DevOps Course in Hyderabad