C# Intro

C# Intro

9th Grade

20 Qs

quiz-placeholder

Similar activities

Basic C# Programming Quiz

Basic C# Programming Quiz

9th Grade

16 Qs

Python Basics

Python Basics

KG - University

15 Qs

STATIC KEYWORD IN JAVA

STATIC KEYWORD IN JAVA

9th - 12th Grade

18 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Python Review Quiz

Python Review Quiz

7th - 9th Grade

20 Qs

C# 101 Assessment

C# 101 Assessment

9th - 12th Grade

20 Qs

Revision for Quiz #1

Revision for Quiz #1

9th Grade

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