ฟังก์ชั่นใช้สำหรับกำหนดตัวแปรให้เป็นอินพุต
คือข้อใด
แบบทดสอบไมโครคอนโทรลเลอร์ครั้งที่ 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);
10 questions
วรรณคดีไทย
Quiz
•
5th Grade
10 questions
แบบทดสอบเรื่อง กฎ กติกากีฬาฟุตบอล
Quiz
•
1st - 5th Grade
10 questions
PISA
Quiz
•
1st - 5th Grade
10 questions
นาฏศิลป์ ม.5
Quiz
•
5th Grade
10 questions
กิจกรรมตอบคำถามวันภาษาไทย และวันสุนทรภู่ ป.3
Quiz
•
1st - 5th Grade
15 questions
กิจกรรมตอบคำถามวันภาษาไทย และวันสุนทรภู่ ป.5
Quiz
•
1st - 5th Grade
10 questions
B-Spells
Quiz
•
KG - Professional Dev...
8 questions
Ishaan Arduino Test
Quiz
•
3rd Grade - Professio...
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
18 questions
Main Idea & Supporting Details
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
3rd - 6th Grade
23 questions
Movie Trivia
Quiz
•
5th Grade
20 questions
Main Idea and Details Review
Quiz
•
5th Grade
14 questions
One Step Equations
Quiz
•
5th - 7th Grade