MCQsLearn App Free MCQsLearn App Download - Android - iOS
As an Amazon Associate I earn from qualifying purchases.

DBMS Notes and Technology Articles

Constants MCQ with Answers PDF Download eBook - 41

Solve Constants multiple choice questions and answers PDF, constants quiz answers PDF to learn web development worksheet 41 for online mock test. Practice Flow Control quiz questions, constants Multiple Choice Questions (MCQ) to solve c sharp test with answers for online computer science degree. Free constants MCQs, string, variable naming, delegates, advanced topics in c sharp, constants test prep for programming certifications.

"Choose an error free code (i) const int intTwo = 2; (ii) const int intTwo; intTwo = 2;", constants Multiple Choice Questions (MCQ) with choices (ii), (i), and none of them is valid for information technology certificate programs. Learn flow control questions and answers with free online certification courses for IT certifications.

Constants Questions and Answers PDF Download eBook 41

Constants Quiz

MCQ: Choose an error free code (i) const int intTwo = 2; (ii) const int intTwo; intTwo = 2;

  1. (i)
  2. (ii)
  3. both a and b
  4. none of them is valid

A

Advanced Topics in C Sharp Quiz

MCQ: Which among the given classes is present in System.Collection.Generic.namespace

  1. stack
  2. tree
  3. sorted array
  4. array

A

Delegates Quiz

MCQ: The correct statement about delegate declaration is <br/> <code> delegate void del(int i); </code>

  1. On declaring the delegate a class called del will get created.
  2. The del class will be derived from the Multicast Delegate class.
  3. The del class will contain a one-argument constructor and an lnvoke() method.

B

Variable Naming Quiz

MCQ: Choose a valid syntax for naming a variable in C#

  1. <VarName> <DataType>;
  2. <VarName> <DataType>
  3. <VarName>:<DataType>
  4. <DataType> <VarName>;

D

String Quiz

MCQ: Which of the following function sets first n characters of a string to a given character

  1. strinit()
  2. strnset()
  3. strset()
  4. strcset()

B