DBMS Quiz, Notes and Technology Articles

String Quiz Question and Answers 20 PDF Download

String quiz questions and answers, string online learning, c sharp test prep 20 for distance education eCourses. Undergraduate degree and master's degree eCourses MCQs on string manipulation quiz, string multiple choice questions to practice c sharp quiz with answers. Learn string MCQs, IT certifications test prep on enumerations, type conversion, arrays, functions, string test for online C# compiler courses distance learning.

Practice string career test with multiple choice question (MCQs): operator used for concatenation of two or more strings is, for e-learning degree certificate with options +, +=', &, || for online bachelor degree in computer science. Practice string manipulation questions and answers 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