Explore topic-wise MCQs in C Programming.

This section includes 102 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming knowledge and support exam preparation. Choose a topic below to get started.

51.

a _____ are open at bottom and closed at top.

A. Cylinders
B. Wells
C. Box caissons
D. Pneumatic caissons
Answer» E.
52.

sheet piles are commonly used as ________ in hydraulic structure.

A. Bulk heads
B. Bearing Stratum
C. Boulders
D. Composite piles
Answer» B. Bearing Stratum
53.

the size of the bulldozer is indicated by the dimension of its ______

A. Site
B. Tyre
C. Engine
D. Blades
Answer» E.
54.

in _______, the owner has to invest a certain amount for the purchaseof an equipment.

A. Cost depreciation
B. Investment charges
C. Operation cost
D. Management
Answer» C. Operation cost
55.

the stiff materials can be excavated by ______.

A. Dragline
B. Hoe
C. Power shovel
D. Scrapper
Answer» C. Power shovel
56.

_______ is useful when depth of water is about 6 meters to 10 meters.

A. Wood or steel sheeting cofferdam
B. Ohio river type cofferdam
C. Rock filled crib cofferdam
D. Suspended cofferdam
Answer» B. Ohio river type cofferdam
57.

the trucks with automatic unloading device are called ______.

A. Dumpers
B. Trailers
C. Conveyor
D. Dump tracks
Answer» E.
58.

the ______ is found to be the most suitable material for theconstruction of caisson.

A. Timber
B. Cast iron
C. Steel
D. RCC
Answer» D. RCC
59.

_______ type of excavator carries shovel at its lower end.

A. Power shovel
B. Dragline
C. Clamshell
D. Backactor
Answer» B. Dragline
60.

______ are the cofferdams which can be lifted, floated and placed inanother position as soon as its purpose is served.

A. Suspended cofferdam
B. Double wall cofferdam
C. Dike cofferdam
D. Single wall cofferdam
Answer» B. Double wall cofferdam
61.

the removal of earth for highway formation is ______.

A. Embankment
B. Sub grade
C. Excavation
D. Filling
Answer» D. Filling
62.

a ______ is defined as a temporary structure which is constructed so as to remove water and/or soil from an area and make it possible to carry on the construction work under reasonably dry conditions.

A. Cofferdam
B. Foundation
C. Caisson
D. Spillway
Answer» B. Foundation
63.

in order to raise and shift heavy loads from one place to another, they ______ are employed in the construction of big works.

A. Elevators
B. Conveyors
C. Cranes
D. Trucks
Answer» D. Trucks
64.

______ are used for vertical transportation of aggregate and wetconcrete on large project sites.

A. Elevators
B. Trucks
C. Conveyors
D. Escalators
Answer» B. Trucks
65.

a _____ is define as a structure which is sunk through ground or water to exclude water and semi fluid material during the process of excavation of foundations.

A. Cofferdam
B. Caisson
C. Well
D. Pit
Answer» C. Well
66.

the precise control of excavation is possible by _______.

A. Scrapper
B. Hoe
C. Shovel
D. Bulldozer
Answer» B. Hoe
67.

in _____ type of cofferdam consists of a mixture of sand and clay which is filled in a bag and placed instead of earth or rock to form a cofferdam.

A. Cellular cofferdam
B. Earth dikes
C. Rock dikes
D. Sand bag dikes
Answer» E.
68.

if a hammer is raised by stem and allowed to fall by gravity on top ofthe pile, it is called as ______.

A. Diesel hammer
B. Vibratory hammer
C. Single acting hammer
D. Drop hammer
Answer» D. Drop hammer
69.

______ are the most commonly used equipment for transportation.

A. Dump tracks
B. Rollers
C. Trucks
D. Bulldozers
Answer» D. Bulldozers
70.

a ______ consist of timber cribs.

A. Cellular cofferdam
B. Suspended cofferdam
C. Rock filled crib cofferdam
D. Concrete cofferdam
Answer» D. Concrete cofferdam
71.

the ______ is suitable for caisson shoes.

A. Reinforced cement concrete
B. Cast iron
C. Timber
D. Steel
Answer» B. Cast iron
72.

