
câu lệnh lặp
Authored by Loan Nguyen
Computers
8th - 9th Grade
Used 19+ 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
Trong các câu lệnh sau, câu lệnh nào đúng?
For x:=1 to 10 to writeln(x);
For x:=1 to 10 do writeln(x);
For x =1 to 10 do writeln(x);
For x:=10 to 1 to writeln(x);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong câu lệnh lặp For...do, sau mỗi vòng lặp biến đếm sẽ:
Tự động tăng thêm 1 đơn vi
Tự động tăng thêm 2 đơn vi
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 câu lệnh lặp For...do, biến đếm phải được khai báo kiểu dữ liệu:
kí tự
xâu kí tự
số thực
số nguyên
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sơ đồ này mô tả câu lệnh thực hiện:
Tính tổng từ 1 đến 100
Tính tích từ 1 đến 100
In ra màn hình 100 chữ Pascal
In ra các số từ 1 đến 100
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Em hãy điền vào chỗ trống để hoàn thành cú pháp câu lệnh lặp với số lần biết trước:
For <........>:=<giá trị đầu> to <giá trị cuối> do <câu lệnh>;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số vòng lặp của câu lệnh:
For a:=5 to 15 do writeln('*');
10
11
12
15
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Tính biểu thức: S = 1+3+5+....+105 bằng vòng lặp For...do nào đúng?
for i:=1 to 105 do
if (i mod 2) <>0 then S:= S+i;
for i:=1 to 105 do
if (i mod 2) = 0 then S:= S+i;
for i:=1 to 105 do
if (i mod 2) = 1 then S:= S+i;
for i:=1 to 105 do
if (i mod 2) ><0 then S:= S+i;
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
10 questions
AI and Python: Ch.1 Revision
Quiz
•
9th Grade
10 questions
PERENAMBELASAN
Quiz
•
9th Grade
11 questions
Eventos de un experimento aleatorio
Quiz
•
9th Grade
14 questions
Computing figures
Quiz
•
4th - 12th Grade
10 questions
Bài 1: Từ máy tính đến mạng máy tính
Quiz
•
9th Grade
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
10 questions
Quiz Scratch
Quiz
•
8th Grade
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
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
10 questions
Practice Typing
Quiz
•
8th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade