Chương 3 - Cấu trúc rẽ nhánh

Quiz
•
Education
•
University
•
Hard
Đậu Phong
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào sau đây là toán tử quan hệ?
+
==
%
!
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if nào đúng trong C++?
if x == 10
if (x == 10)
if x = 10
if (x = 10)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến cờ (Flag) là gì?
Một biến có thể chứa nhiều giá trị
Một biến chỉ có thể chứa true hoặc false
Một biến lưu trạng thái của chương trình
Một biến lưu trữ số nguyên
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử logic nào sau đây dùng để kiểm tra điều kiện "và" (AND)?
&&
||
!
==
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if/else nào sau đây là đúng?
A. if (a > b) cout << "A"; else cout << "B";
B. if (a > b) cout << "A"; else {cout << "B";}
C. if (a > b) {cout << "A";} else cout << "B";
D. Tất cả các đáp án
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if lồng nhau có thể dùng trong trường hợp nào?
Khi cần kiểm tra nhiều điều kiện liên tiếp
Khi chỉ có một điều kiện đơn giản
Khi không có điều kiện nào cả
Khi cần dừng chương trình
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử điều kiện (ternary operator) trong C++ là gì?
if (điều kiện) else
(điều kiện) ? biểu_thức_đúng : biểu_thức_sai
(điều kiện) && biểu_thức_đúng || biểu_thức_sai
switch (điều kiện)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Ujian Semester Pemprograman Dasar

Quiz
•
University
17 questions
Arduino - základná syntax

Quiz
•
University
17 questions
Section 1 - TRANSPORT DOCUMENTATION (FWD&CS)

Quiz
•
University
20 questions
Pronunciation Practice

Quiz
•
University - Professi...
20 questions
PRIMEROS AUXILIOS - HEMORRAGIAS 2021

Quiz
•
University
20 questions
Ôn tập Tin học 5_HKII

Quiz
•
5th Grade - University
20 questions
Uces- Simulacro Parcial 1

Quiz
•
University
20 questions
Python Assignment 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University