
Kiểm tra kiến thức ngôn ngữ C
Authored by Thị Hồ
Other
University
Used 5+ times

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
30 sec • 1 pt
Để khai báo một biến số nguyên trong C, cú pháp nào là đúng?
int a;
number a;
var a: int;
integer a;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để in ra màn hình trong ngôn ngữ C?
echo
printf
display
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là đặc điểm của vòng lặp for?
Chạy vô hạn
Có số lần lặp xác định
Chạy theo điều kiện
Không cần biến điều khiển
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào sau đây dùng để lấy địa chỉ của biến?
&
*
%
$
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sẽ cho kết quả là "Hello, World!"?
printf("Hello, World!");
echo("Hello, World!");
print("Hello, World!");
write("Hello, World!");
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để kiểm tra điều kiện trong switch?
case
if
default
check
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tính tổng hai số nguyên a và b, câu lệnh nào là đúng?
sum = a + b;
sum(a, b);
total = add(a, b);
a + b = sum;
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?