
Fenwick Tree
Authored by Tấn Nguyễn
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cây Fenwick là cấu trúc dữ liệu thao tác trên...
Mảng
Cây nhị phân
Cây cân bằng
Cây bất kỳ
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh idx & (-idx) dùng để tìm...
Vị trí số 1 đầu tiên của idx trong dãy nhị phân
Vị trí số 0 đầu tiên của idx trong dãy nhị phân
Vị trí số 1 cuối cùng của idx trong dãy nhị phân
Vị trí số 0 cuối cùng của idx trong dãy nhị phân
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho mảng [4, 7, 2, 8, 6, 3]. Cây Fenwick của mảng này là:
[4, 11, 13, 21, 27, 30]
[4, 11, 2, 21, 6, 9]
[4, 11, 2, 10, 6, 9]
[30, 19, 11, 10, 9, 4, 7, 2, 8, 6, 3]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng [4, 7, 2, 8, 6, 3]. Để tính tổng tích lũy từ 0 đến 3, cây Fenwick của nó đã phải đi qua những index nào?
1, 2, 3
1, 2, 3, 4
4
1, 2, 4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng [4, 7, 2, 8, 6, 3]. Index 6 của cây Fenwick này đang giữ giá trị là bao nhiêu?
3
9
30
17
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh di chuyển trong hàm tính tổng là:
idx -= idx & (-idx)
idx += idx & (-idx)
idx |= idx & (-idx)
idx = idx & (-idx)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng [4, 7, 2, 8, 6, 3]. Sau khi thực hiện lệnh update(3, 3) thì cây Fenwick của nó trở thành:
[4, 11, 16, 24, 30, 33]
[4, 11, 5, 24, 9, 12]
[4, 11, 5, 21, 6, 9]
[4, 11, 2, 24, 6, 9]
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?
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University