Search Header Logo

Final-C++

Authored by workrin phoone

Instructional Technology

10th Grade

Used 55+ times

Final-C++
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

20 sec • 1 pt

การใช้ฟังก์ชั่น printf() ข้อใดไม่ถูกต้อง

printf("THAILND");

printf("12345");

printf("5 + 2 = %d",5+2);

printf('COMPUTER');

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดใช้ฟังก์ชั่น scanf() ได้ถูกต้อง

scanf("%d\n",x)

scanf("%d",&x);

scanf("%d",x);

scanf("%d,x");

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดใช้ฟังก์ชั่น printf() ในการแสดงผลบวกของตัวแปร x กับตัวแปร y ได้ถูกต้อง

printf("%d + %d = %d", x, y, x+y);

printf("x + y = %d", x+y);

printf("x + y = x+y\n", x, y, x+y);

printf("x + y = ", x+y);

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ชื่อใด"ไม่"สามารถนำมาประกาศเป็นตัวแปรได้

num_2

_num_2

num 2

_num2

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดคือคำสั่งสำหรับขึ้นบรรทัดใหม่

\enter

\t

\n

\b

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

ข้อใดคำการเพิ่มค่า ทีละ 1

a++

a+1

a*1

a^1

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

คำสั่งทำซ้ำวนลูป ข้อใด ที่ ตรวจสอบเงื่อนไขก่อนแล้ว ค่อยทำ

do while

while

for

if

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?