C# Intro

C# Intro

9th Grade

20 Qs

quiz-placeholder

Similar activities

Большое Повторение C#

Большое Повторение C#

5th Grade - University

15 Qs

JavaScript

JavaScript

3rd Grade - University

20 Qs

Unit 4: Operators in Java

Unit 4: Operators in Java

9th - 10th Grade

19 Qs

Fun with Loops

Fun with Loops

9th Grade

20 Qs

Unity C# Basics, Variables and Operators

Unity C# Basics, Variables and Operators

9th - 12th Grade

18 Qs

C# Structured, Selection and Iteration

C# Structured, Selection and Iteration

9th Grade - University

15 Qs

Data Types

Data Types

9th - 12th Grade

20 Qs

Python variables and operators quiz

Python variables and operators quiz

9th - 12th Grade

20 Qs

C# Intro

C# Intro

Assessment

Quiz

Computers

9th Grade

Medium

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ________ stores a value that cannot be changed from their initial assignment.

Variable

Class

Array

Constant

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword can be used to declare a variable before knowing its type?

const

var

int

public

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write comments in C#?

#

--

//

<!-->

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbols do you use to write multi line comments?

"""

Comment

"""

/ *

Comment

*/

<!-

Comment

-->

###

Comment

###

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?


x = 4;

x %= 2;

Console.WriteLine(x);

0

2

4

8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the datatype of the y variable below?


____ y = "Bob";

int

char

double

string

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the datatype of x?


______ x = 3.14

int

char

double

bool

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?