Để hiển thị các số chẵn từ 0 đến 100, câu lệnh nào sau đây đúng?
Ôn tập HK 2 khối 8

Quiz
•
Computers
•
8th Grade
•
Hard
Trần Dân
Used 11+ times
FREE Resource
80 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
IF i mod 2 = 0 THEN writeln(i);
FOR i:=0 TO 100 DO Writeln(i);
FOR i:=0 TO 50 DO Writeln(i*2);
FOR i:=0 TO 50 DO Writeln(ix2);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh Pascal nào sau đây là hợp lệ?
FOR i:=100 TO 1 DO writeln('Doan thi Diem');
FOR i:=1.5 TO 10.5 DO writeln('Doan thi Diem');
FOR i=1 TO 10 DO writeln('Doan thi Diem');
FOR i:=1 TO 1 DO writeln('Doan thi Diem');
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tìm giá trị lớn nhất của 2 số a, b thì ta viết:
Max:=a;If b>Max then Max:=b;
If (a>b) then Max:=a;If (b>=a) then Max:=b;
Max:=b;If a>Max then Max:=a;
Tất cả đều đúng
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn câu lệnh Pascal hợp lệ trong các câu sau:
If x : = a + b then x : = x + 1;
If a > b then max = a;
If a > b then max : = a ; else max : = b;
If 5 = 6 then x : = 100;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo biến mảng a gồm 10 phần tử, mỗi phần tử có kiểu dữ liệu là Real ta khai báo:
Var a: array[10] of real;
Var a: array[1:10]: of real;
Var a: array[1;10] of real;
Var a: array[1..10] of real;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
I:=1;
While i<=5 do
Begin tong:= tong + I; I:= I + 1; End;
1
15
10
20
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em hiểu câu lệnh lặp theo nghĩa nào dưới đây?
Một lệnh thay cho nhiều lệnh.
Các câu lệnh được viết lặp đi lặp lai nhiều lần.
Vì câu lệnh đã có tên là lệnh lặp
Tất cả đều sai
Create a free account and access millions of resources
Similar Resources on Quizizz
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