K11_Kiểm tra thường xuyên_Lần 1_HK1

K11_Kiểm tra thường xuyên_Lần 1_HK1

11th Grade

20 Qs

quiz-placeholder

Similar activities

CHINH PHỤC MÔN TIN HỌC GIỮA HKII LỚP 3

CHINH PHỤC MÔN TIN HỌC GIỮA HKII LỚP 3

9th - 12th Grade

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

K8 BÀI 2

K8 BÀI 2

8th Grade - University

22 Qs

KIỂM TRA CUỐI KÌ 1 TIN 7 ( 24 - 25 )

KIỂM TRA CUỐI KÌ 1 TIN 7 ( 24 - 25 )

7th Grade - University

20 Qs

8.12 C++ Test on Classes

8.12 C++ Test on Classes

9th - 12th Grade

15 Qs

K10_T10_TNBAI11_DIEMMIENG

K10_T10_TNBAI11_DIEMMIENG

10th - 12th Grade

20 Qs

Animated Canvas

Animated Canvas

9th - 12th Grade

19 Qs

K11_Kiểm tra thường xuyên_Lần 1_HK1

K11_Kiểm tra thường xuyên_Lần 1_HK1

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Nguyen Thi Huynh Kieu

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để nhập giá trị cho 2 biến x và y ta dùng lệnh:

cout >> x, y ;

cout >> x >> y ;

cin >> x, y ;

cin >> x >> y ;

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để đưa ra màn hình giá trị của biến a kiểu nguyên và biến b kiểu thực ta dùng lệnh:

cout << “ a, b” ;

cin >> “a, b” ;

cout << a << b ;

cin >> a, b ;

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong C++, cho đoạn chương trình:

{

int a = 100;

int b = 30;

int x = a / b ;

cout << x;

}

Cho biết kết quả sau khi thực hiện lệnh :

Báo lỗi do gán sai kiểu dữ liệu

10

3

1

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Trong C++, hàm cho giá trị bằng căn bậc 2 của x là :

sqrt(x);

exp(x);

abs(x);

pow(x,y);

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Trong C++, cho đoạn chương trình:

{

int a = 5;

int b = 2;

double x = a * 1.0 / b ;

cout << x;

}

Cho biết kết quả sau khi thực hiện lệnh :

2

Báo lỗi do gán sai kiểu dữ liệu

2.5

0

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Trong C++, phép toán % với số nguyên có tác dụng gì ?

Chia lấy phần nguyên

Làm tròn số

Chia lấy phần dư

Thực hiện phép chia

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Trong C++, để thực hiện gán giá trị 10 cho biến X. Phép gán nào sau đây là đúng?

X = 10;

X == 10;

X :== 10;

X : = 10;

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?