Search Header Logo

Ôn Tập Buổi TH2 - CSLT

Authored by Bảy Nguyễn Văn

Computers

University

Used 9+ times

Ôn Tập Buổi TH2 - CSLT
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Từ khóa trong C++ được viết bằng:

Chữ hoa
Chữ thường
Ký tự đặc biệt
Tùy ý

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Trong C++, tên nào được đặt đúng quy tắc đặt tên cho biến?

simple_name
firstName
PI
2values

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Kiểu int có kích thước bao nhiêu byte?

1
2
4
8

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Khi khai báo biến kiểu int không khởi tạo giá trị ban đầu thì giá trị mặc định là

0
1
null
giá trị rác

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Trong các kiểu dữ liệu sau, kiểu nào có thể lưu trữ ký tự?

int
double
char
bool

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để nhập dữ liệu từ bàn phím vào biến x có kiểu int ta sử dụng câu lệnh

input >> x;
scanner >> x;
cin >> x;
get >> x;

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để xuất dữ liệu ra màn hình ta sử dụng câu lệnh

print << variable;

console << variable;

printf << variable;

cout << variable;

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?