
Buổi 7 C++
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
Thanh Huyền
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để kiểm tra điều kiện trong C++?
switch
if
repeat
while
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của biểu thức 5 > 3 là gì?
5
3
true
false
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong câu lệnh if (x % 2 == 0), biểu thức (x % 2 == 0) có ý nghĩa gì?
Gán x bằng 2
Kiểm tra x có phải là số chẵn
Tính tổng x và 2
Kiểm tra x khác 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cú pháp đúng của câu lệnh if?
if x > 5 { cout << x; }
if (x > 5) { cout << x; }
if x > 5 then { cout << x; }
if x > 5: cout << x
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào là sai về cú pháp if?
Có thể không cần else
Biểu thức điều kiện đặt trong dấu ngoặc ()
Dấu ngoặc nhọn {} luôn bắt buộc
Có thể có nhiều dòng lệnh trong mỗi nhánh
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu x = 9, đoạn mã sau sẽ in gì? if (x % 2 == 0) cout << "Chan"; else cout << "Le";
Chan
Le
x
Không xác định
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mục đích của else là gì?
Kiểm tra điều kiện khác
Chạy khi điều kiện if đúng
Chạy khi điều kiện if sai
Tạo vòng lặp
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
10 questions
For loop
Quiz
•
8th Grade
10 questions
Innovations of Technology
Quiz
•
7th - 10th Grade
10 questions
latihan soal urain
Quiz
•
8th Grade
10 questions
Bài tập Tin học lớp 4
Quiz
•
1st - 12th Grade
10 questions
112-2 一下 第三章 個資法與著作權
Quiz
•
7th Grade
13 questions
Sơ đồ tư duy Sách Cánh diều
Quiz
•
6th Grade
10 questions
Ôn tập - Tin học 12
Quiz
•
KG - 12th Grade
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
42 questions
MAP Math Review
Quiz
•
5th - 6th Grade
20 questions
Thanksgiving Trivia!
Quiz
•
6th - 8th Grade
