
câu lệnh lặp for ... do
Authored by hang nguyen
Computers
8th Grade
Used 28+ 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
Câu lệnh For nào đúng:
For x:=1 to 10 to Writeln('x');
For x:=1 do 10 to Writeln('x');
For x:=1 to 10 do Writeln('x');
For x:=1 to 10 to Writeln(x);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong vòng lặp For – do biến đếm là số nguyên sẽ:
Tự động tăng 1 đơn vị
Tự động tăng 2 đơn vị
Người lập trình có thể tùy chỉnh tăng hay giảm
Phần mềm tự tăng theo giá trị ngẫu nhiên
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong lệnh lặp For – do: (chọn phương án đúng nhất)
Giá trị đầu phải nhỏ hơn giá trị cuối
Giá trị đầu phải nhỏ hơn hoặc bằng giá trị cuối
Giá trị đầu phải lớn hơn giá trị cuối
Giá trị đầu phải bằng giá trị cuối
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
j:= 0;
for i:= 1 to 3 do j:=j+2;
writeln( j );
Giá trị xuất lên màn hình là
4
6
8
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong câu lệnh For i:=1 to n do writeln(i);
Thì i đóng vai trò là gì?
Kí tự
Hằng
Xâu
Biến đếm
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong câu lệnh For i:=1 to n do writeln(i);
Thì giá trị đầu là bao nhiêu?
Không xác định
n
1
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền vào chỗ trống:
Cho câu lệnh:
For i:= 1 to n do S:=S+i;
Câu lệnh trên dùng để tính
______ các số từ __ đến ____
Tong, 1, n
n, tong, 1
Tong, n,1
1, n, tong
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
Programación
Quiz
•
7th - 9th Grade
10 questions
Diagramas de Flujo
Quiz
•
7th - 10th Grade
15 questions
แนวคิดแบบลีนและการสัมภาษณ์ ม.3
Quiz
•
8th Grade
10 questions
สอบกลางภาค ม.2
Quiz
•
6th - 8th Grade
9 questions
T1_Nội qui phòng ICT
Quiz
•
6th - 9th Grade
14 questions
Repaso Teórico Conceptos Pascal
Quiz
•
8th - 12th Grade
15 questions
Chapter : 9 Working with tables
Quiz
•
5th Grade - University
15 questions
Ôn tập học kì 1 Tin học 4
Quiz
•
4th Grade - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade