DBMS Quiz, Notes and Technology Articles

String Quiz Question and Answers 20 PDF Book Download

String quiz questions, string MCQs answers, c sharp quiz 20 to learn programming courses online. String manipulation quiz questions and answers, string multiple choice questions (MCQ) to practice c sharp test with answers for online colleges and universities courses. Learn string MCQs, type conversion, arrays, functions, string test prep for programming certifications.

Learn string test with multiple choice question (MCQs): operator used for concatenation of two or more strings is, with choices +, +=', &, and || for information technology masters programs. Learn string manipulation questions and answers for scholarships exams' problem-solving, assessment test for IT certifications.

Quiz on String Worksheet 20

String Quiz

MCQ: Operator used for concatenation of two or more strings is

  1. +
  2. +='
  3. &
  4. ||


Functions Quiz

MCQ: Functions in C# are a means of providing blocks of code that can

  1. be executed at any point in the an application
  2. decrease the efficiency of the compiler
  3. not be resued
  4. have some parameters


Arrays Quiz

MCQ: Choose correct output for given code <br/> <code> static void Main() { int[] nums = { 1, 2, 3, 4, 5 }; Console.Write("Original order: "); foreach(int i in nums) Console.Write(i + " "); Array.Reverse(nums); Console.Write("Reversed order: "); foreach(int i in nums) Console.Write(i + " "); Console.WriteLine(); } </code>

  1. run time error
  2. 5,4,3,2,1
  3. compile time error
  4. 1,2,3,4,5


Type conversion Quiz

MCQ: Choose correct statement

  1. Information is never lost during narrowing conversions.
  2. The CInteger() function can be used to convert a Single to an Integer.
  3. Widening conversions take place automatically.
  4. Assigning an Integer to an Object type is known as Unboxing.


Enumerations Quiz

MCQ: Complex data types used in C# are

  1. Enum
  2. Struct
  3. Arrays
  4. All of the above