
Đề thi C++ về mảng
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Duy Thế
Used 2+ times
FREE Resource
Enhance your content in a minute
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy viết cú pháp khai báo một mảng số nguyên trong C++
arrayName
arrayName[size]
int arrayName[size];
int arrayName[];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để gọi phần tử thứ 3 trong mảng trong C++?
arrayName.get(3)
arrayName[3]
arrayName[2]
arrayName(2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để thêm một phần tử vào cuối mảng trong C++?
Sử dụng phương thức add_last()
Sử dụng phương thức push_back()
Sử dụng phương thức insert_end()
Sử dụng phương thức append()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy mô tả cú pháp khai báo một mảng chuỗi trong C++
arrayName[size]
arrayName{}
int arrayName[size]
string arrayName[size];
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để truy cập và thay đổi giá trị của phần tử thứ 5 trong mảng trong C++?
arrayName[6] = newValue;
arrayName[3] = newValue;
arrayName[5] = newValue;
arrayName[4] = newValue;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để xóa phần tử đầu tiên trong mảng trong C++?
Sử dụng hàm add()
Sử dụng hàm insert()
Sử dụng hàm erase()
Sử dụng hàm push_back()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy mô tả cú pháp khai báo một mảng số thực trong C++
int arrayName[size];
float arrayName[size];
double arrayName[size];
char arrayName[size];
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
32 questions
MTA- Windows Operating System 3
Quiz
•
9th - 12th Grade
40 questions
Introduction to Computers
Quiz
•
9th - 12th Grade
40 questions
HTML Practice 2 of 4
Quiz
•
11th - 12th Grade
32 questions
Tin 4-kỳ I
Quiz
•
4th Grade - University
31 questions
Digital Literacy Chapter 11 Review
Quiz
•
9th - 12th Grade
37 questions
Câu hỏi ôn tập môn Tin học HK1 - Lớp 5
Quiz
•
5th Grade - University
35 questions
Microsoft Word
Quiz
•
6th - 12th Grade
35 questions
CodeHS - Web Design Test on HTML & CSS
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
