# 31

Software Testing Fresher interview questions shared by candidates

## Top Interview Questions

Sort: Relevance|Popular|Date
Software Test Engineer(Fresher) was asked...October 12, 2015

### 1st round: Logical -50. all are image base. English- 2 parts 1st one has 50-60 Q (Fill in the blank type ) 2nd one has 30 Q (grammar ) Time 1hr 2nd Round : Technical : manual testing ques. and automation ques. 3rd Round: Hr.

Questions are average and we select answers with in secs.

### question number ,1 ] Code it using , C , C plus plus , java For local calls 1min = 1 paise More than 50 minutes of local calls means , 1 min = 0.5 paise For international calls , 1min = 2 paise For data , 1MB = 1 paise If total bill cost greater than 500 Rs Then 5% discount . Find , Total local cost in RS ? Total international cost in RS ? Total international calls cost in RS ? Total bill cost with discount in RS ? Total bill cost with out discount in RS . ?

#include float main() { float LC , IC , MB , LCC , ICC , MBC , TC ; printf(" Enter the talking time for local calls in minutes "); scanf("%f", &amp;LC ); printf(" Enter the talking time for International calls in minutes "); scanf("%f", &amp;IC ); printf(" Enter the Data consumed in MB "); scanf("%f", &amp;MB ); if(LC &gt; 50) { LCC = ( LC * 0.5 * 0.01 ); } else { LCC = ( LC * 1); } ICC = ( IC * 2 * 0.01 ); MBC =( MB * 1 * 0.01 ); TC = ( LCC + ICC + MBC ); if( TC &gt; 500 ) { TC = ( TC - ( TC * 0.05 ) ) ; } printf ( " local calls cost = %f Rs" , LCC); // LCC = local calls cost printf ( " International calls cost = %f Rs" , ICC); // ICC = international calls cost printf ( " Data cost = %f Rs" , MBC);// MBC = data consumed in mb cost printf ( " Total cost = %f Rs " , TC );// TC = total cost return 0; } Less

### question number 4] , Find the employee who has more than one responsibility using SQL query Employee id Employee name Roles 1001 Stalin Support engineer 1002 Ram Testing engineer 1001 Stalin Java developer 1003 kumar Testing engineer 1004 lenin Testing engineer 1005 Fidel castro Java developer 1006 Che quera Support engineer

SYNTAX Select employee_name from table1 having count(employee_id)&gt;1 group by employee_id ; ACTUAL CODE Select employee_name from table1 having count(employee_id)&gt;1 group by employee_id ; Less

### question number 5] , Attitude question Their is a assignment which has higher priority which has to be completed as soon as possible , that important assignment requires 4 hours to complete that task with high accuracy , but there is also a personal assignment or personal work , what you will do in this case .

THIS IS FOR UNDER STANDING ONLY WHILE WRITING WRITE IT AS PARAGRAPH if( office assignment &gt; personal work ) { Printf( “ Personal work will be done by some other person on behalf of me under my supervision “ ); } Else { Printf( “ office assignment will be done by my immediate junior under my continuous guidance and supervision “ ); } Less

### Just a personal note: Don't go for this organization unless you really want experience and little money. There were few rounds all rounds happen in a single day: 1: resume screening and shortlisting: this round happen before you get actual call for an interview. 2: Basic HR round where hr will learn about you and check if you best candidate for the job 3: This is an aptitude round. This round is based on Microsoft Forms too easy round. And anyone can copy in this round as well. (I saw my fellow candidate doing this). 4:Face-to-Face round with VAPT professional: In here you get tested very thoroughly based on your resume and basic cyber sec/ vapt understanding. So I recommend you to remember every piece of essential you can. 5: Hr salary negotiation round: Salary will be discussed. They are not willing to increase their salary by a single rupee.

You will learn all the basic concepts,VAPT basics, Port nos., Owasp top 10, Osi/tcpip and you are good to go. Less

### Mam , Asked me to write a Code in any language Problem , Their are 2 countries nameley country A and country B . Current population of the 2 countries should be get from user or client . The rate at which the population is increasing, that should be also get from user or client in % format . Get the number of years for which the comparision between the 2 countries to be done . Result to be displayed in this format , YEAR 1 , A greater than B YEAR 2 , A lesser than B Up to YEAR n [ OUTPUT VERIFIED ] In Technical interview , Write a code in , C or C++ or java .

