Câu lệnh lặp while…do có dạng đúng là:

Tin8

Quiz
•
Computers
•
8th Grade
•
Medium
Hằng Ngô
Used 4+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
While <điều kiện> do; <câu lệnh>;
While <điều kiện> <câu lệnh> do;
While <câu lệnh> do <điều kiện>;
While <điều kiện> do <câu lệnh>;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh pascal nào sau đây là hợp lệ?
For i:=20 to 2 do writeln(‘Xin chao’);
For i= 1 to 10 do writeln(‘Xin chao’);
For i:=3.7 to 9.3 do writeln(‘Xin chao’);
For i:= 1 to 20 do writeln(‘Xin chao’);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình pascal sau sẽ in ra màn hình nội dung gì?
Var i: integer;
BEGIN
For i:=1 to 5 do writeln(‘Day la lan lap thu ‘,i);
Readln;
END.
1 câu “Day la lan lap thu i”;
1 câu “Day la lan lap thu ‘, i”;
5 câu “Day la lan lap thu ‘, i”;
5 câu "Day la lan lap thu i” với i theo thứ tự từ 1->5;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp For ... to...do là vòng lặp:
Biết trước số lần lặp
Chưa biết trước số lần lặp
Biết trước số lần lặp nhưng giới hạn là <=100
Biết trước số lần lặp nhưng giới hạn là >=100
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện đoạn chương trình sau, giá trị của biến S bằng bao nhiêu:
s:=1;
for i:=1 to 5 do if i mod 2 = 1 then s := s*i;
writeln(‘ket qua =’,s);
5
15
25
35
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn khai báo hợp lệ:
Var a,b: array[1 .. n] of real;
Var a,b: array[1 : n] of Integer;
Var a,b: array[1 .. 100] of real;
Var a,b: array[1 … 100] of real;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh gotoXY(a,b) có tác dụng gì?
Đưa con trỏ về hàng a cột b
Cho biết thứ tự của hàng con trỏ đang đứng.
Đưa con trỏ về cột a hàng b
Đưa con trỏ về cuối dòng
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Ôn tập kiểm tra giữa kì 2 - Tin học 8

Quiz
•
6th - 8th Grade
17 questions
kiểm tra tin học 8

Quiz
•
6th - 8th Grade
21 questions
ÔN TẬP HK1 LỚP 8

Quiz
•
8th Grade
20 questions
ÔN TẬP HKII-01

Quiz
•
8th Grade
20 questions
ÔN TẬP WHILE DO VÀ FOR TO DO

Quiz
•
8th Grade
11 questions
Ôn tập GK 2 Tin học 8

Quiz
•
8th Grade
17 questions
ÔN TẬP CUỐI KỲ II TIN 8

Quiz
•
8th - 11th Grade
20 questions
ÔN TẬP HỌC KỲ 2 - TIN HỌC 8

Quiz
•
8th 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
5 questions
capitalization in sentences

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

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

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

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade