
CNTT K57_Pro
Authored by Mai Le
Other
3rd Grade - University
Used 5+ times

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
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
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
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
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
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?