nid="ylr3anatp6fp4hik5z9zya" data-questiontype="1" data-num="1" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
單片機中斷系統(tǒng)有幾個中斷源?
- A 1
- B 2
- C 4
- D 5
參考答案: D
解析:
無
nid="ylr3anatarbkxzfkoxjqgw" data-questiontype="1" data-num="2" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
2.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
關于中斷優(yōu)先級,下面說法不正確的是哪一個?
- A 低優(yōu)先級可被高優(yōu)先級中斷
- B 高優(yōu)先級不能被低優(yōu)先級中斷
- C 任何一種中斷一旦得到響應,不會再被它的同級中斷源所中斷
- D 自然優(yōu)先級中INT0優(yōu)先級*高,任何時候它都可以中斷其他4個中斷源正在執(zhí)行的服務
參考答案: D
解析:
無
nid="ylr3anat9zzkqloowqjiw" data-questiontype="1" data-num="3" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
3.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
中斷請求,CPU在響應中斷后,必須在中斷服務程序中用軟件將其清除。
- A T0
- B T1
- C 外部中斷
- D 串行口中斷
參考答案: D
解析:
無
nid="ylr3anatvqvmllmr5b8zwq" data-questiontype="3" data-num="4" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
4.(5分)
判斷題
在同一個優(yōu)先級別中,多個中斷源按照自然優(yōu)先權順序被響應。
- A) 正確
- B) 錯誤
參考答案: A
解析:
無
nid="ylr3anatgj9gww0lkiuacq" data-questiontype="1" data-num="5" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
5.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
當T1在下列哪種情況下, T1中斷請求標志位TF1自動置1,向CPU申請中斷。
- A 賦初值時
- B 計數(shù)溢出
- C 啟動時
- D 設置工作方式時
參考答案: B
解析:
無
nid="ylr3anat9lvogneojs9gaa" data-questiontype="3" data-num="6" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
6.(5分)
判斷題
中斷系統(tǒng)是單片機的一個外部設備。
- A) 正確
- B) 錯誤
參考答案: B
解析:
無
nid="ylr3anatorpin5ub964dfg" data-questiontype="1" data-num="7" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
7.(5分)
單選題
nly="readonly" name="getScore" value="0" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
要編寫定時器T1的中斷服務程序,按如下編寫: void timer1() interrupt n 其中n應為哪一個?
- A 1
- B 2
- C 3
- D 4
參考答案: C
解析:
無
nid="ylr3anat55xcnsqv4unoiw" data-questiontype="3" data-num="8" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
8.(5分)
判斷題
單片機的中斷系統(tǒng)提高了CPU的工作效率。
- A) 正確
- B) 錯誤
參考答案: A
解析:
無
nid="ylr3anatv7tefvaiwcrfjg" data-questiontype="1" data-num="9" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
9.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
MCS-51系列單片機CPU開中斷語句是 。
- A EA=1;
- B ES=1;
- C EA=0;
- D EX0=1;
參考答案: A
解析:
無
nid="ylr3anat47vhrqql5jlmww" data-questiontype="1" data-num="10" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
10.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
中斷是指通過什么來改變CPU的執(zhí)行方向?
- A 硬件
- B 軟件
- C 調用函數(shù)
- D 選擇語句
參考答案: A
解析:
無
nid="ylr3anatrpzhroz1ljsyg" data-questiontype="1" data-num="11" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
11.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
單片機中斷系統(tǒng)有幾個中斷優(yōu)先級別?
- A 1
- B 2
- C 4
- D 5
參考答案: B
解析:
無
nid="ylr3anat7qjkzd3jfunucw" data-questiontype="3" data-num="12" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
12.(5分)
判斷題
如果CPU正在響應更高優(yōu)先級別的中斷請求,當前請求將不會響應。
- A) 正確
- B) 錯誤
參考答案: A
解析:
無
nid="ylr3anatabklj9z6caflq" data-questiontype="1" data-num="13" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
13.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
當CPU響應外部中斷0 INT0的中斷請求后,程序計數(shù)器PC的內容是 。
- A 0003H
- B 000BH
- C 00013H
- D 001BH
參考答案: A
解析:
無
nid="ylr3anatkoday8pl0qxakw" data-questiontype="3" data-num="14" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
14.(5分)
判斷題
中斷服務程序和子函數(shù)的調用過程完全一樣。
- A) 正確
- B) 錯誤
參考答案: B
解析:
無
nid="ylr3anatj6lkkys5bejoaq" data-questiontype="3" data-num="15" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
15.(5分)
判斷題
定時器T0的計滿溢出中斷是外部中斷。
- A) 正確
- B) 錯誤
參考答案: B
解析:
無
nid="ylr3anat1ptetg6hcttv9q" data-questiontype="3" data-num="16" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
16.(5分)
判斷題
只要提出中斷請求,CPU會立刻響應中斷。
- A) 正確
- B) 錯誤
參考答案: B
解析:
無
nid="ylr3anatuoxebdqik0zkrw" data-questiontype="3" data-num="17" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
17.(5分)
判斷題
定時器的中斷請求標志,其撤除辦法是由硬件自動完成的。
- A) 正確
- B) 錯誤
參考答案: A
解析:
無
nid="ylr3anaterddcddzan0ylq" data-questiontype="3" data-num="18" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
18.(5分)
判斷題
單片機所連接的所有外部設備都可以是中斷源。
- A) 正確
- B) 錯誤
參考答案: B
解析:
無
nid="ylr3anatmkho08kpi0cmcg" data-questiontype="3" data-num="19" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
19.(5分)
判斷題
要想響應中斷,總允許為EA必須為1。
- A) 正確
- B) 錯誤
參考答案: A
解析:
無
nid="ylr3anatr4ppzauphsvmiw" data-questiontype="1" data-num="20" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
20.(5分)
單選題
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
主程序被打斷的地方稱為什么?
- A 中斷源
- B 入口地址
- C 中斷矢量
- D 斷點
參考答案: D
解析:
無