Search Header Logo

Kiến thức cơ bản về C#

Authored by huynh duy

Other

University

Used 3+ times

Kiến thức cơ bản về C#
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C# là ngôn ngữ lập trình được phát triển bởi ai?

Apple

Oracle

Google

Microsoft

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp khai báo biến trong C# như thế nào?

The syntax for declaring a variable in C# is: ;

;

= ;

: ;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lập trình hướng đối tượng trong C# có những đặc điểm gì?

Các đặc điểm của lập trình hướng đối tượng trong C# bao gồm: Tính đóng gói, Tính kế thừa, Tính đa hình, và Tính trừu tượng.

Tính tuần tự

Tính tĩnh

Tính đồng bộ

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi nào thì sử dụng từ khóa 'this' trong C#?

Sử dụng 'this' để tham chiếu đến biến toàn cục.

Sử dụng 'this' để tham chiếu đến đối tượng hiện tại trong lớp.

Sử dụng 'this' để tạo một lớp mới.

Sử dụng 'this' để gọi phương thức tĩnh.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cách xử lý ngoại lệ trong C# là gì?

Bỏ qua ngoại lệ mà không xử lý.

Sử dụng khối switch-case để xử lý ngoại lệ.

Sử dụng khối try-catch-finally để xử lý ngoại lệ.

Sử dụng khối if-else để xử lý ngoại lệ.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sự khác nhau giữa 'try-catch' và 'try-finally' là gì?

'try-catch' handles exceptions, while 'try-finally' ensures code execution regardless of exceptions.

'try-catch' is used for resource management, while 'try-finally' is for error logging.

'try-catch' can only be used in synchronous code, while 'try-finally' can be used in asynchronous code.

'try-catch' allows multiple catch blocks, while 'try-finally' does not allow any catch blocks.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C# hỗ trợ những loại cơ sở dữ liệu nào?

SQL Server, MySQL, PostgreSQL, SQLite, Oracle, MongoDB

Cassandra

Firebase

Microsoft Access

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?