DBMS Quiz, Notes & Technology Articles

Advanced Topics in C Sharp Quiz Questions 1 Tests pdf Download

Practice advanced topics in c sharp quizzes, C Sharp quiz 1 to learn. Free C Sharp MCQs questions and answers to learn advanced topics in c sharp MCQs with answers. Practice MCQs to test knowledge on advanced topics in c sharp, function overloading, just in time compiler and common intermediate language, type conversion, boolean logic worksheets.

Free advanced topics in c sharp worksheet has multiple choice quiz questions as in order to lock/unlock an object use the, answer key with choices as lock and unlock methods, enter and exit methods, close and open methods and close and allow methods to test study skills. For eLearning, study online advanced topics in c# multiple choice questions based quiz questions and answers.

Quiz on Advanced Topics in C Sharp Worksheet 1

Advanced Topics in C Sharp Quiz

MCQ. In order to lock/unlock an object use the

  1. lock and unlock methods
  2. enter and exit methods
  3. close and open methods
  4. close and allow methods

D

Function Overloading Quiz

MCQ. Choose from given options one that can be overloaded

  1. constructors
  2. methods
  3. parameters
  4. operators

D

Just In Time compiler and Common Intermediate Language Quiz

MCQ. Original name of Common Intermediate Language is

  1. MSIL(Microsoft Intermediate Language)
  2. JIT(Just In Time compiler)
  3. IL(Intermediate Language)
  4. Both a and c

D

Type conversion Quiz

MCQ. Disadvantages of Explicit type conversion are that it

  1. makes program memory heavier
  2. results in loss of data
  3. is potentially Unsafe
  4. is memory consuming

B

Boolean Logic Quiz

MCQ. Output for following code will be
static void Main(string[] args) { int a = 3, b = 5, c = 1; int z = ++b; int y = ++c; b = Convert.ToInt32((Convert.ToBoolean(z)) && (Convert.ToBoolean(y)) || Convert.ToBoolean(Convert.ToInt32(!(++a == b)))); a = Convert.ToInt32(Convert.ToBoolean(c) || Convert.ToBoolean(a--)); Console.WriteLine(++a); Console.WriteLine(++b); Console.WriteLine(c); }

  1. 2 ,2 ,1
  2. 2 ,0 ,9
  3. 2 ,2 ,2
  4. 2 ,3 ,2

C