Session 15 + 16 : Function
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
academy rikkei
Used 43+ times
FREE Resource
Enhance your content in a minute
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
Already have an account?
Similar Resources on Wayground
18 questions
Python Library Routines Quiz
Quiz
•
10th Grade - University
10 questions
Repaso Segundo Parcial - AdC 2024 - K1031
Quiz
•
University
10 questions
ASSESSING HARDWARE
Quiz
•
University
15 questions
Operating System
Quiz
•
University
10 questions
Fundamentos de Programación en Python
Quiz
•
6th Grade - University
16 questions
Domain 4 - Network Security
Quiz
•
10th Grade - University
10 questions
CHAPTER 2: SYSTEM ANALYSIS AND DESIGN
Quiz
•
University
10 questions
高二資訊課補考題目
Quiz
•
11th Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
