
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
Similar Resources on Wayground
60 questions
Remedial XTKJ Pemrograman Dasar PAS GJL

Quiz
•
10th Grade
62 questions
Ôn tập tin học 10 23-24 (tham khảo)

Quiz
•
10th Grade
60 questions
Orientasi Dasar Perangkat Lunak dan Gim

Quiz
•
10th Grade
61 questions
TIN 11 - ON KY 2

Quiz
•
10th Grade
60 questions
Tin nhé

Quiz
•
10th Grade
68 questions
ôn giữa kì 2

Quiz
•
10th Grade
68 questions
Câu hỏi về Python

Quiz
•
10th Grade
68 questions
Ôn tập kiểm Tra Học Kì 2 Tin Học 10

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade