Testing / Quality Assurance Interview Questions
0of 0 votesYoutube is not playing the selected video. What could be the problem and how to debug this issue?
-1of 1 voteWrite a program to check whether a substring is present in a main string.
1of 1 voteWrite all possible test cases for SMS (Short Messaging Service) on a mobile device.
1of 1 voteI have 4 files,they are a.abc,b,abc,c.abc and d.abc.
a.abc file contains
file:b.abc
value:4
file:c.abc
value:6
and c.abc file contains
file:d.abc
value:7
file:e.abc
value:3
so now i want to read a.abc file and get the file name and check that file is exist or not if file is exit read the value and print ...these are all based on file hierarchy.
0of 0 votesWrite a java program thats takes a string and a character as input and return the string without that character. Do not use repalce function. For eg google, g should return oole
0of 0 votesSuppose you are troubleshooting a bug in a Windows application deployed in the field to several hundred users on identical hardware/OS configurations, and has been stable until a recent upgrade was rolled out a week ago. Now some users are reporting that the app unexpectedly exits without warning or reporting an error when working in a particular area.
Describe how you would go about solving this problem.
What feedback, would you give the developers responsible for the app's design?
0of 0 votesAn application given to you, but you dont have any documents for that appln. You need to test that application... How will you do??
Also, if you analyze the appln and find the flow for it how will you ensure that the flow u found is the right one??
0of 0 votesReverse a string and also check whether it is palindrome or not while you are reversing
0of 0 votesOut put ?
#define SQUARE(x) x*x
main() {
int s;
s = 64/SQUARE(4);
print ("%d", s);
}
A. 4 B. 64 C. 16 D. 128
Ans: Answer is 64 -> 64/4*4
0of 0 votesQuestion on &&, || and ++ operator. Give an expression with combination of these operators and asked to choose evaluated output.
0of 0 votesmain() {
int *p;
print ("%u %u", *&p, &*p);
}
A. Address Address B. Value Address
C. Address Value D. Compilation Error
0of 0 votesOutput ?
main() {
int x = 2;
switch(x) {
case 1.5: print ("One");
case 2.5: print ("Two");
default: print ("Zero");
}
}
A. One B. Two C. Zero D. None
0of 0 votesAsked these three questions which are similar but not same.
Q1: Output ?
int main() {
int i=-3, j=2, k=0, m;
m = ++i && ++j || ++k;
printf ("%d %d %d %d", i,j,k,m);
return 0;
}
Q2: Output ?
int main() {
int i=-3, j=2, k=0, m;
m = ++i || ++j && ++k;
printf ("%d %d %d %d", i,j,k,m);
return 0;
}
Q3: Output ?
int main() {
int i=-3, j=2, k=0, m;
m = ++i && ++j && ++k;
printf ("%d %d %d %d", i,j,k,m);
return 0;
}
0of 0 votesWhich of the following cannot be checked in switch - case statement ?
A. Char B. Int C. Float D. enum
Ans: I verified, answer is C (float).
0of 0 votesCalculate how many IP addresses are available in IPv6 address.
0of 0 votesExplain stic key word while function declaration.
0of 0 votesGiven Infix expression and asked find postfix exp.
0of 0 votesProgram to count leaf nodes in binary tree.
0of 0 votesWrite program to find 2-nd largest element in an array with single loop.
0of 0 votesout put
main() {
unsigned int x;
int y;
x=3;
y=-2;
if(x>y)
pf ("x is greater");
else pf("Y is greater");
}
0of 0 votesO/P of the program
main() {
int *inptr, temp;
temp=10;
intptr=&temp;
char *chptr;
*chptr=*intptr
print "%d %d", sizeof(inptr), sizeof(chptr);
}
0of 0 votesChar ch='Z'; ch is stored as
A. Z
B. ASCII value of Z
C Z with single quotes
D. A&B
0of 0 votesFind O/P
#define prod(x,y) x+y*x-y
main() {
print ("%d", prod(3,4));
}
0of 0 votesdifference between smoketesting&sanitytesting with examples
0of 0 votesexplain about the functionnal testing with examples?
0of 0 voteswhat is software testing with examples?
0of 0 votesgiven an array and find two numbers in the array having difference equal to given number.i am also given that arr is sorted
0of 0 votesYou can concatenate A to A, and search B in the resulted string using an O(n) algorithm, KMP, Boyer Moore.
0of 0 votesWhat is the difference between my and local in perl?
0of 0 votesHow do you partition an array into 2 parts such that the two parts have equal average?...each partition may contain elements that are non-contiguous in the array....
