
C Programing --- Basic 02
Quiz
•
Computers
•
University
•
Hard
劉雲輝 劉雲輝
Used 38+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
定義一個自訂函式如下:
函式型態 sum(int first,int n,int ratio){
int i,total=0;
for(i=1;i<=n;i++)
total = total +(first*pow(ratio,i-1));
return total;
}
請問函式型態為下列何者?
void
char
int
float
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
定義一個自訂函式如下:
函式型態 transform(float c){
c=c*9/5+32;
return c;
}
請問函式型態為下列何者?
void
float
int
char
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
定義一個自訂函式如下:
函式型態 forward(){
digitalWrite(A_1A, LOW);
analogWrite(A_1B, Speed);
digitalWrite(B_1A, LOW);
analogWrite(B_1B, Speed);
}
請問函式型態為下列何者?
void
float
int
char
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下是C程式碼片斷,請問執行後,螢幕會顯示何內容?
int test(int a,int b){
int i,total=0;
total=a*b;
return total;
}
int main(void)
{
printf("%d \n",test(2,3)); //printf()是顯示資料於螢幕的庫存函式,%d為整數格式
return 0;
}
2
3
5
6
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Arduino Uno板可使用analogWrite(3,數值)輸出PWM,
請問數值範圍為何?
0~5
0~10
0~255
0~1023
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Arduino Uno板可使用
x=analogRead();
來讀取類比訊號,
請問x數值的範圍為何?
0~5
0~10
0~255
0~1023
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
關於馬達驅動板L298N,圖中?處的四個接腳是作何用?
控制馬達旋轉速度
控制馬達旋轉方向
馬達驅動電源的輸入
馬達驅動電源的輸出
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
T02: Python - The Basics
Quiz
•
University
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
10 questions
C++ Quiz
Quiz
•
University
12 questions
Fundamentals of Programming
Quiz
•
University
11 questions
SAINS KOMPUTER 1.3
Quiz
•
University
12 questions
Programação Web - PHP
Quiz
•
University
15 questions
SENATIC Parcial Guía 3_PseInt
Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University
