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

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
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 Quizizz
62 questions
Kiểu Dữ Liệu Danh Sách

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

Quiz
•
10th Grade
70 questions
TRẮC NGHIỆM CHK2 TIN HỌC 10 - Trưng Vương

Quiz
•
10th Grade
62 questions
ôn tập giữa kì 2

Quiz
•
9th - 12th Grade
60 questions
C# Programlama Temelleri

Quiz
•
9th - 10th Grade
64 questions
Kiểm tra kiến thức Python

Quiz
•
10th Grade
61 questions
Tin 10 CHK2

Quiz
•
10th Grade
68 questions
Câu hỏi ôn tập cuối kì 1 tin 10

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade