Search Header Logo

Trắc Nghiệm NNLT C++

Authored by Nguyễn Hữu Hậu

Computers

9th Grade

Used 4+ times

Trắc Nghiệm NNLT C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Cấu trúc của một chương trình trong NNLT C++ gồm:

Phần khai báo và phần thân

Phần khai báo

Phần thân

Tất cả đều đúng.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong C++, Khai báo thư viện là:

#include

using namespace std;

long long int x;

int main()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong C++, Khai báo biến số thực cho biến x là:

long double x;

long double y;

long long int x;

long long int y;

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong C++, Phần thân chương trình bắt đầu bằng:

int main() { …. }

#include

using namespace std;

long long int y;

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong C++, Để nhập dữ liệu cho biến ta dùng lệnh:

cin>>

cout<<

return 0;

long long int

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong C++, Để xuất dữ liệu cho biến ta dùng lệnh:

cout<<

cin>>

return 0;

long long int

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong C++, Dữ liệu kiểu số nguyên ta khai báo?

long long int

long double

bool

Tất cả đều đúng.

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?