
tin 8 bài 6
Authored by Thảo Nguyễn
Computers
6th - 9th Grade
Used 21+ 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
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
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
13 questions
Podsumowanie: binarny, komputer, sieć
Quiz
•
7th Grade - University
15 questions
End of term assessment
Quiz
•
9th Grade
10 questions
Computer Systems
Quiz
•
8th Grade
10 questions
Bài 1: Từ máy tính đến mạng máy tính
Quiz
•
9th Grade
10 questions
Dasar Microsoft Word (Bagian 1)
Quiz
•
7th Grade
12 questions
HTML
Quiz
•
9th - 12th Grade
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
11 questions
Eventos de un experimento aleatorio
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade