
Buổi 10
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Medium
Thanh Huyền
Used 2+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if trong C++ dùng để:
Nhập dữ liệu từ bàn phím
So sánh hai biến
Lặp lại chương trình
Kiểm tra điều kiện để thực hiện một hành động
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp đúng của câu lệnh if trong C++ là:
if điều kiện then câu lệnh
if (điều kiện) {câu lệnh };
if điều kiện { câu lệnh; }
if (điều kiện): câu lệnh
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì? int x = 10; if (x > 5) cout << "Yes";
In ra: Yes
In ra: No
Không in gì
Báo lỗi biên dịch
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong đoạn code sau, dòng nào sẽ được thực hiện? int a = 3; if (a < 0) cout << "Negative"; cout << "Done";
Negative
Done
Negative và Done
Không in gì
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu Lệnh trong if không thực hiện nếu điều kiện là:
true
1
false
Biểu thức hợp lệ
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì?
int x = 0; if (x) cout << "True";
True
Không in gì
False
Báo lỗi
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều kiện trong if được đánh giá là đúng khi giá trị là:
0
bất kỳ số âm nào
số khác 0
chỉ có 1
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
MORE ON CSS3
Quiz
•
7th Grade
17 questions
Kiến thức về trang tính
Quiz
•
7th Grade - University
10 questions
TIN8-HK1-KTTX1
Quiz
•
8th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
BÀI ÔN TẬP CHẠY THỬ
Quiz
•
6th Grade
10 questions
KHỐI 8 CD C - BÀI 3
Quiz
•
8th Grade
10 questions
Tables in HTML
Quiz
•
7th - 8th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
