Search Header Logo

#4

Authored by S. Pichai

Computers

University

Used 6+ times

#4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดเป็นการกำหนดค่าให้กับตัวแปรชนิด char BTC;

BTC=……;

BTC==A;

BTC=A;

BTC=‘A’;

BTC=“A”;

2.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

void main()

{ int x, y;

float z;

x=20.25;

z=21.45;

y=x+z;

}


y มีค่าเท่ากับ……

3.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

void main()

{ int x;

float z, y;

x=20.25;

z=21.45;

y=x+z;

}


y มีค่าเท่ากับ……

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

อักขระควบคุมการแสดงผลการข้ึนต้นบรรทัดใหม่ คือ…

\n

\t

/t

/n

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดเป็นการตั้งชื่อตัวแปรที่ผิด

int target;

int printf;

int first;

int operand;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดคือรูปแบบของคำสั่ง printf ที่ถูกต้อง

printf (Hello World);

printf ("Hello World");

printf <"Hello World">;

printf "Hello World";

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ข้อใดเป็นการเขียนคำสั่ง printf ที่ถูกต้อง

printf ("GPA : %.2f",3.5);

printf (GPA : %.2f,3.5);

printf ("GPA : .2f",3.5);

printf "GPA : %.2f",3.5;

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?