
Điều kiện câu lệnh
Authored by Phượng Trần
Computers
8th Grade
Used 29+ 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 Pascal, câu lệnh điều kiện nào sau đây được viết đúng?
if a := 1 then a := a + 1;
if a > b else write(a);
if (a mod 2) = 0 then write('So khong hop le');
if x = y; then writeln(y);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh điều kiện dạng đầy đủ là:
If < Điều kiện> then < Câu lệnh 1 >; Else < Câu lệnh 2 >;
If < Điều kiện> then < Câu lệnh >;
If < Điều kiện> then < Câu lệnh 1 >, < Câu lệnh 2 >;
If < Điều kiện > then < Câu lệnh 1 > Else < Câu lệnh 2 >;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy cho biết giá trị của biến X bằng bao nhiêu sau khi thực hiện câu lệnh:
if (45 mod 3 ) = 0 then X :=X+2;
(Biết rằng trước đó giá trị của biến X = 5)
5
7
9
11
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ta có 2 lệnh sau:
x:= 8; if x>5 then x := x +1;
Giá trị của x là bao nhiêu?
5
6
8
9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Các câu lệnh Pascal nào sau đây được viết đúng?
If x:= 5 then a = b;
If x > 4; then a:= b;
If x > 4 then a:=b; m:=n;
If x > 4 then a:=b; else m:=n;
6.
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.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If ... Then ... Else là:
Vòng lặp xác định
Vòng lặp không xác định
Câu lệnh điều kiện dạng thiếu
Câu lệnh điều kiện dạng đủ
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
[ APJII ] Training FTTH - Fiber to the Home
Quiz
•
KG - University
10 questions
Thử Thách Cùng Bài 1+2
Quiz
•
8th Grade
13 questions
Lesson 1: Variables (Activity)
Quiz
•
8th - 10th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
10 questions
Computer Basic
Quiz
•
4th - 10th Grade
15 questions
Sinh hoạt lớp Tuần 7
Quiz
•
1st Grade - University
13 questions
Lekcja14 7-8
Quiz
•
7th - 8th Grade
10 questions
kiểm tra 15 phút tin 7
Quiz
•
6th - 9th 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
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day Trivia
Quiz
•
8th Grade