a _____ roller is a multi-purpose roller which is used for variouspurposes and for practically all type of roads.

A. Smooth wheeled
B. Pneumatic
C. Rubber tyred
D. Dead weight
Answer» B. Pneumatic
73.

in ______ method, the depreciation of properties assumed to be equal to the annual sinking fund plus the interest on the fund for that year.

A. Sinking fund
B. Annual fund
C. Constant percentage
D. Straight line
Answer» B. Annual fund
74.

the blade angle of bulldozer is usually ______.

A. 60
B. 90
C. 15
D. 45
Answer» C. 15
75.

which the given method is used for dewatering of the foundationtrenches.

A. Deep boring
B. Geophysical method
C. Well point system
D. Analytical method
Answer» D. Analytical method
76.

a ______ is an embankment of some material.

A. Wall
B. Intrusion
C. Dike
D. Rock-fill
Answer» D. Rock-fill
77.

______ are usually mounted on two or four pneumatic tyred wheels.

A. Scraper
B. Backactor
C. Elevator
D. Escalator
Answer» B. Backactor
78.

piles are commonly driven in to the ground by means of special devicecalled _______.

A. Pile driver and hammer
B. Driller
C. None of the mentioned
D. All of the mentioned
Answer» B. Driller
79.

the piles that are used for protecting structures from ships and floatingobject is _______.

A. Anchor piles
B. Fender piles
C. Compaction Piles
D. Batter Piles
Answer» C. Compaction Piles
80.

______ consists of a vibrating unit mounted on a screed, plate or roller.

A. Earth rammer
B. Pounding
C. Vibrating rollers
D. Vibratory compactors
Answer» E.
81.

______ type of excavator is used for digging below, at or aboveoperating level in a vertical range.

A. Skimmer
B. Dragline
C. Clamshell
D. Back trench
Answer» D. Back trench
82.

the types of hammer used for driving piles are _______.

A. Drop hammer
B. Diesel hammer
C. Vibratory hammer
D. All of mentioned
Answer» E.
83.

What will be the output of the program? #include int main() { const char *s = "; char str[] = "Hello"; s = str; while(*s) printf("%c", *s++); return 0; }

A. Error
B. H
C. Hello
D. Hel
Answer» D. Hel
84.

What will be the output of the program?_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ const c = -11;_x000D_ const int d = 34;_x000D_ printf("%d, %d\n", c, d);_x000D_ return 0;_x000D_ }

A. Error
B. -11, 34
C. 11, 34
D. None of these
Answer» C. 11, 34
85.

Point out the error in the program. #include #define MAX 128 int main() { char mybuf[] = "India"; char yourbuf[] = "BIX"; char const *ptr = mybuf; *ptr = 'a'; ptr = yourbuf; return 0; }

A. Error: cannot convert ptr const value
B. Error: unknown pointer conversion
C. No error
D. None of above
Answer» B. Error: unknown pointer conversion
86.

Point out the error in the program. #include const char *fun(); int main() { *fun() = 'A'; return 0; } const char *fun() { return "Hello"; }

A. Error: RValue required
B. Error: Lvalue required
C. Error: fun() returns a pointer const character which cannot be modified
D. No error
Answer» D. No error
87.

Point out the error in the program. #include const char *fun(); int main() { char *ptr = fun(); return 0; } const char *fun() { return "Hello"; }

A. Error: Lvalue required
B. Error: cannot convert 'const char *' to 'char *'.
C. No error and No output
D. None of above
Answer» D. None of above
88.

What will be the output of the program? #include int get(); int main() { const int x = get(); printf("%d", x); return 0; } int get() { return 20; }

A. Garbage value
B. Error
C. 20
D. 0
Answer» D. 0
89.

Point out the error in the program. #include int main() { const int k=7; int *const q=&k; printf("%d", *q); return 0; }

A. Error: RValue required
B. Error: Lvalue required
C. Error: cannot convert from 'const int *' to 'int *const'
D. No error
Answer» E.
90.

Point out the error in the program. #include int main() { const int x; x=128; printf("%d\n", x); return 0; }

