
Arduino-5
Quiz
•
Computers
•
University
•
Hard
劉雲輝 劉雲輝
Used 20+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Arduino Uno板可使用analogWrite(3,數值)輸出PWM,請問數值範圍為何?
0~1023
0~255
0~10
0~5
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
在analogWrite(3, x)函式中,搭配下列哪個選項可以輸出占空比為75%的PWM訊號?
x=50
x=128
x=192
x=225
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Arduino Uno板可使用x=analogRead(); 來讀取類比訊號,請問x數值的範圍為何?
0~1023
0~255
0~10
0~5
4.
MULTIPLE SELECT QUESTION
1 min • 10 pts
若是想將Arduino Uno板的數位接腳3 設定為上拉電阻輸入腳位,以下何者可行?(多選)
setup(){
pinMode(3, INPUT);
digitalWrite(3,LOW);}
setup(){
pinMode(3, INPUT);
digitalWrite(3,HIGH);}
setup(){
pinMode(3,
INPUT_PULLUP); }
setup(){
pinMode(3,
INPUT_PULLDOWN); }
5.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
1. 定義一個自訂函式如下:
函式型態transform(int c){
c=c*5+2;
return c; }
請問函式型態為下列何者?
void
char
float
int
6.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
1. 使用Uno板與PC連線,
int test(int a, int b){
int i, total=0;
total=a*b;
return total; }
void setup(){
Serial.begin(9600);
Serial.println(test(2,3));
}
void loop(){
}
請問序列埠輸出至PC上的數值為何?
2
3
5
6
7.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
1. 定義一個自訂函式如下:
函式型態 forward(){
digitalWrite(A_1A, LOW);
analogWrite(A_1B, Speed);
digitalWrite(B_1A, LOW);
analogWrite(B_1B, Speed); }
請問函式型態為下列何者?
void
char
float
int
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Structure Data Review
Quiz
•
University - Professi...
10 questions
Third Year Placement Training Revision Test
Quiz
•
University
15 questions
ADMINISTRASI INFRASTRUKTUR JARINGAN
Quiz
•
12th Grade - University
10 questions
pointers and structures
Quiz
•
University
10 questions
Arrays in C (II yr 02.07.2020)
Quiz
•
University
15 questions
Conditionals Unit Quiz
Quiz
•
9th Grade - University
10 questions
Week 4: Recap Java Programming
Quiz
•
University
11 questions
C++程式
Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
