

MCQOPTIONS
Saved Bookmarks
This section includes 13 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.
1. |
Arrange in the sequence of decisions in manufacturing enterprises : (A) Making of forecasts(B) Determination of key factors(C) Consideration of alternative combination of forecasts(D) Preparation of budgets(E) Combination of factorsChoose the correct answer from the options given below: |
A. | (A), (B), (C), (E), (D) |
B. | (C), (A), (E), (B), (D) |
C. | (B), (A), (C), (E), (D) |
D. | (A), (C), (B), (E), (D) |
Answer» E. | |
2. |
In a rising consumer income scenario, the preferred decision choice of business firms for low income elastic products will be ______. |
A. | Product promotion |
B. | Cost control |
C. | Product repositioning |
D. | Product improvement |
Answer» E. | |
3. |
Critical path indicates which one of the following? |
A. | Longest route of completing a task |
B. | Shortest route of completing a task |
C. | Average time of completing a task |
D. | Recorded time of completing a task |
Answer» B. Shortest route of completing a task | |
4. |
char* myfunc(char *ptr){ptr+=3;return(ptr);}void main(){char *x, *y;x = "EXAMVEDA";y = myfunc(x);printf("y=%s", y);}What will be printed when the sample code above is executed? |
A. | |
B. | |
C. | |
D. | |
E. | |
Answer» C. | |
5. |
What will be printed when this program is executed?int f(int x){if(x <= 4)return x;return f(--x);}void main(){printf("%d ", f(7));} |
A. | 5 6 7 |
B. | 2 3 4 |
C. | |
D. | yntax error |
Answer» D. yntax error | |
6. |
What will be the output of the following program code?main(){static int var = 5;printf("%d ", var--);if(var)main();} |
A. | 5 5 5 5 |
B. | 4 3 2 1 |
C. | nfinite Loop |
D. | ompilation Error |
E. | one of these |
Answer» C. nfinite Loop | |
7. |
Pick the correct statements.I.The body of a function should have only one return statement.II.The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. |
A. | and II |
B. | and III |
C. | I and III |
D. | I and IV |
E. | II and IV |
Answer» D. I and IV | |
8. |
Determine output:main(){int i = 5;printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} |
A. | 4544 |
B. | 5445 |
C. | 4554 |
D. | 5545 |
Answer» E. | |
9. |
What is the result of compiling and running this code?main(){char string[] = "Hello World";display(string);}void display(char *string){printf("%s", string);} |
A. | ill print Hello World |
B. | ompilation Error |
C. | ill print garbage value |
D. | one of these. |
Answer» C. ill print garbage value | |
10. |
What will happen after compiling and running following code?main(){printf("%p", main);} |
A. | rror |
B. | ill make an infinite loop. |
C. | ome address will be printed. |
D. | one of these. |
Answer» D. one of these. | |
11. |
Match the items of List - II with List - I ; and choose the correct code :List - I(Critical Control Standards)List - II(Critical Points(a) Physical standards(i) Material cost per unit(b) Cost standards(ii) Labour hours per unit of output(c) Revenue standards(iii) Timing of production(d) Program standards(iv) Average sales per customer |
A. | (a) - (ii), (b) - (i), (c) - (iv), (d) - (iii) |
B. | (a) - (ii), (b) - (i), (c) - (ii), (d) - (iv) |
C. | (a) - (i), (b) - (ii), (c) - (iv), (d) - (iii) |
D. | (a) - (iv), (b) - (i), (c) - (iii), (d) - (ii) |
Answer» B. (a) - (ii), (b) - (i), (c) - (ii), (d) - (iv) | |
12. |
In Leontief production function. L is considered as |
A. | Structural constraint in the production process |
B. | Degree of Homogeneity |
C. | Binding constraint in the production process |
D. | Optimisation constraint in the production process |
Answer» D. Optimisation constraint in the production process | |
13. |
x is now 50 |
A. | x is now 2 |
B. | x is now 100 |
C. | None of the mentioned |
Answer» D. | |