Friday, October 18, 2019

PGT Computer Science Solution

SET C
Q.31. while(5)
{
cout<<``Hello``;
}

Answer : Hello will be displayed infinite times as in C/C++, value 0 is treated as false and 1,2,3•••• values are treated as true.

In java, while(true) or while(false) can be used only, no numeric value is allowed in while().

Q.97. OSI stands for

Answer is : Open Systems Interconnection

OSI model has 7 layers - Physical, Data link, Network, Transport, Session, Presentation and Application layer.




No comments:

Post a Comment