[Yuyue Education] Nantong University SCM principle and its application reference materials

Education
-Single-chip microcomputer principle and its application-Chapter information Examination materials-Nantong University []
Lecture 2 Test
1, [Single-choice question] In the MCS-51 system, if the frequency of the crystal oscillator is 6MHz, one machine cycle is equal to ()μs.
A, 0.5
B, 1
C, 2
D, 6
reference materials 【 】
2. 【Single-choice question】In the P3 port, the two ports whose second function is serial port input and output are ().
A, P3.0 and P3.1
B, P3.2 and P3.3
C, P3.4 and P3.5
D, P3.6 and P3.7
Reference materials [ ]
3, [Single-choice question] () no Belongs to the internal components of the CPU.
A. Controller
B. Calculator
C. Display
D. Accumulator
Reference materials [ ]
4. [Single-choice question] In the MCS-51 single-chip microcomputer, the only 16-bit register available to users is ().
A. PC
B. DPTR
C. PSW
D. ACC
reference materials [ ]
5. [Single-choice question] When the program is running, the current PC value is ().
A. The address of the previous instruction that is currently being executed
B. The address of the next instruction that is currently being executed
C. The address of the current instruction that is being executed
D. The address of the instruction register in the controller
Reference materials 【 】
6. [Multiple choice] The characteristics of the program status word register PSW are ().
A. The register with the highest utilization rate
B. The status information is usually automatically formed
C. It has an 8-bit word length
D. It can also be modified by
instructions
.
A. Integral type reset circuit
B. Manual button reset circuit
C. Power-on reset circuit
D. Differential type reset circuit
Reference materials [ ]
8. [Multiple-choice question] What are the two methods of clock generation for single-chip microcomputers ().
A. External clock method
B. Count generation method
C. Pulse generation method
D. Internal clock method
Reference materials [ ]
9. [Multiple-choice question] Which one is correct about the definition of the minimum system of a single-chip microcomputer ().
A. The larger the minimum system capacity of the 51 single-chip microcomputer, the shorter the reset time required.
B. The P0 port is an open-drain output. When used as an output port, a pull-up resistor is required, and the resistance value is generally 10k.
C. The oscillation frequency of the minimum system crystal oscillator of the 51 single-chip microcomputer It directly affects the processing speed of the single-chip microcomputer. The higher the frequency, the faster the processing speed.
D. The size of the polar capacitor C1 of the minimum system reset circuit of the 51 single-chip microcomputer directly affects the reset time of the single- chip microcomputer
.
Unit, which of the following statements is correct is ().
A. A machine cycle consists of 12 beats
B. A machine cycle consists of 6 states (S)
C. A machine cycle consists of 24 beats
D. A state (S) is composed of 4 beats §
Reference materials [ ]
Lecture 3 Test
1, [Judgment Question] The interrupt of the C51 language processing single-chip microcomputer is handled by a special interrupt function.
A. Correct
B. Incorrect
Reference materials [ ]
2. [Judgment question] In the C51 language, a function is an execution code segment that completes a certain related function. The same thing.
A. Correct
B. Incorrect
Reference materials [ ]
3. [Judgment question] In C51 language programming, when writing interrupt service functions, it is necessary to consider how to write program segments for processing such as site protection, blocking other interrupts, and automatically restoring the site when returning .
A. Correct
B. Incorrect
Reference materials [ ]
4. [True question] A global variable is a variable that exists in a certain function, and it is only valid inside the function.
A. Correct
B. Incorrect
Reference materials [ ]
5. [Judgment question] The absolute address includes several macros defined in the header file absacc.h, which are used to determine the absolute address of various storage spaces.
A. Correct
B. Incorrect
Reference materials [ ]
6. [True question] Global variables can be defined using the static keyword. Since global variables always exist, they occupy a large amount of memory units and increase the coupling of the program, which is not conducive to Migration or reuse of programs.
A. Correct
B. Incorrect
Reference materials [ ]
Lecture 5 Test
1. [Judgment question] When port P0 is used as a bus port, it is a bidirectional port.
A. Correct
B. Incorrect
Reference [ ]
2. [Judgement] When P0 port is used as a general-purpose I/O port, the external pin must be connected with a pull-up resistor. At this time, it is a quasi-bidirectional port.
A. Correct
B. Incorrect
Reference [ ]
3. [Judgment] When P1~P3 ports are used as input ports, you must first write 1 to the port register.
A. Correct
B. Incorrect
Reference materials [ ]
4. [True question] The drive capabilities of P0~P3 ports are the same.
A. Correct
B. Incorrect
Reference materials [ ]
5. [Judgment question] When the displayed LED digital tube has a large number of digits, the dynamic display occupies more I/O ports. In order to save the number of I/O ports and drive circuits, Static scan display is often used.
A. Correct
B. Incorrect
Reference materials [ ]
6. [Judgment question] As long as the LED digital tube dynamic scanning display circuit controls the lighting time of each LED digital tube, it can create the illusion of "multiple digits are on at the same time", achieving Simultaneously display the effect of multiple LED digital tubes.
A. Correct
B. Incorrect
Reference materials [ ]
7. [Fill in the blank] If the LED digital tube in the shape of "8" does not contain the decimal point (), each segment corresponds to a light-emitting diode, and there are two types: () and ().
A.
Reference materials【 】
8. [Fill in the blank] For the LED digital tube with a decimal point segment on the common cathode, the segment code of the displayed character "6" (the lowest digit of the segment code corresponding to segment a) is (), and for the LED digital tube with a decimal point segment on the common anode tube, the segment code displaying the character "3" is ();
A.
Reference materials [ ]
9. [Fill in the blank question] It is known that the segment code of a certain character to be displayed on an 8-segment common anode LED digital tube display is A1H (segment a is the lowest bit), at this time the character displayed on the display is ().
A.
Reference materials [ ]
10. [Fill in the blank] The advantages of the static display mode of LED digital tubes are: display ( ) (not flickering/flickering), brightness ( ) (high/low), ( ) is relatively easy, but it takes up ( ) lines are more.
A.
Reference materials [ ]
11. [Fill in the blank] When the number of displayed LED digital tubes is large, the () display mode is generally used, which can reduce () and reduce the number of ().
A.
Reference materials [ ]
12. [Fill in the blank] Use parallel interface to connect keyboard. For independent keyboard, 8 I/O ports can be connected to () keys, while for matrix keyboard, 8 The I/O port line can connect () buttons at most.
A.
Reference materials [ ]
Lecture 6 Test
1. [Single-choice question] Which of the following statements is wrong ().
A. Interrupt requests of the same level respond in chronological order.
B. Multiple interrupt requests of the same level at the same time will form a block, and the system cannot respond.
C. Low-priority interrupt requests cannot interrupt high-priority interrupt requests, but high-priority interrupt requests Interrupt requests can interrupt low-priority interrupt requests
D. Interrupts of the same level cannot be nested.
References 【 】
2. [Single-choice question] Among the interrupt request sources of the AT89S51 single-chip microcomputer, which one needs an additional circuit to realize interrupt cancellation is ().
A. External interrupt request in level mode
B. External interrupt request in jump edge mode
C. External serial port interrupt
D. Timing interrupt
Reference materials [ ]
3. [Single-choice question] After confirming the interrupt query, run on the following AT89S51 microcontrollers In the case, the one that can respond immediately is ().
A. Currently executing RETI instruction
B. Currently running high priority interrupt processing
C. The current instruction is MOV A, R3
D. The current instruction is DIV instruction, and it is in the machine cycle of instruction
reference [ ]
4. [Single Topic] Which of the following statements is correct ( ).
A. The interrupt request signal sent by each interrupt source will be marked in the IE register of the AT89S51 MCU.
B. The interrupt request signal sent by each interrupt source will be marked in the TMOD register of the AT89S51 MCU.
C. The interrupt request signal sent by each interrupt source , will be marked in the IP register of the AT89S51 MCU. D. The interrupt request signal sent by each interrupt source will be
marked in the TCON and SCON registers of the AT89S51 MCU. 0 interrupts. A. Correct B. Incorrect Reference [ ] 6. [Judgement question] The CPU must respond to the interrupt only if an interrupt source sends an interrupt request and the CPU enables the interrupt. A. Correct B. Incorrect Reference materials 【 】









7. [Judgment question] Same-level interrupts in the AT89S51 single-chip microcomputer cannot be nested.
A. Correct
B. Incorrect
Reference [ ]
8. [Judgment question] Both have high interrupt priority, and external interrupt 0 can interrupt the interrupt service routine of external interrupt 1 that is being executed.
A. Correct
B. Incorrect
Reference materials 【 】
9. 【Judgement】The interrupt service function can be called directly.
A. Correct
B. Incorrect
Reference materials [ ]
10. [True question] Under the premise of enabling interrupts, as long as the interrupt source sends an interrupt request, the CPU will immediately respond to the interrupt.
A. Correct
B. Incorrect
Reference materials 【 】

Guess you like

Origin blog.csdn.net/m0_53223332/article/details/123798102