#include void main() { float AR , BR , APP = 0 , BPP = 0; int n , X ; printf("Enter the population of country A"); scanf("%f",&amp;APP); printf("Enter the population of country B"); scanf("%f",&amp;BPP); printf("Enter rate at which population increases in country A in % "); scanf("%f",&amp;AR); printf("Enter rate at which population increases in country B in %"); scanf("%f",&amp;BR); printf(" Enter the number of years to be calculated "); scanf("%d",&amp;n); for(X=0;XBPP) { printf("population country A &gt; population country B = %d years \n \n", ( X+1 )); } else { printf( " Till now population A &lt; population B = %d years \n \n" ,( X+1) ); } } return 0; } Less

### question number 3] , Code it using , C , C plus plus , java Get the details of N number of students , Name , ID number , marks in 5 subjects , find the average marks for each student ? Find number of subjects a student score more than 75 marks ? #include <stdio.h> struct student { char name ; float mat , phy , chem , bot , comp , sum , avg ; }s[100]; void main() { int n , x; printf(" Enter the number of students "); scanf("%d", &n); for(x=0;x<n;x++) { printf(" Enter the name of the students"); scanf("%s", s[x].name); printf("Enter the MATHS marks of students "); scanf("%f", &s[x].mat); printf("Enter the PHYSICS marks of students "); scanf("%f", &s[x].phy); printf("Enter the CHEMISTRY marks of students "); scanf("%f",& s[x].chem); printf("Enter the BOTANY marks of students "); scanf("%f", &s[x].bot); printf("Enter the COMPUTER SCIENCE marks of students "); scanf("%f", &s[x].comp); s[x].sum= (s[x].mat+s[x].phy+s[x].chem+s[x].bot+s[x].comp); s[x].avg=(s[x].sum/5); printf(" sum of marks of %s = %f" , s[x].name , s[x].sum ); printf(" sum of marks of %s = %f" , s[x].name , s[x].avg ); if( s[x].mat<40) { printf( " %s is FAIL in MATHS " , s[x].name); } else { printf( "%s is FIRST CLASS in MATHS " , s[x].name); } if( s[x].phy<40) { printf( " %s is FAIL in PHYSICS " , s[x].name); } else { printf( "%s is FIRST CLASS in PHYSICS " , s[x].name); } if( s[x].chem<40) { printf( " %s is FAIL in CHEMISTRY " , s[x].name); } else { printf( "%s is FIRST CLASS in CHEMISTRY " , s[x].name ) ; } if( s[x].bot<40) { printf( " %s is FAIL in BOTANY " , s[x].name); } else { printf( "%s is FIRST CLASS in BOTANY " , s[x].name); } if( s[x].mat<40) { printf( " %s is FAIL in COMPUTER SCIENCE ", s[x].name); } else { printf( "%s is FIRST CLASS in COMPUTER SCIENCE " , s[x].name); } } }

solutions for the above question is written below the question itself .

### question number 2] , A car travelling to a place. total volume of petrol is 10 l. there are three types of roads, smooth medium hard and get the mileage are 40, 30, 20 mpl respectively. Get the number of distance travelled in each road. Find the average mileage of the travel and the remaining petrol. . OR Find the Average mileage and Remaining fuel , distance travelled in the smooth , medium and hard roads are given . and also the mileage in smooth , medium and hard roads are given . OR A car travelling to a place. total volume of petrol is 10 l. there are three types of roads, smooth medium hard and get the number of distance travelled in each road are 40, 30, 20 miles respectively. Get the mileage of each road. Find the average mileage of the travel and the remaining petrol. [i'm not sure, which one they asked]

#include int main() { float TF , M1 , M2 , M3 , D1 , D2 , D3 , AM , F1 , F2 , F3 , RF ; printf( "Enter the total amount of fuel in litres"); scanf("%f", &amp;TF); printf("Enter the mileage for smooth road"); scanf("%f ",&amp;M1); printf("Enter the mileage for medium road"); scanf("%f ",&amp;M2); printf("Enter the mileage for rough road"); scanf("%f ",&amp;M3); printf("Enter the distance travelled in smooth road"); scanf("%f",&amp;D1); printf("Enter the distance travelled in medium road"); scanf("%f",&amp;D2); printf("Enter the distance travelled in rough road"); scanf("%f",&amp;D3); AM = (( M1+M2+M3)/3); F1=(D1/M1); F2=(D2/M2); F3=(D3/M3); RF=(TF-F1-F2-F3); printf("Remaining fuel = %f", RF); printf(" Average mileage = %f" , AM ); return 0; } Less