
CTDL&TG_Buoi1
Authored by Thắng Quốc
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Đâu là cách khai báo một biến số nguyên hợp lệ trong C++?
Answer explanation
Trong C++, từ khóa 'int' được sử dụng để khai báo một biến kiểu số nguyên.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết quả của đoạn code sau là gì: `int x = 5; int y = 2; cout << x / y;`
Answer explanation
Phép chia giữa hai số nguyên sẽ cho kết quả là một số nguyên (phần nguyên của kết quả), vì vậy 5 chia cho 2 sẽ được 2.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Toán tử nào được sử dụng để truy cập địa chỉ của một biến?
Answer explanation
Toán tử '&' (address-of) được sử dụng để lấy địa chỉ bộ nhớ của một biến.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Dòng nào sau đây sẽ in ra "Hello, World!" và xuống dòng mới?
Answer explanation
`endl` trong C++ không chỉ xuống dòng mà còn xóa bộ đệm (flush buffer), đảm bảo nội dung được in ra ngay lập tức.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kiểu dữ liệu nào phù hợp nhất để lưu trữ giá trị `true` hoặc `false`?
Answer explanation
Kiểu dữ liệu 'bool' (boolean) được thiết kế chuyên để lưu trữ các giá trị logic là true hoặc false.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Vòng lặp nào trong C++ sẽ thực thi khối lệnh ít nhất một lần?
Answer explanation
Vòng lặp 'do-while' kiểm tra điều kiện ở cuối vòng lặp, do đó khối lệnh bên trong nó luôn được thực thi ít nhất một lần.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Làm thế nào để viết một dòng chú thích trong C++?
Answer explanation
Ký tự '//' được sử dụng để bắt đầu một chú thích trên một dòng. Mọi thứ từ sau '//' đến cuối dòng sẽ bị trình biên dịch bỏ qua.
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
96 questions
Chủ đề 1: CĂN BẢN VỀ CÔNG NGHỆ (GS6 _LV1_2024)
Quiz
•
1st Grade - University
100 questions
(ROOM 2) TEST QUIZIZ OPEN LREK ASLAB KOMPUTER 2024
Quiz
•
University
95 questions
Ứng dụng Công nghệ thông tin 2
Quiz
•
University
97 questions
300 Câu Hỏi Trắc Nghiệm Lịch Sử Đảng
Quiz
•
University
95 questions
CĐS-2
Quiz
•
University
105 questions
Tin học đại cương 6-7-8
Quiz
•
University
99 questions
Вопросы по Python
Quiz
•
University
98 questions
CNTT
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University