Explore topic-wise MCQs in C Sharp Programming.

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

101.

Steel structure is likely to come in contact with water. To prevent rusting.

A. Apply bitumen coat
B. Apply anti corrosive paint
C. varnish paint
D. slacked lime coat
Answer» C. varnish paint
102.

The most appropriate cement for reparing cracks in R.C.C works is.

A. Port land cement
B. Expansive cement
C. Quick setting cement
D. Low heat cement
Answer» D. Low heat cement
103.

Rehabilitation of structures may be required due to several reasons. Choose the correctreason.

A. Environmental effects
B. Tensile effects
C. Compressive effects
D. Range effects
Answer» B. Tensile effects
104.

What is the direction of manual demolition?

A. top to bottom
B. left to right
C. right to left
D. any direction
Answer» B. left to right
105.

Decay of timber may be caused by certain insects

A. beetles
B. marine borers
C. white ants
D. all the above
Answer» E.
106.

Which pipe is used for carrying a human waste?

A. soil pipe
B. vent pipe
C. waste pipe
D. rainwater pipe
Answer» B. vent pipe
107.

What is functions of home water supply system?

A. to provide a fresh water
B. distribute the water thought out a home
C. store the water inside the home
D. all of the above
Answer» E.
108.

Which type of paint is used for plaster walls?

A. while washing
B. Cement paints
C. Dry distemper
D. all of the above
Answer» E.
109.

What is specific heat (in J/Kg C) of the concrete?

A. 840 – 1170
B. 850 – 1170
C. 840 – 1120
D. 840 – 1270
Answer» B. 850 – 1170
110.

Which factors kept in mind during the building survey of the buildings?

A. time of last inspection
B. Who inspect the building?
C. level of deterioration in building parts
D. all of the above
Answer» E.
111.

There are _____ stages in condition survey.

A. 5
B. 4
C. 3
D. 2
Answer» C. 3
112.

Who is responsible for the combination of the polymer particles?

A. monomer
B. nanomer
C. tetramer
D. crystal
Answer» B. nanomer
113.

Which acid is used for the acid itching?

A. 10% HCL
B. 5% HCL
C. 8% HCL
D. 20% HCL
Answer» B. 5% HCL
114.

Which chemical is used for the removal of the fungus?

A. ammoniac copper solution
B. a & c
C. magnesium fluoride
D. none of the above
Answer» C. magnesium fluoride
115.

The approaches made for inspection & cleaning of sewers is called

A. trap
B. cover
C. manhole
D. drain
Answer» D. drain
116.

Which method used for the fire damage assessment?

A. TDA
B. XRD
C. DTA
D. all
Answer» E.
117.

Termite make the timber

A. crack
B. porous
C. moist
D. wet and dry rot
Answer» C. moist
118.

Mortar or concrete conveyed through pressure hose and applied pneumatically at highvelocity on to a surface is called

A. guniting
B. grouting
C. sealing
D. spraying
Answer» B. grouting
119.

Blistering and peeling is one of the defect seen in

A. concrete
B. walling
C. painting
D. plumbing
Answer» D. plumbing
120.

Alkaline aggregate reaction is main reason for generation of K2O inside the concrete.

A. true
B. false
C. none
D. all
Answer» B. false
121.

Which factors affect the selection of the demolition techniques?

A. size of the building
B. shape of the building
C. available time
D. all of the above
Answer» E.
122.

Which material is used for the plasticizers in concrete?

A. POP
B. calcium
C. sodium
D. ammonia
Answer» B. calcium
123.

In cathode protection method, by____________ we can reduce the corrosion in steel.

A. increasing a electrical potential
B. decreasing a electrical potential
C. zeroing a electrical potential
D. neutralizing a electrical potential
Answer» C. zeroing a electrical potential
124.

White washing is done during________

A. Annual repair
B. Day to day repair
C. Special repair
D. Major repair
Answer» B. Day to day repair
125.

Which metal is used for making a foamed concrete?

A. aluminium
B. zinc
C. a & b both
D. none of the above
Answer» D. none of the above
126.

Vacuum concrete is used for_____

A. making thin section
B. more removing a extra water from the concrete
C. when water cement ration is in between 0.5 to 0.65
D. all of the above
Answer» E.
127.

Honey combing is caused due to

A. inadequate compaction
B. chemical reaction
C. shock waves
D. lack of curing
Answer» B. chemical reaction
128.

Thermal expansion in concrete means____

A. change in area with change in temperature
B. change in temperature with change in density
C. change in humidity with change in density
D. none of the above
Answer» B. change in temperature with change in density
129.

Interior walls of a building have developed cracks. Remedial measures adopted will be to

A. Fill cracks by port land cement mortar
B. Fill cracks with bitumen.
C. Use expansive cement mortar for filling cracks.
D. Use water proofing compound to fill cracks
Answer» B. Fill cracks with bitumen.
130.

What is melting point (in degree Celsius) of the lime stone?

A. 900
B. 1200
C. 800
D. 500
Answer» B. 1200
131.

Which factor does not affect the thermal conductivity of the concrete?

A. humidity
B. volume
C. density
D. temperature
Answer» C. density
132.

Which type of paint allows a free movement of the air through its layer?

A. non-breathing paints
B. breathing paints
C. plastic paints
D. none of the above
Answer» C. plastic paints
133.

