MCO LECTURE TEST
pdf
keyboard_arrow_up
School
Seneca College *
*We aren’t endorsed by this school
Course
355
Subject
Electrical Engineering
Date
Dec 6, 2023
Type
Pages
6
Uploaded by FSY1801
MCO IMPORTANT QUESTIONS
1.
An Embedded System is made up of:-
A microcontroller programmed for a specific purpose within
a larger system
2. IoT stands for:
Internet of Things
3.
IoT is concerned with:
Sending data from embedded systems to the cloud and getting back
control information
4. MBED is:
a platform for 32-bit ARM Cortex M MicroControllers
5. SOC refers to:
A microController
6.
MicroControllers were first developed in:
1970's
7.
A Microprocessor has its CPU, RAM, ROM and I/O all inside a single chip or SOC- False
8.
Apple will be moving away from SOC's in their laptops to Intel Based Processors in 2020.-
False
9.
In 2020 there are over 160 boards supported by the MBED Platform-
True
10. Pelion Device ready means that the microcontroller can connect to the PELION cloud-
True
11. The FRDM-K64 MicroController supports all the MBED platform development capabilities- True
12. The FRDM-K64 is an ARM M3 Microcontroller- False
13. API stands for :
Application Programmer's Interface
14. MBED API's work on all MBED supported boards- True
15. Any computer with a web browser can create a program using the MBED CLOUD Compiler- True
16. When you program using the MBED compiler, it supports printf, scanf, getc, and putc- True
17. Just about every smart device will have a MicroController in it-True
18. In the year 2022 there will be approximately 40 Billion MicroControllers sold in that year alone.-
True
19. MicroControllers go from 4 bit size all the way to 64 bits in size- True
20. 32-bit ARM Cortex M version processors were developed by ARM specifically for IoT- True
21. ARM M0, M0+, and M1 are used for: are battery powered and used in END devices such as
sensors
22. ARM Cortex M4 MicroControllers are:typically powered from an outlet and used to connect to a
cloud server
23. All Mbed API's can be used by all 160+ ARM Cortex M version microcontrollers- True
24. HAL stands for Hardware Abstraction Layer- True
25. The Hardware Abstraction layer allows over 160+ Microcontrollers to share the same set of API's-
True
26. Which of the following statements is true:- MBED libraries are open source and royalty free and
Arduino Libraries are not
27. The MBED platform provides Security from the chip to the cloud and back again- True
28. ASCII stands for: American Standard Code for Information Interchange
29. All UPPER CASE ASCII characters A-Z in HEX are 0x20 bigger than the lower case ASCII
characters a-z- False
30.
31. Printable ASCII characters go from hex value 0x20 to 0x7E- True
32. ASCII characters go from hex 0x00 to 0xFF- False
33. If you hold down the CONTROL KEY and press G you will generate the HEX value 07- True
34. When you hold down the CONTROL KEY and press J, it generated a 0x0A or Line Feed, and the
cursor on the screen will move vertically down.- True
35. If you hold down the CONTROL KEY and PRESS L, it will generate a 0x0C (Form Feed) which
will eject paper on a printer or clear the characters on your screen.- True
36. If you hold down the CONTROL KEY and press M, it will generate a 0x0D (Carriage Return)
which will put the cursor back to the start of the SAME line- True
37. Any printable HEX ASCII character value (0x20-0x7E) when sent to a PC screen or LCD screen
will display the same character, however, ALTernate charcters are NOT standard and will not
display the same characters on PC Screens and LCDs.- True
38. When you add the 2 binary numbers 11010110 + 11101011 you will get:
11000001 plus a carry
39. When you add the HEX values 4D + 9E you will get:
EB without a carry
40. When you do the HEX subtraction 00 - CE you will get: 32 plus a borrow
41. When you do the BINARY subtraction 10110110 – 11101011 you will get:
11001011 with a
borrow
42. For unsigned char and short, all the numbers are positive and the N-bit (MSB) is ignored- True
43. For signed char and signed short, Half of the numbers are Positive (N=1) and Half the numbers
are Negative (N=0)- False
44. When the Z-bit is 0, it means the result was 0- False
45. For signed numbers if you ADD 2 Numbers of the SAME SIGN and get a RESULT of opposite
sign, then you have a SIGNED OVERFLOW and V=1- True
46. For Signed Numbers if you ADD 2 numbers of OPPOSITE sign or SUBTRACT 2 numbers of the
SAME sign, then there is NO Signed Overflow and V=0- True
47. If you ADD 2 N-bit (N=4,8,16,32,64) bit numbers and get a result of N+1 or if you SUBTRACT a
larger number from a smaller one then you have an UNSIGNED OVERFLOW and C=1- True
48. If you add the Hex values: AB + CD then the answer is: 78 with N=0, Z=0, V=1, C=1
49. If you ADD the BINARY VALUES 10101101 + 11101101 then the answer is: 9A with N=1, Z=0,
V=0, C=1
50. When you perform the HEX SUBTRACTION 8A - 6B you will get: 1F with N=0, Z=0, V=1, C=0
51. When you perform the Binary Subtraction 01111101 – 11011101 you will get:
10100000 with
N=1, Z=0, V=1, C=1
52. In the 1960's you were able to program computers in OCTAL- False
53. In the 1970's you were able to program computers in HEX- False
54. Of BINARY, HEX, OCTAL and ASSEMBLY Language programs, ASSEMBLY Language is the
only Human Readable Language- True
55. When you compile a Program in C, it has to first convert it to ASSEMBLY Language, to be able to
carry out the instructions using the specific registers in that CPU- True
56. Binary Machine code, represents patterns of voltages, and this is the only form of the program
that the CPU can understand- True
57. Octal is base 8 which means Octal has digits 0-8- False
58. When you convert the binary number 11010101 to Octal you will get: 325
59. The Octal Number 251 in binary is: 10101001
60. The Binary number 11101011 in HEX is: EB
61. The HEX value DA in Binary is: 11011010
62. The DECIMAL NUMBER 241 in BCD is:
1001000001
63. The BCD number 110010101 in Decimal is: 195
64. The unsigned HEX value AB in decimal is: 171
65. The decimal value 165 in HEX is: A5
66. For unsigned char and unsigned short all numbers are considered to be positive and the
MSB(Most SIgnificant Bit) or N (Negative) bit has no meaning- True
67. For signed char and signed short, half the numbers are Positive (MSB=1) and half the numbers
are Negative (MSB=0)- False
68. If you convert the HEX value 58 as a signed value to decimal, you will get 88- True
69. If you convert the HEX value A7 as an unsigned char value to decimal, you will get -89- False
70. The offset between unsigned short values whose MSB is 1 and signed short whose MSB is 1 is
256- False
71. For unsigned short, the hex value 0xffff is equivalent to -1- False
72. Inside a MicroController, the ALU or Arithmetic and Logic Unit is part of the CPU where
ADDING/SUBTRACTING , ANDing, ORing, and XORing take place- True
73. The CCR or Condition Code Register (Status Register) contains the bits NZVC that are used to
determine program flow in a MicroController.- True
74. The Program Counter keeps track of the ADDRESS of the NEXT instruction that will be
executed.- True
75. The STACK POINTER keeps track of the ADDRESS of the NEXT instruction that will be
executed.- False
76. In the CPU, the CLOCK is a SINE wave that is used to synchronize Data Transfers on the Data
Bus- False
77. The READ/WRITE line controls the direction of Data Flow on the Bi-Directional Address Bus-
False
78. When the R/W line is HIGH Data leaves the CPU and when the R/W line is LOW Data enters the
CPU.- False
79. The R/W line is controlled by Load and Store Instructions. A LOAD operation sets the R/W line
LOW and Data enters the CPU. A STORE operation set the R/W line HIGH and Data laves the
CPU.- False
80. Interrupts are used to handle Asynchronous events.- True
81. BIT is an abbreviation for Binary digit- True
82. A Byte is made up of 4 bits of information- False
83. A char variable in C contains- 8 bits of data
84. A Kilobyte of memory means 1024 bytes of memory- True
85. A CPU that has a 16 bit ADDRESS Bus can have total resources of RAM, ROM, FLASH and I/O
of 64KB- True
86. A Memory Map shows you the Address Ranges for Ram, Flash, and I/O- True
87. The FRDM-K64 has 1 Mb of FLASH, 1/2 Mb of I/O and 1/4 Mb of RAM- True
88. When you declare a variable in C, it will have a random value in it by default- True
89. A char variable will have 1 byte or 8 bits of storage, a short will have 2 bytes or 16 bits of storage,
and a long will have 4 bytes or 32 bits of storage- True
90. QWERTY keyboards use a keyboard layout that is a standard for all parts of the world- False
91. ASCII characters go from 0x00 to 0x7F and ALTernate characters go from 0x80 to 0xFF- True
92. In ARM CPU's the first 13 registers are used for char, short, int, and long variables- True
93. In ARM Cpu's, the Stack Pointer and Program Counter are two different 32 bit registers- True
94. On ARM Cpu's, N,Z,V, and C are found in the CCR or Condition Code Register.- False
95. The HAL or Hardware Abstraction Layer will hide the details of how the internal ARM registers
deal with data.- True
96. ARM Processors typically use a BIG Endean Memory Scheme- False
97. Light bulbs were invented by Thomas Edison in: Late 1800's
98. Light bulbs create light by passing a large current through a thin filament. The efficiency of light
produced was: Less than 5%
99. The abbreviation LED stands for: Light Emitting Diode
100.
LEDs are made up of two semiconductors that produce light by : Electroluminescence
101.
Leds are: smaller than light bulbs but more efficient
102.
LEDS on average last over 10 years- True
103.
LEDS have 3 factors:
Polarity, forward voltage, maximum current rating
104.
Which is NOT true about the ANODE- you connect ground to the Anode
105.
The forward voltage of leds depends on the colour of the led. Which of the following is
true of forward voltages of leds: A red led has the lowest forward voltage
106.
Standard 5 mm LEDS typically have a maximum current rating of about 20 milliamps.-
True
107.
OHM's law states V = IR . Therefore R = V/I . This means that the smallest value of
currently limiting resistor that you need is calculated by the (SOURCE VOLTAGE - Forward
Voltage) over the Maximum current rating.- True
108.
For an LED that has a forward voltage of 2v, a maximum current of 20mA, with a source
voltage of 3.3 volts the current limiting resistor must be 65 ohms or greater.- True
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
109.
For the RGB Leds on the FRDM-K64 a 1 (3.3volts) turns ON the LED and a 0 (0 volts)
turns OFF the LED.- False
110.
All ports A,B,C,D, and so on have 32 bits associated with them.- True
111.
The API required to control a LED is DigitalOut which is found in the INPUT/OUTPUT
Drivers Sections- True
112.
To have a variable called red_led control the RED led on the FRDM-K64, you would use:-
DigitalOut red_led(LED1);
113.
The statement wait(0.5); wasted 0.5 milliseconds- False
114.
The Left Pushbutton on the FRDM-K64 can be referenced by either SW3 or PTA4.- True
115.
The Right Pushbutton on the FRDM-K64 can be referenced by either SW3 or PTA4.-
False
116.
When a pushbutton on the FRDM-K64 is PRESSED it generates a value of 1, and when
NOT PRESSED it generates a 0.- False
117.
To import projects into MCUXpresso, you select GENERAL/IMPORT/EXISTING
PROJECTS into WORKSPACE- True
118.
You will use the CMSIS DAP Probe when you connect to target- True
119.
In MCUXpresso you get to the memory browser by WINDOW/SHOW VIEW/MEMORY
BROWSER- True
120.
When you single step and the debugger gives you a strange response, you can continue
by choosing STEP RETURN- True
121.
If you have a 3.3 probe and a ground probe with a current limiting resistor, if you move
the ground probe around while holding the 3.3 probe fixed, and segments light up, then it is a
Common Anode display.- True
122.
POTS stands for: Plain Old Telephone Service
123.
CODEC stands for: COmpression/DECompression
124.
MODEM stands for MOdulation/DEModulation- False
125.
Which of the following is NOT TRUE about a MODEM- Sends Digital Voltages through
POTS
126.
Because of Inductance and Capicitance in POTS, you cannot send and receive DIGITAL
VOLTAGE Patterns- True
127.
When the PC downloads BIN files to the FRDM-K64, it compresses them before it sends
them- False
128.
For COMPRESSED Serial Data, BAUD RATE is the number of BITS/SEC transferred
between computers.- False
129.
The default Baud Rate for the FRDM-K64 is 9600 Baud
130.
If you want to increase the BAUD RATE beyond the DEFAULT, you can no longer use
printf as it is- True
131.
SCI stands for: Serial Communications Interface
132.
The SCI is a parallel to parallel and serial to serial interface device- False
133.
A parallel data transfer is accomplished by Shifing Data- False
134.
Which of the following is NOT TRUE about SHIFTING on the SCI.- Shifting takes place
from the CPU to the Transmitter reg of SCI
135.
When there are no characters being transferred from the TX of SCI to the PC Screen, or
from the PC Keyboard to the RX register of the SCI, the IDLE Condition is: HIGH
136.
Hitting a key on the PC Keyboard is: A random Asynchronous Event
137.
Which of the following is TRUE about START and STOP bits- A Start bit is a LOW bit that
tells the receiving unit that data follows, and a STOP bit is a HIGH bit that gives the receiving unit
time to deal with the data
138.
Which of the following is NOT true- None of the above
139.
RDRF stands for: Receiver Data Register Full Flag
140.
TDRE stands for: Transmitter Data Register Empty Flag
141.
Which of the following is TRUE about the TDRE Flag- When a character is stored to the
Transmitter of the SCI, the TDRE Flag of the SCI goes to 0
142.
Which of the following statements is TRUE about the RDRF Flag- When a character is
pressed on the PC keyboard, and has been completely shifted into the Receiver Register of the
SCI, RDRF will be 1
143.
Which of the following statements is TRUE- When a character in the Receiver register of
the SCI, is loaded into a CPU register (variable), RDRF will go to 0 and the R/W line is high
144.
Which of the following is TRUE- When a Character in the CPU is Stored to the
Transmitter register of the SCI, the R/w is LOW and the TDRE will go to 0
145.
For an Asynchronous Serial system, the transmitter of one device is connected to the
transmitter of the other device and the receiver of one device is connected to the receiver of the
other device.- False
146.
SPI stands for: Serial Peripheral Interface
147.
MOSI stands for Many Out Single In- False
148.
MISO stands for Master In Slave Out- True
149.
To connect two SPI's you connect MOSI from one SPI to MOSI of the other SPI, and
MISO from one SPI to MISO of the other SPI- True
150.
Which of the following is TRUE when a MASTER SPI is connected to a SLAVE SPI-
When 8 bits goes out of the MASTER on MOSI, 8 bits comes into the Master on its MISO from
the SLAVE
151.
To connect up four 7 segment displays to the FRDM-K64, you would need four serial to
parallel shift registers, and only 4 connecttions to MOSI, MISO, SCLK, and SS- False
152.
The Putty screen is made up of 24 columns by 80 rows- False
153.
To have a <CR> go to the screen from a program in a printf you use '\r, and when you
want a <LF> you use '\n- False
154.
Serial Asynchronous communications are typically faster than Serial Synchronous
Communicatons- False
155.
To have ALTernate characters come to the PUTTY screen, you hold down the ALT key
and type in the HEX value of the ALTernate character- False
156.
Analog Data input is made up of constantly changing information- True
157.
Pure Analog data can be directly dealt with by a computer- False
158.
A Analog to Digital converter, converts Analog data to a form a computer can deal with-
True
159.
The Nyquist Shannon Sampling Theorem states that the sampling frequency must be at
least- Double the frequency of the analog signal being sampled
160.
When you convert a continuous analog signal into a digital one, any deviations from the
ideal equivalent analog values is known as: Quantization Error
161.
Increasing the Sampling Rate of the A2D converter will reduce the amount of
Quantization error. – True
162.
An A2D converter that has a lower sampling rate will use up less power than an A2D with
a higher sampling rate – True
163.
Digital Displays are connected to digital sensors that produce the information that the
display uses. - False
164.
In your car, microcontroller based sensors send data through the car using a CAN bus.
CAN stands for: Controller Area Network
165.
Digital Displays will show less detailed information than an Analog Display because of:
quantization error
166.
Which of the following are NOT true about the trade offs between Analog and Digital
displays- None of the above
167.
The most common resolutions of A2D converters for MicroControllers is 8, 10, 12, or 16
bits - True
168.
For a person to recognize a digitized version of your voice, the it must use at least a 16
bit A2D converter.- False
169.
Voice Bandwidth for your phone is 4KHz- True
170.
Analog is a better way of sending information over longer distances than Digital- False
171.
When information is being sent over large distances, there is noise added to the
information. Which of the following is NOT true: None of the above
172.
All Analog to Digital Converters have a High and Low Voltage Reference- True
173.
An 8-bit successive approximation A2D, that has Vref lo = 0 volts, Vref Hi = 32 volts, and
a DIGITAL Value of 01000000, has digitized a voltage of 8 volts.- True
174.
The Switch on the GROVE shield should be set to 5 Volts- False
175.
The FRDM-K64 contains: two 16-bit A2D converters
176.
For the Grove Connectors the coloured wires represent: Black - Ground, Red 3.3 volts,
Yellw and White - data
177.
The Grove shield allows us to connect up to: 4 Analog devices, 7 Digital devices, 4 I2C
devices and 1 Uart device
178.
Assuming that the statement
DigitalOut led_red(LED1); has been given first
led_red=1; is equivalent to: led_red.write(1);
179.
In this course, we are connecting the POT to analog input A0, and the Temperature
Sensor to analog input A1-TRUE
180.
After the statements:
AnalogIn get_input(A1);
The statement:
input=get_input.read();
will return an
float
from
0.0
to
1.0 - True
181.
For the GROVE Temperatue Sensor the value of the resistance at 25 degrees Celsius is-
100 kOhmns
182.
There are 2 types of Thermistors used in temperature sensors. Which of the following is a
TRUE statement.- An NTC thermistor has decreasing resistance with increasing Temperature
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Recommended textbooks for you

Power System Analysis and Design (MindTap Course ...
Electrical Engineering
ISBN:9781305632134
Author:J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:Cengage Learning

Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning

EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:9781337516549
Author:Simmons
Publisher:CENGAGE LEARNING - CONSIGNMENT

Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning

Recommended textbooks for you
- Power System Analysis and Design (MindTap Course ...Electrical EngineeringISBN:9781305632134Author:J. Duncan Glover, Thomas Overbye, Mulukutla S. SarmaPublisher:Cengage LearningDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningEBK ELECTRICAL WIRING RESIDENTIALElectrical EngineeringISBN:9781337516549Author:SimmonsPublisher:CENGAGE LEARNING - CONSIGNMENT
- Electricity for Refrigeration, Heating, and Air C...Mechanical EngineeringISBN:9781337399128Author:Russell E. SmithPublisher:Cengage Learning

Power System Analysis and Design (MindTap Course ...
Electrical Engineering
ISBN:9781305632134
Author:J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:Cengage Learning

Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning

EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:9781337516549
Author:Simmons
Publisher:CENGAGE LEARNING - CONSIGNMENT

Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning
