Session 15 + 16 : Function
Quiz
•
Information Technology (IT)
•
University
•
Medium
academy rikkei
Used 32+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thuật toán Bubble Sort có đặc điểm gì?
So sánh từng cặp phần tử liền kề và hoán đổi nếu chúng sai thứ tự
Chọn phần tử nhỏ nhất và hoán đổi với phần tử đầu tiên
Chèn phần tử vào đúng vị trí trong mảng đã sắp xếp
Chọn phần tử lớn nhất và hoán đổi với phần tử cuối cùng
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thuật toán Selection Sort hoạt động như thế nào?
So sánh từng cặp phần tử liền kề và hoán đổi nếu chúng sai thứ tự
Chọn phần tử nhỏ nhất và hoán đổi với phần tử đầu tiên
Chèn phần tử vào đúng vị trí trong mảng đã sắp xếp
Chọn phần tử lớn nhất và hoán đổi với phần tử cuối cùng
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thuật toán Linear Search hoạt động như thế nào?
Tìm kiếm từ đầu đến cuối mảng cho đến khi tìm thấy phần tử cần tìm
Chia đôi mảng và tìm kiếm trong nửa tương ứng
Tìm kiếm phần tử nhỏ nhất trong mảng
Tìm kiếm phần tử lớn nhất trong mảng
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Độ phức tạp thời gian trung bình của Linear Search là gì?
O(1)
O(log n)
O(n)
O(n^2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào đúng để khai báo một hàm trong C?
int functionName()
void functionName;
functionName();
int functionName(void);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào khai báo một hàm trả về giá trị kiểu số nguyên trong C?
void functionName()
int functionName()
functionName()
functionName(int)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để gọi một hàm trong C?
call functionName()
functionName();
functionName;
int functionName();
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
15 questions
ITEC101 - Lesson 1 - Quiz 1
Quiz
•
University
12 questions
PYTHON APTITUDE
Quiz
•
University
14 questions
Excel Basics Quiz
Quiz
•
10th Grade - University
15 questions
Grade 6 - Living with AI
Quiz
•
6th Grade - University
15 questions
Chapter 3 : SQL Command
Quiz
•
University
15 questions
LibreOffice Writer Styles Quiz
Quiz
•
10th Grade - University
10 questions
Introduction & Basic Program Structure
Quiz
•
University
15 questions
Java_MCQ_3
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University