A. Error: unknown data type const int
B. Error: const variable have been initialised when declared.
C. Error: stack overflow in x
D. No error
Answer» C. Error: stack overflow in x
91.

What will be the output of the program? #include int main() { const c = -11; const int d = 34; printf("%d, %d\n", c, d); return 0; }

A. Error
B. -11, 34
C. 11, 34
D. None of these
Answer» C. 11, 34
92.

What will be the output of the program (in Turbo C)? #include int fun(int *f) { *f = 10; return 0; } int main() { const int arr[5] = {1, 2, 3, 4, 5}; printf("Before modification arr[3] = %d", arr[3]); fun(&arr[3]); printf("\nAfter modification arr[3] = %d", arr[3]); return 0; }

A. Before modification arr[3] = 4 After modification arr[3] = 10
B. Error: cannot convert parameter 1 from const int * to int *
C. Error: Invalid parameter
D. Before modification arr[3] = 4 After modification arr[3] = 4
Answer» B. Error: cannot convert parameter 1 from const int * to int *
93.

What will be the output of the program? #include int main() { const int i=0; printf("%d\n", i++); return 0; }

A. 10
B. 11
C. No output
D. Error: ++needs a value
Answer» E.
94.

Point out the error in the program. #include #include union employee { char name[15]; int age; float salary; }; const union employee e1; int main() { strcpy(e1.name, "K"); printf("%s", e1.name); e1.age=85; printf("%d", e1.age); printf("%f", e1.salary); return 0; }

A. Error: RValue required
B. Error: cannot modify const object
C. Error: LValue required in strcpy
D. No error
Answer» C. Error: LValue required in strcpy
95.

Point out the error in the program (in Turbo-C). #include #define MAX 128 int main() { const int max=128; char array[max]; char string[MAX]; array[0] = string[0] = 'A'; printf("%c %c\n", array[0], string[0]); return 0; }

A. Error: unknown max in declaration/Constant expression required
B. Error: invalid array string
C. None of above
D. No error. It prints A A
Answer» B. Error: invalid array string
96.

What will be the output of the program? #include #include union employee { char name[15]; int age; float salary; }; const union employee e1; int main() { strcpy(e1.name, "K"); printf("%s %d %f", e1.name, e1.age, e1.salary); return 0; }

A. Error: RValue required
B. Error: cannot convert from 'const int *' to 'int *const'
C. Error: LValue required in strcpy
D. No error
Answer» E.
97.

What will be the output of the program in TurboC? #include int fun(int **ptr); int main() { int i=10, j=20; const int *ptr = &i; printf(" i = %5X", ptr); printf(" ptr = %d", *ptr); ptr = &j; printf(" j = %5X", ptr); printf(" ptr = %d", *ptr); return 0; }

A. i= FFE2 ptr=12 j=FFE4 ptr=24
B. i= FFE4 ptr=10 j=FFE2 ptr=20
C. i= FFE0 ptr=20 j=FFE1 ptr=30
D. Garbage value
Answer» C. i= FFE0 ptr=20 j=FFE1 ptr=30
98.

Point out the error in the program. #include #define MAX 128 int main() { char mybuf[] = "India"; char yourbuf[] = "BIX"; char *const ptr = mybuf; *ptr = 'a'; ptr = yourbuf; return 0; }

A. Error: unknown pointer conversion
B. Error: cannot convert ptr const value
C. No error
D. None of above
Answer» C. No error
99.

What will be the output of the program? #include int fun(int **ptr); int main() { int i=10; const int *ptr = &i; fun(&ptr); return 0; } int fun(int **ptr) { int j = 223; int *temp = &j; printf("Before changing ptr = %5x\n", *ptr); const *ptr = temp; printf("After changing ptr = %5x\n", *ptr); return 0; }

A. Address of iAddress of j
B. 10223
C. Error: cannot convert parameter 1 from 'const int **' to 'int **'
D. Garbage value
Answer» D. Garbage value
100.

What will be the output of the program? #include int main() { const int x=5; const int *ptrx; ptrx = &x; *ptrx = 10; printf("%d\n", x); return 0; }

A. 5
B. 10
C. Error
D. Garbage value
Answer» D. Garbage value