Buổi 6 _1

Buổi 6 _1

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Python 1 модуль

Python 1 модуль

1st - 10th Grade

18 Qs

Строки в с++

Строки в с++

8th Grade

11 Qs

C++ Pointer

C++ Pointer

6th - 8th Grade

10 Qs

8 klasa C++

8 klasa C++

7th - 10th Grade

20 Qs

Structura liniara in C++

Structura liniara in C++

7th Grade

19 Qs

Массивы в C++: ввод/вывод

Массивы в C++: ввод/вывод

6th - 8th Grade

11 Qs

VIII C++ k v2

VIII C++ k v2

8th Grade

10 Qs

LOP 11 CHUONG 1 2

LOP 11 CHUONG 1 2

1st - 12th Grade

15 Qs

Buổi 6 _1

Buổi 6 _1

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Thanh Huyền

Used 2+ times

FREE Resource

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ự

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?