Search Header Logo

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

Authored by Anuwat Jaidee

Computers

9th Grade

Used 6+ times

ข้อสอบโปรแกรมเชิงวัตถุเบื้องต้น
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

คำสั่งใดใช้ในการพิมพ์ข้อความบนหน้าจอในภาษา Java

console.log()

print()

System.out.print()

echo()

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

คำว่า "JVM" ในภาษา Java ย่อมาจากอะไร

Java Visual Machine

Java Virtual Machine

Java Variable Manager

Java Version Model

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

ตัวแปรชนิดใดที่เหมาะสำหรับเก็บค่าจำนวนเต็ม

Float

String

Boolean

Int

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

คำสั่ง int x = 5; หมายถึงอะไร

สร้างตัวแปรชนิดจำนวนจริงชื่อ x

สร้างตัวแปรชนิดจำนวนเต็มชื่อ x และกำหนดค่าเริ่มต้นเป็น 5

กำหนดตัวแปร x เป็นชนิด String

เพิ่มค่า 5 ให้กับตัวแปร x

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

ชนิดข้อมูล boolean สามารถเก็บค่าใดได้บ้าง

true และ false

ตัวอักษรเพียงตัวเดียว

เลขทศนิยม

ค่าจำนวนเต็ม

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

หลักการสำคัญของการเขียนโปรแกรมเชิงวัตถุ (Object-Oriented Programming) คืออะไร

การจัดการข้อมูลแบบลำดับ

การแบ่งโปรแกรมเป็นฟังก์ชันย่อย

การใช้งานคลาสและวัตถุ

การเขียนโปรแกรมแบบขั้นตอน

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

ข้อใด ไม่ใช่ คุณสมบัติของ OOP

Encapsulation

Polymorphism

Abstraction

Decomposition

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?