Bold Technology | Noida| Automation testing Interview | SDET

In this article, we will share Interview testing experience with Bold Technologies in Noida for SDET/ automation testing role.

Bold Technology

Company - Bold Technology
Location - Noida
Job role - SDET/ Automation testing 
Mode of Interview - Google Meet
Interviewer - Anurima Chatterjee

  • Tell me about yourself?
  • Describe your framework?
  • Then she asked to share screen and open any IDE/ online compiler
  • Write a Java program for below I/O
    •  my name is Rohan
    •  ym eman si nahoR
  • Write a program to print 2nd highest value from an array?
  • Write Sql query to print count of employees which are repeated multiple times?
Solutions - We practiced this program at Java online compiler. Would request to practice it before looking at solution
Program for below I/O
I/p - my name is Rohan
O/p - ym eman si nahoR

class HelloWorld {
    public static void main(String[] args) {
 
 String str = "my name is Rohan";
 String rev = "";
 
 String arr[] =str.split(" ");
 
 for(int i = 0; i< arr.length; i++ ){ // length is used for Array
        // rev = rev + str.charAt(i);  
        String word = arr[i];      // 4 words stored in array - my, name, is, Rohan
        String rev_word = "";
        for(int j = word.length() - 1; j>=0; j--) // Not the difference, length() is used for string
        {
            
            rev_word = rev_word + word.charAt(j);
        }
        rev = rev + rev_word + " ";
        
        }
        System.out.println(str);
        System.out.println(rev);
 }
}

Program to print 2nd highest number in an array
I/P - 1, 8 ,15, 6
O/p - 8

Solution - 
class HelloWorld {
    public static void main(String[] args) {
        
        int a[] = {100,253,55,79};
        int temp;
        int size;
        size = a.length;
    
    for(int i = 0;i<size; i++) 
    {
        for(int j = i+1; j<size; j++)
        {
            if(a[i] > a[j])
            {
                temp = a[i];
                a[i] = a[j];
                a[j] = temp;
            }
        }
    }
    System.out.print(a[size-2]);
        
}
}


Solution 3 - Sql query to find count of repeated employees

select name from EMP
group by name
having count(name) > 1;

Comments

Popular posts from this blog

Azure Tutorials Series - Azure Networking

Coforge Interview Questions | Automation Testing profile

Testing in CI/CD