tin 8 bài 6
Quiz
•
Computers
•
6th - 9th Grade
•
Hard
Thảo Nguyễn
Used 21+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 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 >;
2.
MULTIPLE CHOICE QUESTION
45 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
3.
MULTIPLE CHOICE QUESTION
45 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
4.
MULTIPLE CHOICE QUESTION
45 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 else m:=n;
If x > 4 then a:=b; else m:=n;
5.
MULTIPLE CHOICE QUESTION
45 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.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Hãy chọn cách dùng sai . Muốn dùng biến X lưu giá trị nhỏ nhất trong các giá trị của hai biến A, B có thể dùng cấu trúc rẽ nhánh như sau :
if A <= B then X := A else X := B;
if A < B then X := A;
X := B; if A < B then X := A;
if A < B then X := A else X := B;
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
IF a>8 THEN b:=3 ELSE b:=5;
Khi a nhận giá trị là 0 thì b nhận giá trị nào?
0
5
8
3
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
HTML
Quiz
•
1st - 6th Grade
10 questions
IGCSE Comp Sci - Security revision
Quiz
•
9th - 11th Grade
10 questions
UTS Informatika Genap 2022/2023
Quiz
•
7th Grade
9 questions
ôn tập hk2
Quiz
•
9th Grade
15 questions
tin 6 -so do tu duy
Quiz
•
6th Grade
10 questions
TIN8-HK1-KTTX1
Quiz
•
8th Grade
15 questions
Computer Care and Safety
Quiz
•
7th Grade
8 questions
QUIZ PAPEL 8ANO AULAS 01, 02 e 03(PARA QUEM FALTOU NA AULA)
Quiz
•
8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
41 questions
Respectful or Not Respectful
Quiz
•
6th Grade
20 questions
Logos
Quiz
•
2nd - 8th Grade
18 questions
Artificial Intelligence and Machine Learning Quiz
Quiz
•
9th Grade
35 questions
Computer Terminology Exercise #1 ( Multiple Choice)
Quiz
•
9th Grade
20 questions
Computer Components Exercise #4 - CTEA
Quiz
•
9th - 12th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade