Search Header Logo

Object Oriented Programming - Midterm

Authored by Peeranat Matsor

others

Used 6+ times

Object Oriented Programming - Midterm
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเป็นค่าเริ่มต้นของข้อมูลชนิดพื้นฐาน boolean

True
False
true
false

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

จำนวนผู้โดยสารบนเครื่องบินควรใช้ชนิดข้อมูลอะไร (Data type)

int
double
float
String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อมูลสามารถชนิดอักขระสามารถเก็บอยู่ใน Unicode ได้กี่บิต

16 บิต
8 บิต
4 บิต
32 บิต

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเป็นตัวแปรชนิดข้อมูลพื้นฐานทั้งหมด

int > float > long > short > double > boolean
int > long > string > byte > double > short
int > boolean > double > short > return > float
int > float > long > final > double > booelan

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดตั้งชื่อตัวแปรถูกต้องตามหลักการ Java

thisMyName
Hello World
99satuu
my_name_sila

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าสมมติ a มีค่า 10 แล้ว System.out.println(a++); System.out.println(++a); ผลลัพท์ข้อใดถูกต้อง

10, 11
10, 10
11, 10
11, 11

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าสมมติ a มีค่า 10 แล้ว boolean equals= (a >= 10) boolean value = (a > 10) System.out.println(equals) System.out.println(value) จะแสดงผลลัพท์อะไร

true, true
true, false
True, False
True, True

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

Already have an account?