
Hàm 2
Authored by Edu TSmart
Computers
6th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây thêm phần tử vào map
m.insert({3, "Hello"});
m.push(3, "Hello");
m.add(3, "Hello");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào là cách thêm giá trị "A" vào key "name" trong map
m["name"] = "A";
m.at("name") = "A";
m.insert("name", "A");
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi thêm phần tử bằng insert(), nếu key đã tồn tại thì điều gì xảy ra?
Ghi đè giá trị cũ
Không thay đổi map
Xóa key đó
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
m[10] = 100; trong map
Cập nhật key 10 với giá trị 100
Xóa key 10
Không hợp lệ
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào sau đây là thêm đúng vào unordered_map
u["A"] = 10;
u.insert(10, "A");
u.push_back("A", 10);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào đúng để tăng giá trị của key 7 thêm 1 trong map
m[7] += 1;
m[7] = m[7] + 1;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để cập nhật m["x"] = "y" trong map
Key "x" đã có trước
Không cần điều kiện, sẽ tự động tạo nếu chưa có
Key "x" không tồn tại mới cập nhật
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?
Similar Resources on Wayground
25 questions
Chủ đề: Ms powerpoint
Quiz
•
2nd Grade - Professio...
34 questions
Tin 6 GK2 KĐ
Quiz
•
6th Grade
30 questions
WEEK 5 - UTS KELAS KOMPUTER
Quiz
•
1st Grade - University
28 questions
Productivity Programs
Quiz
•
KG - University
25 questions
Code.org Unit 3 Lessons 12-17
Quiz
•
6th - 8th Grade
25 questions
Python lesson 3 (Tkinter)
Quiz
•
6th - 12th Grade
25 questions
6th grade EOTY exam
Quiz
•
6th Grade
25 questions
ÔN TẬP GIỮA HKI TIN 6 - 2425
Quiz
•
6th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade