Search Header Logo

Buổi 6 _1

Authored by Thanh Huyền

Computers

6th - 8th Grade

Used 2+ times

Buổi 6 _1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dưới đây dùng để xuất thông tin ra màn hình trong C++?

print("Hello");

cout << "Hello";

printf("Hello");

write("Hello");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dưới đây dùng để xuất thông tin ra màn hình trong C++?

print("Hello");

cout << "Hello";

printf("Hello");

write("Hello");

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ký tự đặc biệt \n dùng để làm gì trong chuỗi ký tự?

Xuống dòng mới

Xóa dòng

Hiển thị dấu \

Kết thúc chuỗi

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn lệnh nào sau đây cho kết quả 2 dòng hiển thị ra màn hình?

cout << "Hello\nWorld";

cout << "Hello\\nWorld";

cout << "Hello"; cout << "World";

cout << "Hello" + "World";

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh cout << "A\\B"; sẽ in ra gì?

A\B

AB

A\\B

A/B

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khai báo biến nguyên đúng cú pháp trong C++ là:

int a = 3.5;

float a = "3.5";

int a = 3;

char a = 3;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Một số nguyên

Một ký tự

Một số thực

Một chuỗi ký tự

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?