ฟังก์ชั่นใช้สำหรับกำหนดตัวแปรให้เป็นอินพุต
คือข้อใด
แบบทดสอบไมโครคอนโทรลเลอร์ครั้งที่ 2
Quiz
•
Specialty
•
5th Grade
•
Hard
krisana hengchun
Used 2+ times
FREE Resource
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);
15 questions
แนวข้อสอบภาษาไทย เข้า ม.1 ชุด 3 By ครูดรีมเวิร์ล
Quiz
•
1st - 5th Grade
10 questions
โปรแกรมจัดให้ ป.6 1.2567
Quiz
•
1st - 5th Grade
10 questions
Technology
Quiz
•
3rd - 5th Grade
10 questions
เเบบทดสอบเรื่อง นิราศภูเขาทอง
Quiz
•
3rd - 5th Grade
12 questions
แบบทดสอบกฎหมาย
Quiz
•
1st Grade - University
10 questions
การบัญชีกิจการสถานพยาบาล
Quiz
•
5th Grade
15 questions
โรงเรียนพัทลุง
Quiz
•
1st - 12th Grade
8 questions
(ประชา)"สัมพันธ์ สัมใจ"
Quiz
•
1st - 5th Grade
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade