Search Header Logo

Quiz on .NET Core and C#

Authored by Bishow Shrestha

Other

University

Used 3+ times

Quiz on .NET Core and C#
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is ASP.NET Core?

ASP.NET Core is a cooking recipe website

ASP.NET Core is a type of car engine

ASP.NET Core is a cross-platform, high-performance framework for building modern, cloud-based, Internet-connected applications.

ASP.NET Core is a new social media platform

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the difference between .NET Core and .NET Framework.

.NET Framework is cross-platform and open-source.

.NET Core is cross-platform and open-source, while .NET Framework is Windows-only and monolithic.

.NET Core is cross-platform and closed-source.

.NET Core is Windows-only and monolithic.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic data types in C#?

long

float

array

int, double, char, bool, string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in C#?

variableName := value;

int variableName = value;

var variableName = value;

variableName = value;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a RESTful API?

To facilitate communication between systems over the internet using standard HTTP methods.

To bake cookies

To fly to the moon

To predict the weather

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the concept of routing in ASP.NET Core.

Routing is the process of handling static files in ASP.NET Core.

Routing refers to the process of authenticating users in ASP.NET Core.

Routing in ASP.NET Core is the process of matching incoming HTTP requests to an endpoint in the application.

Routing involves managing database connections in ASP.NET Core.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of middleware in ASP.NET Core?

Middleware is used for front-end design only in ASP.NET Core.

Middleware is responsible for database management in ASP.NET Core.

Middleware in ASP.NET Core plays a crucial role in processing HTTP requests and responses by providing a flexible and modular way to handle different aspects of the application's logic.

Middleware is not necessary in ASP.NET Core applications.

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?