
Ôn tập bài tập code C# chương 6,7,8,9
Authored by Hoàng Phúc Hậu
Information Technology (IT)
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Câu 6: Output của code là gì? `List<string> tasks = new List<string>(); tasks.Add("Plan Campaign"); tasks.Add("Write Content"); Console.WriteLine(tasks.Count);`
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Câu 7: Đoạn code này in ra gì? `List<int> scores = new List<int> { 8, 5, 9 }; scores.Add(7); Console.WriteLine(scores[3]);`
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Câu 8: Giá trị của `firstItem` là gì? `var items = new List<string> { "Laptop", "Mouse", "Keyboard" }; string firstItem = items[0];`
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Câu 9: Code sau làm gì? `int[] arr1 = {1, 2}; int[] arr2 = arr1; arr2[0] = 99; Console.WriteLine(arr1[0]);`
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Câu 10: Kết quả? `List<double> data = new List<double>(); data.Add(1.1); data.Add(2.2); data.RemoveAt(0); Console.WriteLine(data[0]);`
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Câu 1: Output của đoạn code sau là gì? `int[,] matrix = { {1, 2}, {3, 4} }; Console.WriteLine(matrix[0, 1]);`
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Câu 2: Lệnh nào khai báo đúng một mảng 2 chiều chữ nhật 3x2 chứa chuỗi?
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?