Upload
nikhil-ravi
View
218
Download
0
Embed Size (px)
Citation preview
8/3/2019 PT_test%255b1%255d%5b1%5d
1/5
OS_PT_ATS Test
1. Functional testing is done before regression testing.True/ false
Ans: True
2. Which of the following is true about common test data?
Five options given choose the right one.
3. How many bytes of memory will be allocated to char name[20]= name;
Ans: 20.
4. Which of the following protocol is present in network layer?
a.Telnet
b.IGMPc.ARP
d.SGMP
Ans: b and c.
5. In which of the following network topology , if a connection break occurs, thewhole network fails?
a.Ringb.Bus
c.Star
d.Mesh
Ans: bus
6. Which of the following OS limits DNS replication?
a.Windows 2000
b.Windows XPc.Windows 2003
d.Windows 1998Ans: all except Windows 20037. Who designs a test plan
a. Project Manager
b.Testerc.test lead
d.Design Architect
Ans: a and c.
8. Assembly testing is done in which phase?a.Plan
b.Build
c.Testd.Design
Ans: d
9. Input documents for Product test?a. use case model
b. requirement analysis
c. TCER
d. Test data
8/3/2019 PT_test%255b1%255d%5b1%5d
2/5
Ans: a and d.
10. Benefits of V-model, choose 4.a. high cost due to early detection of defects.
b. Low cost early detection of defects.
c. Improved quality and reliability.d.
e.
Ans: all except a.
11. Physical layer has no specific protocol True/False.
Ans: True
12. ______ is a set of rules/agreements for communicating.
a.Internet
b.Protocol
c. Networkd.Telnet
Ans: b.
13. main()
{
char *ptr=Madam
ptr+=1;ptr -=3;
for(i=0;i=10) break;
If(ch
8/3/2019 PT_test%255b1%255d%5b1%5d
3/5
18. Program :
Main(){ int x=10;
Printf(%d,x);
int x=20;Printf(%d,x);
}
Ans: compiler error multiple declaration
19. Program that had float and int inputs (int/int=int, float/int=float, int/float=float,
float/float=float)
printf(result=%d,x)
Ans: 0.00000, 0.50000, 0.50000
20. Program : for(i=0;i
8/3/2019 PT_test%255b1%255d%5b1%5d
4/5
Ans. a,b,c
27. Header of source A is read by which layer in the destination B?a. Transport
b. Network
c. Physicald. Session
Ans. Physical
28. Identify Class A IP address from the following
Ans. 10.0.0.0
29. Output of the following code:main()
{
int num1,num2;
num1=printf(Accenture,num2=printf(High Performance));printf(%d%d,num1,num2);
}
Ans. HighPerformanceAccenture 9 16
30. Output of the following code:char *func(char *abc)
{ int i;
for(i=0;i
8/3/2019 PT_test%255b1%255d%5b1%5d
5/5
int i=0;
static int j=0;
printf(%d%d,++i,++j);}
Main()
{calc();
calc();
calc();}
Ans: 111213
33. Output of the following code:Main()
{
int num1=4,num2=6;
double result;result=num2/num1;
printf(%.2f,result);}
Ans: 1.00
34: rigid sense of development ?
Ans: RAD