Search Header Logo

Câu Hỏi Trắc Nghiệm về Biến và Kiểu Dữ Liệu

Authored by Huong Phung

Computers

1st Grade

Used 4+ times

Câu Hỏi Trắc Nghiệm về Biến và Kiểu Dữ Liệu
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu nào sau đây khai báo biến nguyên đúng trong C++?

int x;

integer x;

x int;

x = int;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biến là gì trong lập trình C++?

Một loại hàm

Một vùng nhớ có tên dùng để lưu trữ dữ liệu

Một từ khóa

Một lệnh điều kiện

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu khai báo biến nào sai?

int a, b;

float x = 3.14;

char name = "A";

double pi = 3.1415;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biến trong C++ phải được khai báo:

Sau khi sử dụng

Ở cuối chương trình

Trước khi sử dụng

Không cần khai báo

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tên biến hợp lệ là:

1stvalue

value_1

int

float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào dùng để lưu trữ số nguyên?

int

float

char

bool

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu char dùng để lưu:

Số nguyên

Ký tự đơn

Câu lệnh

Chuỗi

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?