Search Header Logo

ย้อนหลัง กลางภาค Java ระดับต้น

Authored by 12356 10

Computers

KG - University

Used 10+ times

ย้อนหลัง กลางภาค Java ระดับต้น
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int ใช้สำหรับกำหนดตัวแปรรูปแบบใด?

ตัวเลขทศนิยม

ตัวเลขจำนวนเต็ม

ตัวอักษร

ตัวอักษรพิเศษ

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

ข้อใดตั้งชนิดตัวแปรจำนวนเต็มได้ถูกต้อง

float x = 2.55f;

int x =255;

long x = 255;

short x =1;

byte x=1;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การประกาศตัวแปรแบบใด ที่ถูกต้องที่สุด

var x;

dim x;

integer x;

int x;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

char c = ‘g’; เป็นการประกาศตัวแปรใด

ตัวเลข

ตัวอักษร

รูปภาพ

ฐานข้อมูล

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

จากคำสั่งนี้เป็นการประกาศตัวแปรใด

int OOP = 25;

int

OOP

=

25;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรชนิดใด สามารถเก็บค่าตัวเลขทศนิยมได้

Int

Char

String

Double

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a,b;

double y;

b = 15;

a = 2;

y=b % a;

System.out.println(“ y = ” + y);

จากคำสั่งข้างต้นผลลัพธ์คือข้อใด

1

7

y=1

y=7

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?