Search Header Logo

CNTT K57_Pro

Authored by Mai Le

Other

3rd Grade - University

Used 5+ times

CNTT K57_Pro
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Câu lệnh nào xuất giá trị biến số thực a có độ chính xác là 2 chữ số thập phân

printf(“%f”, a);

printf(“%2f”, a);

printf(“%f”, &a);

printf(“%.2f”, a);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Câu lệnh nào dùng để nhập giá trị từ bàn phím vào cho biến số nguyên sum ?

scanf(“%d”, &sum);

scanf(“%s”, sum);

scanf(“%f”, &sum);

scanf(sum);

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Kết thúc 1 dòng lệnh trong C, ta sử dụng ký hiệu gì?

.

:

,

;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Xâu định dạng nào dưới đây dùng để in ra một kí tự ?

“%f”

“%c”

“%s”

“%x”

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của chương trình sau:

#include <stdio.h>

#include <conio.h>

void main()

{

int i;

i=10;

printf(“%d”,i);

getch();

}

12

0

10

Chương trình báo lỗi

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?