
Lập trình C6
Quiz
•
Computers
•
University
•
Medium
Liên thi
Used 1+ times
FREE Resource
80 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào dùng để thiết lập tất cả các chân của Port C làm đầu ra?
output_c(0x00);
set_tris_c(0xFF);
set_tris_c(0x00);
output_high(pin_c0);
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào dùng để đọc giá trị tín hiệu tại chân RA3?
output_high(pin_a3);
output_low(pin_a3);
input(pin_a3);
set_tris_a(0x00);
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Đoạn chương trình dưới đây sẽ làm gì với Port D?
Tất cả chân Port D sáng.
Tất cả chân Port D tắt.
Các chân chẵn sáng, chân lẻ tắt.
Các chân lẻ sáng, chân chẵn tắt.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh output_toggle(pin_b2); có tác dụng gì với chân RB2?
Bật tín hiệu.
Tắt tín hiệu.
Đảo trạng thái tín hiệu.
Không có tác dụng.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Khi chạy đoạn mã sau, chân RB0 sẽ như thế nào?
Chân RB0 luôn bật.
Chân RB0 luôn tắt.
Chân RB0 bật trong 1 giây rồi tắt.
Chân RB0 tắt trong 1 giây rồi bật.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào để xuất tín hiệu 10101010 lên Port B?
output_b(0x55);
output_b(0xAA);
output_b(0xFF);
output_b(0x00);
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Khi chạy đoạn mã sau, Các LED nối với Port D sẽ tạo hiệu ứng gì?
Các LED sáng dần hoặc tắt dần
Các LED nhấp nháy
Tất cả LED sáng cùng lúc trong 500ms.
LED sáng ngẫu nhiên.
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
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
