C# Concepts and Code Quiz

C# Concepts and Code Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

Unit 6 Arrays

Unit 6 Arrays

10th - 12th Grade

14 Qs

Exam 4 Review

Exam 4 Review

9th - 12th Grade

20 Qs

OOP Java

OOP Java

12th Grade

20 Qs

AP CSA Midterm Concept Review 1

AP CSA Midterm Concept Review 1

12th Grade

20 Qs

CodeHS Classes & Objects

CodeHS Classes & Objects

9th - 12th Grade

10 Qs

Java

Java

9th - 12th Grade

10 Qs

Java Programming Basics

Java Programming Basics

12th Grade

17 Qs

Methods in Java

Methods in Java

11th - 12th Grade

10 Qs

C# Concepts and Code Quiz

C# Concepts and Code Quiz

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Sana Rahman

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to import namespaces and libraries in C#?

using

namespace

class

public

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a class in C#?

using

namespace

class

public

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to make class members accessible from outside?

public

private

static

void

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a method that returns nothing in C#?

void

int

string

bool

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to declare an integer variable in C#?

int

string

bool

if

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to declare a method that does not return a value in C#?

void

public

private

static

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to define a class in C#?

class

public

namespace

using

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?