
Kiểm tra kiến thức C++
Quiz
•
Computers
•
10th Grade
•
Easy
Tài Trần
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
60 questions
C# Programlama Temelleri
Quiz
•
9th - 10th Grade
70 questions
Python / Algorithms 7/3/19
Quiz
•
10th Grade
63 questions
CSS
Quiz
•
10th Grade - University
70 questions
ôn giữa kì 2 k10
Quiz
•
10th Grade
67 questions
Câu Hỏi Trắc Nghiệm KTGKI Tin Học 10
Quiz
•
10th Grade
60 questions
ÔN TẬP GIỮA KỲ 1 K10 2025-2026
Quiz
•
10th Grade
60 questions
AQA GCSE Algorithms
Quiz
•
9th - 11th Grade
62 questions
ÔN TẬP Giữa Kỳ Môn Tin Học 8
Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
