C# Intro

C# Intro

9th Grade

20 Qs

quiz-placeholder

Similar activities

Exercise STM20263

Exercise STM20263

9th Grade

15 Qs

Python - Chpt 1 - Review

Python - Chpt 1 - Review

9th - 12th Grade

15 Qs

Computer Science (Python)

Computer Science (Python)

9th Grade

18 Qs

AP CSP Unit 5 Review: Lists, Loops and Traversals

AP CSP Unit 5 Review: Lists, Loops and Traversals

9th - 12th Grade

19 Qs

code.org CSP Unit 3 Review 20-21

code.org CSP Unit 3 Review 20-21

9th - 12th Grade

15 Qs

Practice <ultiple Choice - APCSA

Practice <ultiple Choice - APCSA

9th - 12th Grade

18 Qs

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

Python Basics Recap

Python Basics Recap

8th - 11th Grade

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