Bài tập trắc nghiệm C++
Quiz
•
Computers
•
3rd - 12th Grade
•
Medium
Hằng Phạm
Used 30+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo hằng trong C++ ta dùng:
const n=1000;
int a;
int n;
#include<iostream>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép chia lấy phần nguyên trong C++ sử dụng kí hiệu nào
div
mod
%
/
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong C++, phép toán so sánh bằng được kí hiệu là:
< >
!=
==
<=
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong C++, biểu thức (14%5+21/4) cho kết quả bằng
6
7
8
9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong cấu trúc rẽ nhánh if (điều kiện) <câulệnh>;
câu lệnh được thực hiện khi:
Điều kiện được tính toán
Điều kiện được tính toán và trả về giá trị đúng
Điều kiện không tính được
Điều kiện được tính toán và trả về giá trị sai
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh kiểm tra: nếu a không chia hết 2, ta đưa ra màn hình thông báo “NO”
if (a%2==0) cout<< “NO”;
if <a%2==0> cout<< “YES”;
if (a%2!=0) cout<< “NO”;
if <a%2!=0> cout<< “YES”;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo biến trong chương trình là kiểu số thực ta sử dụng kiểu dữ liệu:
integer
float
long int
bool
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
10 questions
حاسب2 / اختبار الوحدة الثالثة
Quiz
•
10th - 12th Grade
13 questions
Białka, cukry i lipidy
Quiz
•
1st - 9th Grade
15 questions
Polski Youtube 2019/2020
Quiz
•
1st - 8th Grade
10 questions
Thư điện tử
Quiz
•
6th Grade
15 questions
K5_ÔN TẬP HỌC KỲ 2
Quiz
•
5th Grade
10 questions
TYPES OF COMPUTER
Quiz
•
3rd - 4th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
Grasshopper
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
19 questions
Halloween Trivia
Lesson
•
3rd - 5th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
Email your Teacher
Quiz
•
6th - 8th Grade
10 questions
Halloween 2nd Grade
Quiz
•
2nd - 3rd Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
20 questions
logo quiz
Quiz
•
3rd Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
40 questions
Programming with Karel
Quiz
•
6th - 8th Grade
