C# Quiz Time

C# Quiz Time

University

10 Qs

quiz-placeholder

Similar activities

QUIZ KEJAHATAN DUNIA MAYA

QUIZ KEJAHATAN DUNIA MAYA

University

12 Qs

Data Visualization with Qlik Cloud

Data Visualization with Qlik Cloud

University

10 Qs

Mobile Programming - POCC

Mobile Programming - POCC

University

15 Qs

DBMS Group 8 Review Quiz

DBMS Group 8 Review Quiz

University

15 Qs

HCI GOMS quiz

HCI GOMS quiz

University

15 Qs

ViewSonic LCD Training

ViewSonic LCD Training

12th Grade - University

15 Qs

komputasi awan

komputasi awan

University

15 Qs

Quiz 1 Normalisasi

Quiz 1 Normalisasi

University

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