
Kiểm tra kiến thức C++
Authored by Tài Trần
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho biến m là biến dùng để biểu diễn số chiến sỹ tham gia chiến dịch Điện Biên Phủ 30268 người. Hãy lựa chọn cách khai báo biến m là đúng và hợp lý nhất
a. long m;
b. int m;
c. short int m;
d. float m;
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Hãy cho biết giá trị của biến i khi thực hiện đoạn chương trình sau: int a[10]={4, 1, 0, 9, 7, 8, 3, 9, 7, 4}; int N=10; i=0; x=9; while(x!=a[i] &&i<N) i=i+1;
a. 3
b. 4
c. 8
d. 0
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Cho khai báo int a[10]={4, 1, 0, 9, 7, 8, 3, 9, 7, 4}; Hãy chọn mệnh đề đúng trong các mệnh đề sau
a. a[1]=4
b. a[8]=7
c. a[4]=7
d. a[10]=4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s= "LeQuiDon", hàm s.length() cho giá trị là:
e. 3
f. 7
g. 8
h. 9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xác định kết quả của đoạn chương trình sau: string S="THPT Le Quy Don"; cout<<S.
substr(5,7);
a. THPT
b. Le Quy Don
c. THPT Le
d. Le Quy
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xác định kết quả của đoạn chương trình sau: string S="THPT Le Quy Don Dien Bien", S[5] = ? lựa chọn trả lời
a. D
b. e
c. B
d. L
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s1= "Tin hoc", xâu s2= "Lap Trinh". Phép chèn s1.insert(7, s2) trả về kết quả nào?
a. Lap trinh Tin hoc
b. Lap trinhTin hoc
c. Tin hocLap trình
d. Tin hoc Lap trinh
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
60 questions
MEGAQUIZ 2
Quiz
•
3rd - 12th Grade
63 questions
tin hoc 10
Quiz
•
10th Grade
60 questions
IT Mid-Term Examination Form 5_T1_2025
Quiz
•
9th - 12th Grade
60 questions
CK1 Tin 10
Quiz
•
10th Grade
61 questions
Sinh 11 bản 03
Quiz
•
10th Grade
66 questions
ÔN TẬP CUỐI HK2 TIN 10 NH 2024-2025
Quiz
•
10th Grade
69 questions
Câu hỏi trắc nghiệm về Python
Quiz
•
10th Grade
60 questions
Quiz về Công Nghệ Thông Tin
Quiz
•
10th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade