Search Header Logo

แบบทดสอบหลังเรียนบทที่ 9 เรื่องการจัดรูปแบบการรับและแสดงผลข้อมูล

Authored by Bammm Threepatbam2545@gmail.com

Computers

Professional Development

แบบทดสอบหลังเรียนบทที่ 9 เรื่องการจัดรูปแบบการรับและแสดงผลข้อมูล
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.รูปแบบข้อมูลใดใช้กับข้อมูลจำนวนเต็ม

ก.%x

ข. %d

ค. %f

ง. %o

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. ฟังก์ชันใดใช้สำหรับรับข้อมูล

ก. scanf(), getch(), gets()

ข. printf(), getchar(), scanf()

ค. putchar(), puts(), scanf()

ง. puts(), putchar(), printf()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3.ฟังก์ชันใดใช้สำหรับแสดงผล

ก. printf(), getchar(), scanf()

ข. puts(), putchar(), printf()

ค. putchar(), puts(), scanf()

ง. scanf(), getch(), gets()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. หากต้องการรับข้อมูล 2 จำนวน โดยตัวแรกมีชนิดข้อมูลเป็นจำนวนเต็ม และตัวที่สองมีชนิดข้อมูลเป็นจำนวนจริง ทางแป้นพิมพ์ รูปแบบการเขียนโปรแกรมที่ถูกต้องคือข้อใด

ก. scanf("%d %.2f",&num1, %num2);

ข. scanf("%&d %&f, %num1, %num2);

ค. scanf("%d %f" %num1, %num2);

ง. scanf("%d %f", num1, num2);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. หากต้องการแสดงข้อมูล 2 จำนวน โดยตัวแรกมีชนิดข้อมูลเป็นจำนวนเต็ม และ ตัวที่สองมีชนิดข้อมูลเป็นจำนวนจริง มีทศนิยม 2 ตำแหน่ง ทางจอภาพ รูปแบบการเขียนโปรแกรมที่ถูกต้องคือข้อใด

ก. printf("%d %.2f", %num1, %num2);

ข. printf("%d %.2f", %num1, %num2);

ค. printf("%&d %.2f", num1, num2);

ง. printf("%d %.2f", num1, num2);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. การรอรับค่าคีย์ใดๆ จำนวนหนึ่งตัวโยไม่ต้องคำณวนด้งยปุ่ม Enter คือฟังชั่นใด

ก. getche ()

ข. scanf()

ค. getch()

ง. gets()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. ฟังชั่นใดนำมาใช้ในการกำหนดตำแหน่งการแสดงข้อมูลทางจอภาพ

ก. locate()

ข. line()

ค. gotoxy()

ง. owcol()

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?