ISS (Statistical Services) Statistics Paper I (New 2016 MCQ Pattern): Questions 119 - 122 of 472
Access detailed explanations (illustrated with images and videos) to 472 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!
View Sample Explanation or View Features.
Rs. 300.00 -OR-
How to register? Already Subscribed?
Question 119
Question
MCQ▾Which of the statement is/are correct regarding ‘short integer’ and ‘long integer’ ?
Choices
Choice (4) | Response | |
---|---|---|
a. | A ‘long integer’ is at least 4 bytes wide. | |
b. | A ‘short integer’ is at least 16 bits. | |
c. | Both a. and b. are correct | |
d. | Question does not provide sufficient data or is vague |
Question 120
Question
MCQ▾What will be the output of following program?
#include<stdio.h>
int main()
{
int i=10;
whilei==5
{
i=i-1;
printf“%d”, i;
i=--;
}
}
Choices
Choice (4) | Response | |
---|---|---|
a. | Print nothing | |
b. | 10 | |
c. | 1, 2, 3, 4, 5, 6, 7,8, 9,10 | |
d. | None of the above |
Question 121
Question
MCQ▾What will be the output of the program?
#include<stdio.h>
void abc(int⚹, int⚹);
int main()
{
int x=10, y=6;
abc(&x, &y);
printf("%d, %d", x, y);
return 0;
}
void abc(int ⚹i, int ⚹j)
{
⚹i = ⚹i⚹⚹i;
⚹j = ⚹j⚹⚹j;
}
Choices
Choice (4) | Response | |
---|---|---|
a. | 100,36 | |
b. | 10,6 | |
c. | 10,36 | |
d. | 6,10 |
Question 122
Question
MCQ▾int a;
do {
scanf(“%d”,&a);
printf(“%d ”,a);
} while (!(a == 0));
Consider above part of a code of an algorithm:
If a person inputs natural numbers always then, following statement will hold true:
Choices
Choice (4) | Response | |
---|---|---|
a. | It will go into infinite loop. | |
b. | It will show compilation error. | |
c. | It can form an array of finite length. | |
d. | Question does not provide sufficient data or is vague |