
Tin11
Quiz
•
Education
•
11th Grade
•
Practice Problem
•
Easy
Thanh Bui
Used 94+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Cấu trúc lặp với số lần biết trước trong C++ có dạng:
for([khởi tạo]; [điều kiện lặp]; [bước nhảy]) [lệnh];
for([khởi tạo]; [điều kiện lặp]) [lệnh];
for([khởi tạo]; [điều kiện lặp]; [bước nhảy])
for([điều kiện lặp]; [bước nhảy]) [lệnh];
2.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Câu 2. Cấu trúc lặp với số lần chưa biết trước trong C++ có dạng:
A. while (< điều kiện lặp>) :< câu lệnh>;
B. while < câu lệnh>;
C. while (< điều kiện lặp>) < câu lệnh>;
D. while (< điều kiện lặp>)
3.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Câu 3. Cho đoạn lệnh sau:
for (int i = 1; i <= 5; i++) cout<< i;
Trên màn hình có các giá trị là:
A. 0 1 2 3 4 5
B. 1 2 3 4 5
C. 0 1 2 3 4
D. 1 2 3 4
4.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Câu 4. Cho đoạn lệnh sau:
for (int i = 5; i >=0; i--) cout<< i<<” “;
Trên màn hình có các giá trị là:
A. 0 1 2 3 4 5
B. 5 4 3 2 1
C. 1 2 3 4 5
D. 5 4 3 2 1 0
5.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Câu 5. Cho đoạn lệnh sau:
i=1;
n=5;
while (i<=n)
{i=i+1; cout<< i;}
Trên màn hình có các giá trị là:
A. 2 3 4 5 6
B. 5 4 3 2 1
C. 1 2 3 4 5
D. 23456
6.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Câu 6. Cho đoạn chương trình sau:
cin >> a;
n = 0;
double s = 1.0/a; // Buoc 1
while(!(1.0/(a+n) < 0.0001))
{
n++;
s += 1.0/(a+n);
}
Trong đoạn chương trình trên vòng lặp thực hiện lặp bao nhiêu lần?
A. a lần
B. 10 lần
C. n lần
D. Không biết trước
7.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Câu 7. Cho đoạn chương trình sau:
s=0
for ( i =1;i<=5;i++) s=s+i;
Sau khi thực hiện đoạn chương trình trên giá trị của s là:
A. 1
B. 15
C. 6
D. 21
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
25 questions
Yazılı Edebiyat ve Geçiş Dönemi
Quiz
•
11th Grade
25 questions
E-learnig hotelarski - Test01
Quiz
•
10th - 11th Grade
25 questions
Grammatik wiederholen
Quiz
•
8th - 12th Grade
25 questions
Similarity(S.A.S and S.S.S. Similarity)
Quiz
•
9th - 12th Grade
25 questions
Riddles
Quiz
•
KG - University
25 questions
Bahasa Jawa Kelas XII
Quiz
•
10th - 12th Grade
30 questions
Informatyka stosowana 1
Quiz
•
10th - 11th Grade
25 questions
Informatika
Quiz
•
7th Grade - University
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Education
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
