Search Header Logo

แบบทดสอบไมโครคอนโทรลเลอร์ครั้งที่ 2

Authored by krisana hengchun

Specialty

5th Grade

Used 2+ times

แบบทดสอบไมโครคอนโทรลเลอร์ครั้งที่ 2
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

1 min • 1 pt

ฟังก์ชั่นใช้สำหรับกำหนดตัวแปรให้เป็นอินพุต

 คือข้อใด

int INPUT ;

digitalWrite(13, INPUT);

int sensorValue = INPUT (A0);

pinMode(pushButton, INPUT);

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ฟังก์ชั่นใช้สำหรับกำหนดตัวแปรให้เป็นเอาท์พุต

 คือข้อใด

int OUTPUT ;

pinMode(LED, OUTPUT);

 int sensorValue = OUTPUT (A0);

digitalWrite(13, OUTPUT);

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ประโยคคำสั่งต่างๆ ในภาษาซี ต้องปิดท้ายแต่ละคำสั่งด้วยเครื่องหมายใด

                    

                 

&&

     ;    

 %

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

กำหนดตัวแปรให้เป็นตัวเลขจำนวนเต็มคือข้อใด

       

Char 

Long

Short

int

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

ฟังก์ชันใช้กำหนดหน้าที่ขาพอร์ตของบอร์ดคือข้อใด

pinMode(LED, OUTPUT);

digitalWrite(13, OUTPUT);

int INPUT ;  

#define  SW  4

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

 ฟังก์ชันกำหนดหน้าที่ขาพอร์ตเอาต์พุตแบบดิจิทัล (Output Digital Pin)คือข้อใด

ed=13;

pinMode(LED, OUTPUT);

digitalWrite(OUTPUT,HIGH);

#define OUTPUT 13 

int OUTPUT=13;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

 ฟังก์ชันกำหนดขาพอร์ตเอาต์พุตแบบดิจิทัลให้เป็น “1”คือข้อใด

pinMode(1, OUTPUT);

digitalWrite(13,HIGH);

#define led 1 

pinMode(led, 1);

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?