Chương 2 - Biểu thức và thao tác cơ bản

Chương 2 - Biểu thức và thao tác cơ bản

University

15 Qs

quiz-placeholder

Similar activities

Sociología Latinoamericana_Facae01

Sociología Latinoamericana_Facae01

University

20 Qs

NIA 300

NIA 300

University

10 Qs

Cuộc đua kì thú

Cuộc đua kì thú

University

10 Qs

Prueba Final Promoción 243

Prueba Final Promoción 243

University

13 Qs

CUESTIONARIO "CIRCULO DE VIENA"

CUESTIONARIO "CIRCULO DE VIENA"

University

10 Qs

Chương 1 - Luật xây dựng

Chương 1 - Luật xây dựng

University

10 Qs

Integración vs Inclusión

Integración vs Inclusión

University

15 Qs

Teoría de Acción Comunicativa

Teoría de Acción Comunicativa

University

10 Qs

Chương 2 - Biểu thức và thao tác cơ bản

Chương 2 - Biểu thức và thao tác cơ bản

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

Đậu Phong

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đối tượng cin trong C++ dùng để làm gì?

In ra màn hình

Lưu trữ dữ liệu

Nhập dữ liệu từ bàn phím

Kết nối với cơ sở dữ liệu

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào sau đây là biểu thức toán học hợp lệ?

x = y + z - 5;

x = y / 0;

x = y *** z;

x = y ++ z;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chuyển đổi kiểu dữ liệu nào sau đây là đảm bảo tính chính xác?

Từ int sang char

Từ double sang int

Từ float sang double

Từ char sang int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tràn giá trị biến (overflow) xảy ra khi nào?

Khi giá trị của biến vượt quá giới hạn của kiểu dữ liệu

Khi giá trị của biến giảm xuống dưới giới hạn của kiểu dữ liệu

Khi giá trị của biến được gán một giá trị không đúng kiểu

Khi biến không được khởi tạo

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ép kiểu nào sau đây là ép kiểu rõ ràng?

int x = (int) y;

int x = y;

double x = y;

char x = 'y';

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phép gán nào sau đây là không hợp lệ?

x = y = z = 0;

x = y == z;

x = (y = z);

x, y, z = 0;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm sqrt() trong thư viện toán học dùng để làm gì?

Tính bình phương

Tính căn bậc hai

Tính lũy thừa

Tính giai thừa

Create a free account and access millions of resources

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?