C# Quiz Time

C# Quiz Time

University

10 Qs

quiz-placeholder

Similar activities

Exploring Drone Technology in Career Clusters

Exploring Drone Technology in Career Clusters

10th Grade - University

15 Qs

SQL PRE-ASSESSMENT (MOTIVATION)

SQL PRE-ASSESSMENT (MOTIVATION)

University

10 Qs

Recap Handout 3 & 4

Recap Handout 3 & 4

6th Grade - University

15 Qs

Quiz #2

Quiz #2

University

15 Qs

Table,Image formatting

Table,Image formatting

5th Grade - University

15 Qs

Network Technology (BSIT 4)

Network Technology (BSIT 4)

University

12 Qs

POST-TEST

POST-TEST

University

15 Qs

Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B

Parcial 1 Reparación y Soporte- 5to BACO - I Unidad Forma B

10th Grade - University

13 Qs

C# Quiz Time

C# Quiz Time

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

sun ita

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

C# is a programming language, developed by ___.


a. Google

b. Oracle

c. Microsoft

d. IBM

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the Console.WriteLine() function do?


a) Reads input

b) Writes to a file

c) Writes to the console with a new line

d) Clears the console

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword is used to inherit from a base class in C#?

a. extends

b. inherits

c. implement

d. : (base)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following access modifiers allows a member to be accessed from any class within the same assembly but not from outside the assembly?


internal
private
protected
public

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is LINQ in C#?


LINQ is a database management system.
LINQ is a programming language for web development.
LINQ is a feature in C# for querying data in a consistent manner.
LINQ is a tool for designing user interfaces.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can you make a class in C# so that it cannot be inherited?


Use the 'sealed' keyword in the class declaration.
Use the 'abstract' keyword in the class declaration.
Make the class private to prevent inheritance.
Implement the class as a static class.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct way to define an anonymous method in C#?


delegate { /* method body */ }
delegate void Method() { /* body */ }
anonymous void method() { /* body */ }
function() { /* method body */ }

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?