Академический Документы
Профессиональный Документы
Культура Документы
14. The extrusion chamber, die and the ram are generally lubricated by
(a).grease (c).vegetable oil
(b). Solid lubricant (d). Kerosene oil
15. Consider the following statement :
The process of hot extrusion is used to produce
1. Curtain rods made of aluminum 3. Stainless steel tubes used in furniture
2. Steel pipes for domestic water supply 4. Large size pipes used in city water mains
Which of these statements are correct?
(a) 1 & 3 (c) 1 ,2 & 3
(b) 2 & 4 (d) 1 ,2 ,3 & 4
16. The process of putting a rod though several dies on decreasing diameter is known as
(a) Rolling (c) Trimming
(b) Stretch forming (d) Wire drawing
17. Dies for wire drawing are made of
(a) Cast iron (c) Mild steel
(b) Wrought iron (d) Carbides
18. A moving mandrel is used in
(a) Wire drawing (c) Metal cutting
(b) Tube drawing (d) Forging
19. Which process involves increasing of the cross-sectional area by pressing or hammering in a direction parallel to the
original ingot axis?
(a) Peening (c) Upsetting
(b) Swaging (d) Setting down
20. The property of a material by which it can be rolled into sheet is called
(a) Elasticity (c) Ductility
(b) Plasticity (d) Malleability
21. According to Gay-Lussac law, the absolute pressure of a given mass of a perfect gas varies __________ as its absolute
temperature, when the volume remains constant.
(A) Directly (B) Indirectly
22. A process, in which the temperature of the working substance remains constant during its expansion or compression, is called
(A) Isothermal (B) Hyperbolic
(C) Adiabatic (D) Polytropic
23. In a steady flow process, the ratio of
(A) Heat transfer is constant (B) Work transfer is constant
(C) mass flow at inlet and outlet is same (D) All of these
24. The entropy of the universe is continually on the increase.
(A) Correct (B) Incorrect
25. The behaviour of super-heated vapour is similar to that of
(A) Perfect gas (B) air (C) Steam (D) Ordinary Gas
26. Which of the following is a reversible non-flow process?
(A) Isochoric (B) Isobaric (C) Hyperbolic (D) All of these
27. If in the equation pvn = C, the value of n = ∝ , then the process is called
(A) Constant Volume (B) Adiabatic (C) Isobaric (D) None
28. Carnot cycle has maximum efficiency for
(A) Petrol (B) Diesel (C) Reversible Engine (D) Irreversible Engine
1. #include <stdio.h>
2. void main()
3. {
4. int k = 5;
5. int *p = &k;
6. int **m = &p;
7. printf("%d%d%d\n", k, *p, **m);
8. }
a) 5 5 5 c) 5 junk junk
b) 5 5 junk value d) Run time error
2. What is the output of this C code?
1. #include <stdio.h>
2. void main()
3. {
4. int k = 5;
5. int *p = &k;
6. int **m = &p;
7. printf("%d%d%d\n", k, *p, **p);
8. }
a) 5 5 5 c) 5 junk junk
b) 5 5 junk value d) Compile time error
3. What is the output of this C code?
1. #include <stdio.h>
2. void main()
3. {
4. int k = 5;
5. int *p = &k;
6. int **m = &p;
7. **m = 6;
8. printf("%d\n", k);
9. }
a) 5 c) 6
b) Compile time error d) Junk
4. What is the output of this C code?
1. #include <stdio.h>
2. void main()
3. {
4. int a[3] = {1, 2, 3};
5. int *p = a;
6. int *r = &p;
7. printf("%d", (**r));
8. }
a) 1 c) Address of a
b) Compile time error d) Junk value
5. What is the output of this C code?
1. #include <stdio.h>
2. void main()
3. {
4. int a[3] = {1, 2, 3};
5. int *p = a;
6. int **r = &p;
7. printf("%p %p", *r, a);
8. }
a) Different address is printed c) Same address is printed.
b) 1 2 d) 1 1
6. What is the output of the code given below?
1. #include <stdio.h>
2. int main()
3. {
4. printf("%d ", 1);
5. goto l1;
6. printf("%d ", 2);
7. l1:goto l2;
8. printf("%d ", 3);
9. l2:printf("%d ", 4);
10. }
a) 1 4 c) 1 2 4
b) Compilation error d) 1 3 4
7. What is the output of code given below?
1. #include <stdio.h>
2. int main()
3. {
4. printf("%d ", 1);
5. l1:l2:
6. printf("%d ", 2);
7. printf("%d\n", 3);
8. }
a) Compilation error c) 1 2
b) 1 2 3 d) 1 3
8. What is the output of code given below?
1. #include <stdio.h>
2. int main()
3. {
4. printf("%d ", 1);
5. goto l1;
6. printf("%d ", 2);
7. }
8. void foo()
9. {
10. l1 : printf("3 ", 3);
11. }
a) 1 2 3 c) 1 3 2
b) 1 3 d) Compilation error
9. What is output of code given below?
1. #include <stdio.h>
2. int main()
3. {
4. int i = 0, j = 0;
5. while (i < 2)
6. {
7. l1 : i++;
8. while (j < 3)
9. {
10. printf("Loop\n");
11. goto l1;
12. }
13. }
14. }
a) Loop Loop c) Loop Loop Loop Loop
b) Compilation error d) Infinite Loop
10. What is the output of code given below?
1. #include <stdio.h>
2. int main()
3. {
4. int i = 0, j = 0;
5. while (l1: i < 2)
6. {
7. i++;
8. while (j < 3)
9. {
10. printf("loop\n");
11. goto l1;
12. }
13. }
14. }
a) loop loop c) loop loop loop loop
b) Compilation error d) Infinite loop
11. What is the output of the code given below?
1. #include <stdio.h>
2. int main()
3. {
4. int i = 0, j = 0;
5. l1: while (i < 2)
6. {
7. i++;
8. while (j < 3)
9. {
10. printf("loop\n");
11. goto l1;
12. }
13. }
14. }
a) loop loop c) oop loop loop loop
b) compilation error d) infinite loop
12. The output of the code below is
1. #include <stdio.h>
2. void main()
3. {
4. int i = 0;
5. if (i == 0)
6. {
7. goto label;
8. }
9. label: printf("Hello");
10. }
a) Nothing c) Infinite Hello
b) Error d) Hello
13. The output of the code below is
1. #include <stdio.h>
2. void main()
3. {
4. int i = 0, k;
5. if (i == 0)
6. goto label;
7. for (k = 0;k < 3; k++)
8. {
9. printf("hi\n");
10. label: k = printf("%03d", i);
11. }
12. }
c) 0 hi hi hi 0 0 0
a) 0
d) 0 0 0
b) hi hi hi 0 0 0
14. The output of the code below is
1. #include <stdio.h>
2. void main()
3. {
4. int i = 0, k;
5. label: printf("%d", i);
6. if (i == 0)
7. goto label;
8. }
c) Nothing
a) 0
d) Error
b) Infinite 0
15. The output of the code below is
1. #include <stdio.h>
2. void main()
3. {
4. int x = 5;
5. if (x < 1)
6. printf("hello");
7. if (x == 5)
8. printf("hi");
9. else
10. printf("no");
11. }
c) no
a) hi
d) none of the mentioned
b) hello
16. The output of the code below is
1. #include <stdio.h>
2. int x;
3. void main()
4. {
5. if (x)
6. printf("hi");
7. else
8. printf("how are u");
9. }
c) compile time error
a) hi
d) none of the mentioned
b) how are you
17. Comment on the following code below
1. #include <stdio.h>
2. void main()
3. {
4. int x = 5;
5. if (true);
6. printf("hello");
7. }
c) Nothing will be displayed
a) It will display hello
d) Compiler dependent
b) It will throw an error
18. The output of the code below is
1. #include <stdio.h>
2. void main()
3. {
4. int x = 0;
5. if (x == 0)
6. printf("hi");
7. else
8. printf("how are u");
9. printf("hello");
10. }
c) hello
a) hi
d) hihello
b) how are you
19. The output of the code below is
1. #include <stdio.h>
2. void main()
3. {
4. int x = 5;
5. if (x < 1);
6. printf("Hello");
7.
8. }
c) Hello
a) Nothing
d) Varie
b) Run time error
20. The output of the code below is(when 1 is entered)
1. #include <stdio.h>
2. void main()
3. {
4. double ch;
5. printf("enter a value btw 1 to 2:");
6. scanf("%lf", &ch);
7. switch (ch)
8. {
9. case 1:
10. printf("1");
11. break;
12. case 2:
13. printf("2");
14. break;
15. }
16. }
c) 2
a) Compile time error
d) Varies
b) 1