• 1. 
    Fill in the missing parentheses to have x equal 15.int x =__2 + 3__* 3;Console.WriteLine(x);

  • (....)
  • {.....}
  • <....>
  • |.....|
  • 2. 
    Fill the gaps. ___Declaring an integer and printing it___ int x = 42;Console.WriteLine(x);

  • //.........//
  • /*............*/
  • <----...................----->
  • ?-------------?
  • 3. 
    What is the output of this code?var n1;n1 = true;Console.WriteLine(n1);

  • 1
  • true
  • error
  • 0
  • 4. 
    What is the alternative for x = x + 5?

  • x += 5;
  • x -= 4;
  • x = y + 5;
  • x=+5
  • 5. 
    What is the output of this code?int x = 16;int y = 5;Console.WriteLine(x/y);

  • 3.2
  • 3
  • error
  • 4
  • 6. 
    Fill in the blanks to display the result of the multiplication of x and y.int x = 42;int y = 7;int z = x __ y;Console.WriteLine( __ );

  • *.....z
  • mul........z
  • *......y
  • -.......x
  • 7. 
    What is the output of this code?int x = 8;// x = 3;Console.WriteLine(x);

  • 3
  • 8
  • error
  • 24
  • 8. 
    Fill in the blank to make the variable num a constant._______int num=2;

  • con
  • constant
  • const
  • constans
  • 9. 
    Which operator is used to determine the remainder?

  • *
  • %
  • +
  • -
  • 10. 
    What is the type of the temp variable?var temp = 14.55;

  • Double
  • Boolean
  • Integer
  • String
Report Question
warning
access_time
  Time