Ôn tập PMMNM chương 3 4

Ôn tập PMMNM chương 3 4

University

100 Qs

quiz-placeholder

Similar activities

Tin Bài 4,5,6,7,8,9

Tin Bài 4,5,6,7,8,9

University

98 Qs

IT112 Midterm

IT112 Midterm

11th Grade - University

100 Qs

TRẮC NGHIỆM MÔN HỆ ĐIỀU HÀNH

TRẮC NGHIỆM MÔN HỆ ĐIỀU HÀNH

University

105 Qs

THCB-PART3

THCB-PART3

University

100 Qs

tin học p1

tin học p1

University

99 Qs

trí tuệ nhân tạo

trí tuệ nhân tạo

University

104 Qs

QUIZ SEMESTER 1

QUIZ SEMESTER 1

University

100 Qs

Tổng hợp Cđ 1 2 3

Tổng hợp Cđ 1 2 3

University

104 Qs

Ôn tập PMMNM chương 3 4

Ôn tập PMMNM chương 3 4

Assessment

Quiz

Computers

University

Medium

Created by

22 Ngọc

Used 1+ times

FREE Resource

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chức năng chính của hàm printf() trong C là gì?
Xuất dữ liệu ra màn hình
Nhập dữ liệu từ bàn phím
Tính toán số học
Đọc dữ liệu từ file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp đúng của hàm printf() là gì?
printf("format", biến);
printf(biến, "format");
print("format", biến);
printf["format", biến];

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ví dụ printf("Gia tri: %d", a); in ra gì nếu a = 5?
In ra chữ "a"
In ra 5
In ra "Gia tri: 5"
In ra "Gia tri: %d"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khai báo một hàm trong C cần làm bước nào?
Chỉ cần viết tên hàm trong main
Khai báo nguyên mẫu, định nghĩa, gọi hàm
Chỉ cần định nghĩa trong main
Không cần khai báo

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp khai báo một hàm trả về số nguyên có tên sum nhận 2 tham số int là gì?
int sum(a, b);
int sum(int a, int b);
void sum(int a, int b);
function sum(int a, int b);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm scanf() trong C có chức năng gì?
Xuất dữ liệu ra màn hình
Nhập dữ liệu từ bàn phím
Đọc dữ liệu từ file
Kết thúc chương trình

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sự khác nhau giữa printf() và scanf() là gì?
Cả hai đều nhập dữ liệu
Cả hai đều xuất dữ liệu
printf() xuất dữ liệu, scanf() nhập dữ liệu
printf() nhập dữ liệu, scanf() xuất dữ liệu

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?