Top 50+ Solved C#.NET Programming MCQ Questions Answer

From 1 to 15 of 50

Q. The compiled version of a VC#.NET program will be in_______________.

a. Machine code

b. IL code

c. Byte code

d. None of these

  • a. Machine code

Q. The purpose of JIT compiler is to convert____________.

a. VC#.NET source code IL code

b. IL code to byte code

c. IL code to managed native code

d. None of these

  • b. IL code to byte code

Q. The Garbage Collection solves_____________.

a. Memory leakage problem

b. DLL hell problem

c. Both a & b

d. None of these

  • a. Memory leakage problem

Q. The code that requires the CLR at runtime for the execution is known as the ________.

a. IL code

b. Managed code

c. Binary code

d. One of these

  • b. Managed code

Q. Which one of the following JIT compilers produce highly optimized code?

a. Econo JIT

b. Standard JIT

c. Pre JIT

d. None of these

  • b. Standard JIT

Q. The VC#.NET language________________.

a. Solves the memory leakage problems.

b. Solves the DLL hell problems.

c. Has very good correspondence with the IL language.

d. All the above.

  • b. Solves the DLL hell problems.

Q. Home page in VS.NET is also known as__________.

a. Default page

b. Start page

c. First page

d. Welcome page

  • b. Start page

Q. The ______________ enables to move through the code very quickly.

a. Class view window

b. Solution explorer window

c. Code window

d. none of these

  • c. Code window

Q. In VC#.NET project files are grouped into a _____________.

a. Workspace

b. Namespace

c. Solution

d. Package

  • c. Solution

Q. Which one of the following statements about code debugging is correct?

a. Debugger helps us to step through our code, one line at a time.

b. Breakpoints can be set by pressing F9 function key.

c. Breakpoints can be set by left-clicking in the left margin area at the line where we want to set the breakpoint.

d. a, b and c are correct.

  • a. Debugger helps us to step through our code, one line at a time.

Q. The arrays involved in a jagged array_____________.

a. Should be of same size.

b. May be of different sizes.

c. Are not known as subarrays.

d. None of these.

  • b. May be of different sizes.

Q. The parameters of a method __________.

a. Help us to pass information to a method.

b. Help us to get information from a method.

c. Help us to pass information to and from a method.

d. None of these.

  • c. Help us to pass information to and from a method.

Q. The ref type parameters are____________.

a. “Input only” parameters.

b. “Input / Output” parameters.

c. “Output only” parameters.

d. None of these.

  • b. “Input / Output” parameters.

Q. The out type parameters can be used_______________.

a. Only to pass back a result to the calling functions.

b. Only to send information to the called function.

c. To pass data to the called method and receive information from the called method.

d. None of these.

  • a. Only to pass back a result to the calling functions.

Q. In case of the Params type parameter____________.

a. Only output can be sent.

b. The number of arguments is variable.

c. Both input and output can be handled.

d. None of these.

  • b. The number of arguments is variable.
Subscribe Now

Get All Updates & News