Search Header Logo

Bài tập trắc nghiệm LTCB

Authored by nguyenngoc que

Other

1st Grade

Used 1+ times

Bài tập trắc nghiệm LTCB
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Kiểu dữ liệu nào sau đây là kiểu nguyên?

float

double

int

char

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Kết quả của biểu thức 5 % 2 là gì?

0

1

2

5

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Ký tự kết thúc chuỗi trong C là gì?

'\n'

'\t'

'\0'

'\ \'

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được dùng để nhập dữ liệu từ bàn phím?

printf()

scanf()

puts()

fgets()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Cú pháp đúng của câu lệnh if trong C là gì?

if (x > 0) { printf("Positive"); }

if x > 0 { printf("Positive"); }

if { x > 0 printf("Positive"); }

if x > 0: printf("Positive")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của vòng lặp sau là gì? c

for (int i = 0; i < 3; i++) { printf("%d ", i); }

0 1 2

1 2 3

0 1 2 3

1 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phép toán nào dùng để lấy địa chỉ của biến?

*

&

%

$

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?