C# quiz

C# quiz

12th Grade

5 Qs

quiz-placeholder

Similar activities

Quiz sobre Loop While em Python

Quiz sobre Loop While em Python

12th Grade

10 Qs

Basic C Programming

Basic C Programming

University

10 Qs

Laboratorio

Laboratorio

12th Grade

7 Qs

Club Coding Quiz - BCA

Club Coding Quiz - BCA

University

10 Qs

Типы данных. Переменные. Операции в Java

Типы данных. Переменные. Операции в Java

University

10 Qs

TEB2132 Lecture 1 Quiz

TEB2132 Lecture 1 Quiz

University

10 Qs

Цикл for

Цикл for

University

10 Qs

3º ano Semana de 30/09  a  04/10

3º ano Semana de 30/09 a 04/10

12th Grade

7 Qs

C# quiz

C# quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Hustler YT

Used 3+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the correct way to declare a variable in C#?

  • a) int x = 10;

  • b) x = 10 int;

  • c) variable int x = 10;

d) int: x = 10;

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of these is the correct way to write a comment in C#?

  • a) // This is a comment

  • b) /* This is a comment */

  • c) Both a) and b)

d) None of the above

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

A __________ is used to store a value in C#

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?
int a = 5;

int b = 10;

Console. WriteLine(a + b);

5

10

15

error

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The keyword __________ is used to display output in the console in C#.