
Câu lệnh lặp While _ Do
Authored by nguyen Bich
Computers
1st - 11th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp While – do kết thúc khi nào?
Khi một điều kiện cho trước được thỏa mãn
Khi đủ số vòng lặp
Khi tìm được Output
Tất cả các phương án
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mọi quá trình tính toán đều có thể mô tả và thực hiện dựa trên cấu trúc cơ bản là:
Cấu trúc tuần tự
Cấu trúc rẽ nhánh
Cấu trúc lặp
Cả ba cấu trúc
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
: Tính tống S = 1 + 2 + 3 + … + n + … cho đến khi S>108. Điều kiện nào sau đây cho vòng lặp while – do là đúng:
While S>=108 do
While S < 108 do
While S < 1.0E8 do
While S >= E8 do
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Câu lệnh sau giải bài toán nào:
While M <> N do
If M > N then M:=M-N else N:=N-M;
Tìm UCLN của M và N
Tìm BCNN của M và N
Tìm hiệu nhỏ nhất của M và N
Tìm hiệu lớn nhất của M và N
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho S, i là các biến kiểu nguyên. Sau khi chạy đoạn chương trình:
S:=0; i:=1;
While i<=7 do
Begin
s:=s+i;
i:=i+2;
End;
Giá trị của S sẽ là:
7
16
28
9
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Đoạn chương trình nào dưới đây không dùng để tính tích của 9 số tự nhiên đầu tiên?
T:=0; i:=1;
While i<=9 do begin
T:=T*i;
i:=i+1;
end;
T:=1; i:=9;
While i>=1 do begin
T:=T*i;
i:=i-1;
end;
T:=1; i:=1;
While i<=9 do begin
i:=i+1;
T:=T*i;
end;
T:=2; i:=3;
While i<=9 do begin
T:=T*I;
i:=i+1;
end;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn lệnh sau, mỗi lần lặp giá trị của biến i trong câu lệnh sau thay đổi như thế nào?
While i<=10 do i:=i+3;
Tăng 1
Tăng 2
Tăng 3
Tăng 4
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
15 questions
Pre-Test-Com P.5
Quiz
•
5th Grade
13 questions
PowerPoint Quiz 2
Quiz
•
9th Grade
12 questions
cyber Security
Quiz
•
1st - 5th Grade
15 questions
G2 multimedia review
Quiz
•
2nd Grade
10 questions
TIN8-HK1-KTTX1
Quiz
•
8th Grade
10 questions
Introduction to cloud Computing.
Quiz
•
1st - 3rd Grade
10 questions
Ôn tập về phần mềm soạn thảo văn bản
Quiz
•
1st - 5th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade