pencil-icon
Build your own quiz

Computers

11th

grade

Image

C#

2.8K
plays

10 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    What is the output of this code?

    int x = 8;

    // x = 3;

    Console.WriteLine(x);

    3

    8

    error

    24

  • 2. Multiple Choice
    30 seconds
    1 pt

    Fill the gaps.

    ___Declaring an integer

    and printing it___

    int x = 42;

    Console.WriteLine(x);

    //.........//

    /*............*/

    <----...................----->

    ?-------------?

  • 3. Multiple Choice
    30 seconds
    1 pt

    What is the type of the temp variable?

    var temp = 14.55;

    Double

    Boolean

    Integer

    String

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?