DBMS Quiz, Notes & Technology Articles

String Quiz Question and Answers 20 PDF Download

Learn string quiz questions, c sharp online test 20 for distance learning degrees, free online programming courses. Colleges and universities courses' MCQs on string manipulation quiz, string multiple choice questions and answers to learn c sharp quiz with answers. Practice string MCQs, IT certifications test assessment on enumerations, type conversion, arrays, functions, string practice test for online C# compiler courses distance learning.

Study string online courses with multiple choice question (MCQs): operator used for concatenation of two or more strings is , for bachelor degree and masters in data science degree questions with choices +, +=', &, || to improve study skills and to qualify online universities' competitive exams with online learning courses. Practice string manipulation quizzes with problem-solving skills assessment test.

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