Midterms Flashcards

1
Q

Which of the following statements describes a true outcome from executing the two Arduino statements

A

(not) a square wave signal with a pulse height of 128mV is sent to channel 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which command-line option of compiler exhibits the banner comprising overall number of errors, messages, warnings, hex files, and version number after an accomplishment of the compilation process

A

verbose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which architectural scheme has a provision of two sets for address and data buses between cpu AND MEMORY

A

Harvard architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many pins can be configured to generate a PWM output for Arduino Uno

A

6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why do the microprocessors possess very few bit manipulating instructions

A

because they mostly operate on byte/word data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

arduino need additional programmer or burner hardware required for programming boardq

A

false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

PIC microcontroller is suitable for designing advanced embedded systems

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many pins that are configured to read analog output

A

6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Is there anything wrong with this line of code smth light is on

A

the boolean expression will produce a compiler error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the compact and uniform nature of instructions in RISC processors facilitate to

A

pipelining

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

arduino uses a 5v to 6.6v of power supply

A

false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

this function in arduino is used to write any data or reading a voltage from an analaog input devices

A

analogWrite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the variable x and y in the function analogWrite(x, y) stands for

A

pin, Duty cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the significant designing issues/factors taken into consideration for RiSC Processors

A

All of these

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When writing a sketch, how do you decide which features belong in the setup function and which belong in the loop function

A

Features that need to run continuously go in loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which processor has the necessity of manual optimization for the generation of assembly language code especially for the embedded systems

A

CISC

17
Q

What are the range of values that be used as a parameter for the duty cycle of analogWrite function

A

0-255

18
Q

How does the microcontroller communicate wth the external peripherals/memory

A

I/O ports

19
Q

Embedded controllers contain multiple central processors

A

False

20
Q

An Arduino sketch does not have the traditional main() function that’s generally present in C programs

A

True