C# Intro

C# Intro

9th Grade

20 Qs

quiz-placeholder

Similar activities

JavaScript Level 1

JavaScript Level 1

5th - 9th Grade

20 Qs

AP CS A Unit 3

AP CS A Unit 3

9th - 12th Grade

20 Qs

JavaScript

JavaScript

3rd Grade - University

20 Qs

Conditionals Quiz

Conditionals Quiz

9th - 12th Grade

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Basics in Java

Basics in Java

9th - 12th Grade

15 Qs

AGAD: UNIT 4_C# & UNITY

AGAD: UNIT 4_C# & UNITY

9th - 12th Grade

24 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?