Search Header Logo

CSharp Quiz

Authored by Faith Muwishi

Specialty

Professional Development

Used 32+ times

CSharp Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Correct Declaration of Values to variables ‘a’ and ‘b’?

int a = 32, b = 40.6;

int a = 42; b = 40;

int a = 32; int b = 40;

int a = b = 42;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Arrange the following data type in order of increasing magnitude sbyte, short, long, int.

long < short < int < sbyte

sbyte < short < int < long

short < sbyte < int < long

short < int < sbyte < long

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The execution of the program begins with _______.

Main().

get().

class().

display().

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

WriteLine is a __________.

function.

keyword

literal

class

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In C#, 'using' is a _________.

class

directive

function

keyword

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

_________ framework has set of classes which are used to handle data access by connecting with different databases like SQL, Access, Oracle, etc

ADO.NET

ASP.NET

C#.NET

Visual Studio

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Encapsulation is defined as the process of enclosing one or more items within a physical or logical package.

Encapsulation, in object oriented programming methodology, prevents access to implementation details.

Abstraction allows making relevant information visible and encapsulation enables a programmer to implement the desired level of abstraction.

All Of above

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?