• C# Decision Making Quiz Form

    Test your knowledge of C# decision making concepts. Answer all questions to the best of your ability. All questions are required.
  • Which C# statement is used to make a decision based on a condition?*
  • What is the output of the following code? int x = 10; if (x > 5) Console.WriteLine("A"); else Console.WriteLine("B");*
  • Which keyword is used to handle multiple possible values of a variable in C#?*
  • In C#, what is the result of the following code? int y = 3; string result = y > 5 ? "High" : "Low"; Console.WriteLine(result);*
  • Which of the following is the correct syntax for an if-else statement in C#?*
  • Match each C# decision making keyword to its purpose.*
    Rows
  • Should be Empty:
Select theme: