Search Header Logo

Câu hỏi về lập trình C++

Authored by ALOMIS Phan

Computers

Professional Development

Used 1+ times

Câu hỏi về lập trình C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

61 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào được sử dụng để lưu trữ số nguyên trong C++?

float

int

char

double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là toán tử gán trong C++?

==

=

!=

+=

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh 'cin >> x;' làm gì?

Xuất một giá trị ra màn hình

Gán một hằng số

Lấy đầu vào từ người dùng

Khai báo một hàm

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào có thể lưu trữ chuỗi trong C++?

string

char[]

Cả a và b

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cấu trúc điều khiển nào được sử dụng cho lựa chọn nhiều?

if

for

switch

while

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Vòng lặp nào kiểm tra điều kiện sau khi thực hiện ít nhất một lần?

while

for

do-while

switch

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp đúng để khai báo một mảng 10 số nguyên là gì?

int arr[10];

int[10] arr;

arr int[10];

array arr(10);

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?