3-1陣列資料結構實作

3-1陣列資料結構實作

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Loop

Loop

9th - 12th Grade

10 Qs

Introduction to Loops

Introduction to Loops

9th - 12th Grade

10 Qs

Break the fear

Break the fear

11th - 12th Grade

10 Qs

ПИТОН

ПИТОН

9th Grade

9 Qs

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

Loops

Loops

9th - 12th Grade

10 Qs

Logical operator Class IX

Logical operator Class IX

9th Grade

9 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

3-1陣列資料結構實作

3-1陣列資料結構實作

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

鄭傑 鄭傑

Used 9+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

陣列宣告何者"""錯誤"""?

int a[87];

int a[87]=94;

int a[87]={5,94,87};

int a[]={5,94,87};

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a[3]={5,94,87};

cout<<a[2];

5

94

87

錯誤

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a[5][4];

共有幾個整數

5

4

20

錯誤

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a[5][4];

for(int i=0;i<5;i++){

for(int j=0;j<4;j++){

a[i][j]=i*5+j;

}

}

cout<<a[2][3];

13

6

5

17

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a[3][4][5];

共有幾個整數?

12

60

20

64