C# Intro

C# Intro

9th Grade

20 Qs

quiz-placeholder

Similar activities

Intro to Java Loops

Intro to Java Loops

9th - 12th Grade

15 Qs

Data Types

Data Types

9th - 12th Grade

20 Qs

Python Basics (CodeHS)

Python Basics (CodeHS)

7th - 12th Grade

20 Qs

C++ programming

C++ programming

7th - 12th Grade

20 Qs

C# 101 Assessment

C# 101 Assessment

9th - 12th Grade

20 Qs

CodeHS: Unit 6 - JavaScript Basics

CodeHS: Unit 6 - JavaScript Basics

9th Grade

15 Qs

C++ Unit 1 Review

C++ Unit 1 Review

9th - 12th Grade

15 Qs

Java Conditional Constructs

Java Conditional Constructs

9th - 10th 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?