C# and OOP Concepts

C# and OOP Concepts

University

20 Qs

quiz-placeholder

Similar activities

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

10th Grade - University

20 Qs

IIT_4. nedelja

IIT_4. nedelja

University

16 Qs

Microsoft Excel Review Part 2

Microsoft Excel Review Part 2

8th Grade - University

20 Qs

PBO -  CO

PBO - CO

University

20 Qs

NET102:  Quiz No. 1

NET102: Quiz No. 1

University

20 Qs

IT for Managers M1

IT for Managers M1

University

20 Qs

NextGen: AI Workshop Module 1 Quiz

NextGen: AI Workshop Module 1 Quiz

University

16 Qs

C# and OOP Concepts

C# and OOP Concepts

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

ammar al-qadasi

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes C#?

A markup language

A low-level assembly language

A modern, object-oriented, type-safe programming language

A database query language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about C# is true?

C# runs directly on hardware

C# is compiled into Intermediate Language (IL) and runs on the .NET runtime

C# is interpreted line by line

C# is not platform-independent

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between value types and reference types in C#?

Value types store copies of data; reference types store memory addresses

Reference types are faster than value types

Value types are always strings

There is no difference

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a value type?

class

string

int

object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to define a constant value that cannot change?

readonly

final

const

static

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which collection type maintains key-value pairs and does not allow duplicate keys?

ArrayList

Dictionary

Queue

List

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between a Hashtable and a Dictionary in C#?

Hashtable is generic; Dictionary is not

Hashtable allows any type of key and value (non-generic); Dictionary is generic and type-safe

Dictionary allows duplicate keys

Hashtable is faster than Dictionary

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?