DBMS Quiz, Notes and Technology Articles

Advanced Topics in C Sharp Quiz Question and Answers 1 PDF Book Download

Advanced topics in c sharp quiz questions and answers, advanced topics in c sharp MCQs with answers, c sharp test prep 1 to learn c# courses for online classes. Advanced topics in c# quiz, advanced topics in c sharp multiple choice questions (MCQs) to practice c sharp test with answers for online computer science degree. Learn MCQs, test prep for programming certifications.

Learn advanced topics in c sharp multiple choice question (MCQs): in order to lock/unlock an object use the, with choices lock and unlock methods, enter and exit methods, close and open methods, and close and allow methods for online computer science bachelors degree. Learn advanced topics in c# questions and answers for problem-solving, merit scholarships assessment test for IT certifications.

Quiz on Advanced Topics in C Sharp Worksheet 1

Advanced Topics in C Sharp MCQ

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 MCQ

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 MCQ

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 MCQ

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 MCQ

MCQ: Output for following code will be <br/> <code> 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); } </code>

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

C