cp06-01-1D-Array

cp06-01-1D-Array

University

10 Qs

quiz-placeholder

Similar activities

creative

creative

University

10 Qs

เทคโนโลยีสารสนเทศและระบบคอมพิวเตอร์

เทคโนโลยีสารสนเทศและระบบคอมพิวเตอร์

University

15 Qs

quiz pertemuan 2 asik ddp

quiz pertemuan 2 asik ddp

University

15 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

Computer Science Quiz

Computer Science Quiz

University

15 Qs

Array

Array

University

12 Qs

Fun with Computer Architecture

Fun with Computer Architecture

University

15 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

cp06-01-1D-Array

cp06-01-1D-Array

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Panupong Sornkhom

Used 30+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

ข้อใดจำเป็นต้องใช้ตัวแปรอะเรย์ 1 มิติ

หาค่าเฉลี่ยของข้อมูล N ตัว

หาค่าสูงสุด,ต่ำสุดของข้อมูล N ตัว

เรียงลำดับข้อมูล N ตัว

ค้นหาข้อมูลว่าอยู่ในกลุ่มของข้อมูล N ตัวหรือไม่

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

การประกาศตัวแปร array ในข้อใดถูกต้อง

float a[8] = { 5.0, 2.5, 3.88, 7.52};

int b[6];

int c[ ] = {1, 2, 3, 4, 5};

float d[ ];

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

กำหนด a[] = {7, 3, 2, 5, 6}; ค่าของ a[2] คือ

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

กำหนด a[ ] = {2, 5, 3, 9}; ข้อใดบ้างถูกต้อง

a[0] เป็นสมาชิกของอะเรย์ตัวแรกสุด

a[1] มีค่าเท่ากับ 2

a[2] มีค่าเท่ากับ 3

สมาชิกตัวสุดท้ายของอะเรย์ คือ a[4]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนด int a[5] = {2, 5, 3, 7 ,1}; ถ้า int มีขนาด 4 byte แล้ว a จะมีขนาดกี่ byte

0

4

5

20

หาค่าไม่ได้

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนด int a[10] = {2, 5, 3, 7 ,1}; ถ้า int มีขนาด 4 byte แล้ว a จะมีขนาดกี่ byte

0

4

10

20

40

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนด double d[5]; ถ้า double มีขนาด 8 byte แล้ว d จะมีขนาดกี่ byte

0

4

10

20

40

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?