สรุปบทเรียน การเขียนโปรแกรมเชิงวัตถุเบื้องต้น 1

สรุปบทเรียน การเขียนโปรแกรมเชิงวัตถุเบื้องต้น 1

12th Grade

60 Qs

quiz-placeholder

Similar activities

J277/02 Computational thinking, algorithms and programming

J277/02 Computational thinking, algorithms and programming

9th Grade - University

56 Qs

Guía examen

Guía examen

12th Grade

60 Qs

Programación

Programación

KG - Professional Development

60 Qs

Python Programlama Dili - Lise FULL

Python Programlama Dili - Lise FULL

9th - 12th Grade

61 Qs

ข้อสอบปลายภาค วิชา วิทยาการคำนวณ ป.6 ภาคเรียนที่ 1

ข้อสอบปลายภาค วิชา วิทยาการคำนวณ ป.6 ภาคเรียนที่ 1

6th Grade - University

60 Qs

การเขียนโปรแกรมคอมฯ

การเขียนโปรแกรมคอมฯ

12th Grade

60 Qs

Benchmark #1

Benchmark #1

9th - 12th Grade

55 Qs

AP CS 50 CH 1 Review

AP CS 50 CH 1 Review

8th - 12th Grade

56 Qs

สรุปบทเรียน การเขียนโปรแกรมเชิงวัตถุเบื้องต้น 1

สรุปบทเรียน การเขียนโปรแกรมเชิงวัตถุเบื้องต้น 1

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Anuwat Jaidee

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ถ้าต้องการเข้าถึงสมาชิกตัวแรกในอาร์เรย์ arr จะต้องใช้คำสั่งใด

arr[0];

arr[1];

arr.first();

arr.begin;

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

คำสั่งใดใช้สำหรับประกาศอาร์เรย์ของจำนวนเต็ม

int array = new int[10];

int[] array = new int[10];

array int = new [10];

new int[10] array;

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ผลลัพธ์ของโปรแกรมต่อไปนี้คืออะไร

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

System.out.println(arr[5]);

5

0

Error: ArrayIndexOutOfBoundsException

ไม่สามารถรันโปรแกรมได้

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ผลลัพธ์ของโปรแกรมต่อไปนี้คืออะไร

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

System.out.println(arr.length);

4

2

3

5

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

คำสั่งใดใช้ในการเข้าถึงสมาชิกตัวที่ 3 ของอาร์เรย์ numbers

int[] numbers = {10, 20, 30, 40, 50};

numbers[2];

numbers[3];

numbers(2);

numbers(3);

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ผลลัพธ์ของโค้ดต่อไปนี้ คืออะไร

int[][] array = { {1, 2, 3}, {4, 5, 6}, {7, 8, 9} };

System.out.println(array[1][2]);

2

4

6

8

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

ถ้าเราต้องการสร้างอาร์เรย์ 2 มิติขนาด 3x4 (3 แถว 4 คอลัมน์) และกำหนดค่าเริ่มต้นเป็น 0 ควรใช้คำสั่งใด

int[] array = new int[3][4];

int[][] array = new int[4][3];

int array = new int[3][4];

int[][] array = new int[3][4];

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?

Discover more resources for Computers