Bài tập trắc nghiệm Tin học 8 Bài 6 về Câu lệnh điều kiện
Quiz
•
Education, Other
•
1st Grade
•
Practice Problem
•
Hard
Đình Duy
Used 28+ times
FREE Resource
Enhance your content in a minute
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
9
7
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
9
8
6
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Các câu lệnh Pascal nào sau đây 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 else Max:=b;
Max:=b; If a>Max then Max:=a;
Cả 3 câu đề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
Một khai báo
Create a free account and access millions of resources
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
Ôn tập cuối HKII Tin 4 (NXB ĐH Huế)
Quiz
•
1st - 5th Grade
10 questions
Food-Borne Diseases
Quiz
•
KG - Professional Dev...
10 questions
bài 7 lớp 11 thực hiện nền kinh tế nhiều thành phần
Quiz
•
1st - 10th Grade
10 questions
Câu hỏi kiến thức bài 9_rẻ nhánh
Quiz
•
KG - 12th Grade
11 questions
Clash Of Clans
Quiz
•
1st - 10th Grade
10 questions
Safety Road Rules
Quiz
•
1st Grade
10 questions
Scratch-Lớp 5-1
Quiz
•
1st - 5th Grade
14 questions
Bài 1 - THTH1
Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Education
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
20 questions
Multiplication Mastery Checkpoint
Quiz
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
natural resources
Quiz
•
1st Grade
20 questions
Identify Coins and Coin Value
Quiz
•
1st Grade
24 questions
Addition
Quiz
•
1st Grade