Which of the following statements are correct about the structure declaration given below? struct Book { private String name; protected int totalpages; public Single price; public void Showdata() { Console.WriteLine(name + " " + totalpages + " " + price); } Book() { name = " "; totalpages = 0; price = 0.0f; } } Book b = new Book();We cannot declare the access modifier of totalpages as protected. We cannot declare the access modifier of name as private. We cannot define a zero-argument constructor inside a structure. We cannot declare the access modifier of price as public. We can define a Showdata() method inside a structure.

A. 1, 2
B. 1, 3, 5
C. 2, 4
D. 3, 4, 5
Answer» C. 2, 4
134.

Which of the following is the correct way to define a variable of the type struct Emp declared below? struct Emp { private String name; private int age; private Single sal; }Emp e(); e = new Emp(); Emp e = new Emp; Emp e; e = new Emp; Emp e = new Emp(); Emp e;

A. 1, 3
B. 2, 5
C. 4, 5
D. 1, 2, 4
Answer» D. 1, 2, 4
135.

Which of the following accesses a variable in structure *b?

A. b->var;
B. b.var;
C. b-var;
D. b>var;
Answer» B. b.var;
136.

Which of the following is a properly defined structure?

A. struct {int a;}
B. struct a_struct {int a;}
C. struct a_struct int a;
D. struct a_struct {int a;};
Answer» E.
137.

The declaration of the structure is also called as?

A. structure creator
B. structure signifier
C. structure specifier
D. structure creator & signifier
Answer» D. structure creator & signifier
138.

What will happen when the structure is declared?

A. it will not allocate any memory
B. it will allocate the memory
C. it will be declared and initialized
D. it will be declared
Answer» B. it will allocate the memory
139.

What will be used when terminating a structure?

A. :
B. }
C. ;
D. ;;
Answer» D. ;;
140.

The data elements in the structure are also known as what?

A. objects
B. members
C. data
D. objects & data
Answer» C. data
141.

How many bytes will the structure variable samp occupy in memory if it is defined as shown below? class Trial { int i; Decimal d; } struct Sample { private int x; private Single y; private Trial z; } Sample samp = new Sample();

A. 20 bytes
B. 12 bytes
C. 8 bytes
D. 16 bytes
Answer» C. 8 bytes
142.

Which of the following will be the correct output for the program given below? namespace IndiabixConsoleApplication { struct Sample { public int i; } class MyProgram { static void Main(string[] args) { Sample x = new Sample(); Sample y; x.i = 9; y = x; y.i = 5; Console.WriteLine(x.i + " " + y.i); } } }

A. 9 9
B. 9 5
C. 5 5
D. 5 9
Answer» C. 5 5
143.

Which of the following statements is correct about the C#.NET code snippet given below? struct Book { private String name; private int noofpages; private Single price; } Book b = new Book();

A. The structure variable b will be created on the heap.
B. We can add a zero-argument constructor to the above structure.
C. When the program terminates, variable b will get garbage collected.
D. The structure variable b will be created on the stack.
Answer» E.
144.

Which of the following statements are correct about Structures used in C#.NET? A Structure can be declared within a procedure. Structs can implement an interface but they cannot inherit from another struct. struct members cannot be declared as protected. A Structure can be empty. It is an error to initialize an instance field in a struct.

A. 1, 2, 4
B. 2, 3, 5
C. 2, 4
D. 1, 3
Answer» C. 2, 4
145.

Which of the following will be the correct result of the statement b = a in the C#.NET code snippet given below? struct Address { private int plotno; private String city; } Address a = new Address(); Address b; b = a;

A. All elements of a will get copied into corresponding elements of b.
B. Address stored in a will get copied into b.
C. Once assignment is over a will get garbage collected.
D. Once assignment is over a will go out of scope, hence will die.
Answer» B. Address stored in a will get copied into b.
146.

C#.NET structures are always value types.

A. 1
B.
Answer» B.
147.

Which of the following statements are correct about the structure declaration given below? struct Book { private String name; protected int totalpages; public Single price; public void Showdata() { Console.WriteLine(name + " " + totalpages + " " + price); } Book() { name = " "; totalpages = 0; price = 0.0f; } } Book b = new Book(); We cannot declare the access modifier of totalpages as protected. We cannot declare the access modifier of name as private. We cannot define a zero-argument constructor inside a structure. We cannot declare the access modifier of price as public. We can define a Showdata() method inside a structure.

A. 1, 2
B. 1, 3, 5
C. 2, 4
D. 3, 4, 5
Answer» C. 2, 4
148.

Which of the following statements are correct? A struct can contain properties. A struct can contain constructors. A struct can contain protected data members. A struct cannot contain methods. A struct cannot contain constants.

A. 1, 2
B. 3, 4
C. 1, 2, 4
D. 3, 5
Answer» B. 3, 4
149.

Which of the following will be the correct output for the C#.NET program given below? namespace IndiabixConsoleApplication { struct Sample { public int i; } class MyProgram { static void Main(string[] args) { Sample x = new Sample(); x.i = 10; fun(ref x); Console.Write(x.i + " "); } public static void fun(ref Sample y) { y.i = 20; Console.Write(y.i + " "); } } }

A. 20 10
B. 10 20
C. 10 10
D. 20 20
Answer» E.
150.

Which of the following statements is correct about the C#.NET code snippet given below? class Trial { int i; Decimal d; } struct Sample { private int x; private Single y; private Trial z; } Sample ss = new Sample();

A. ss will be created on the heap.
B. Trial object referred by z will be created on the stack.
C. z will be created on the heap.
D. Both ss and z will be created on the heap.
Answer» E.