
Qizzziz - Hàm trong C
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Practice Problem
•
Medium
Quý Ngọ
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ C, Hàm có thể được định nghĩa ở đâu?
Bên trong một hàm khác
Ở bất kỳ vị trí nào trong chương trình
Chỉ ở đầu chương trình
Chỉ ở cuối chương trình
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để trả về giá trị từ một hàm trong C, chúng ta sử dụng từ khóa nào?
continue
return
exit
break
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi một hàm không trả về giá trị, chúng ta sử dụng từ khóa nào trong khai báo hàm?
float
int
return
void
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cách khai báo một hàm trong C?
function myFunction(int, float);
int myFunction(int, float);
myFunction(int, float) int;
int myFunction;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi một hàm trong C, chúng ta cần gì?
Chỉ cần tên hàm
Tên hàm và các tham số trong ngoặc đơn
Tên hàm và dấu ngoặc đơn
Không cần gì cả
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong C, từ khóa nào được sử dụng để xác định một tham số của hàm không thể thay đổi giá trị trong hàm?
volatile
static
const
final
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
Chương trình in ra "Hello!"
Chương trình chạy nhưng không in ra gì trên màn hình
Chương trình sẽ báo lỗi biên dịch
Chương trình báo lỗi thời gian chạy (runtime error) và không in ra gì trên màn hình.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
KHÁI QUÁT VỀ BẢN VẼ KỸ THUẬT
Quiz
•
8th - 12th Grade
16 questions
Google Search
Quiz
•
1st Grade - Professio...
10 questions
Bài 1. Khái quát về kĩ thuật điện-01
Quiz
•
12th Grade
10 questions
15p - công nghệ
Quiz
•
9th Grade
20 questions
Tin học 8 [02]
Quiz
•
8th - 12th Grade
10 questions
Tin 10 Bài 22-23
Quiz
•
10th Grade
20 questions
soạn thảo văn bản word tin 10
Quiz
•
10th Grade
10 questions
KIEM TRA 10P CNTT 10
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Instructional Technology
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
