Đề thi C++ về mảng

Đề thi C++ về mảng

12th Grade

36 Qs

quiz-placeholder

Similar activities

PROGRAMMING(MIDTERM EXAM)

PROGRAMMING(MIDTERM EXAM)

12th Grade

35 Qs

KOMPUTER(TIK)

KOMPUTER(TIK)

1st Grade - University

40 Qs

TIK kelas 7, Penilaian Tengah semester

TIK kelas 7, Penilaian Tengah semester

7th Grade - University

40 Qs

Câu Hỏi Trắc Nghiệm Ôn Tập

Câu Hỏi Trắc Nghiệm Ôn Tập

11th Grade - University

32 Qs

Topic 2.3 Classification of Network

Topic 2.3 Classification of Network

12th Grade

34 Qs

Photoshop Terms and Controls

Photoshop Terms and Controls

9th Grade - University

38 Qs

All About Computers

All About Computers

9th - 12th Grade

40 Qs

Ulangan Harian Bersama

Ulangan Harian Bersama

9th - 12th Grade

36 Qs

Đề thi C++ về mảng

Đề thi C++ về mảng

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Duy Thế

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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 size;

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?