
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
69 questions
JavaScript Basics Quiz
Quiz
•
10th Grade
69 questions
Ôn thi giữa kì 1 Tin 10
Quiz
•
10th Grade - University
66 questions
Pascal Basic
Quiz
•
10th Grade
60 questions
Test 1
Quiz
•
10th Grade
68 questions
Computer science Study Guide
Quiz
•
9th - 12th Grade
60 questions
TIN6_ÔN TẬP HKI_2425
Quiz
•
6th Grade - University
65 questions
Examen de Diagnostico de Tecnologia
Quiz
•
9th - 12th Grade
60 questions
UTS Spreadsheet X Ak
Quiz
•
10th Grade
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
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade