# EE109 – Fall 2022: Introduction to Embedded Systems

## Quiz Info

### When and Where

**Wed. Feb. 16 at 7 p.m.**

**The Spring 22 Quiz will be in-person. **

**Location**:

**Prof. Redekopp and Qian's sections**: THH 101**Prof. Puvvada's section**: THH 114**OSAS Accommodations (1.5x time)**: THH 106

**Policies and Procedures**:

- The quiz will be
**75 minutes** - The quiz is
**CLOSED BOOK / CLOSED INTERNET SOURCE** - Calculators may
**ONLY**be used on the**Analog/Resistive circuits problem** - The quiz will be administered via paper and pen/pencil.
- Students with 1.5x time for academic accommodations will be granted their additional scaled time but take the exam in a separately proctored room. Students with other accommodations (2x time, etc.) should make arrangements to take the exam with OSAS earlier that day.
- Students who are in COVID protocol must let your REGISTERED instructor know by the morning on the date of the quiz if you will not be able to take it in person. We will setup alternate arrangements for you. If you don't let your instructor know in advance, you will likely be assigned a 0 on the quiz.
- As a reminder, it is closed notes/book/etc.
**Any academic integrity violations or cheating will simply be submitted to SJACS with a recommended sanction of F in the class**, so it really isn't worth it.

### Topics

#### Unit 1

- KCL & KVL
- Ohm's Law
- Series and Parallel Resistance
- Voltage dividers
- Solving for voltages and currents in a circuit
- Appropriate ways to connected buttons/switches and LEDs

#### Unit 2

- Know the operation of the basic gates: AND, OR, NOT, NAND, NOR, XOR, XNOR
- Tracing the bits through a gate network and understanding the levels of logic
- Design goals
- Single variable theorems
- Difference between combinational and sequential logic

#### Unit 3

- Number systems
- Converting base r to base 10
- Unique combinations
- Approximating Large Powers of 2
- Converting base 10 => base 2
- Converting binary <=> octal <=> hexadecimal

#### Unit 4

- Bit fiddling (
`&`,`|`,`~`and`^`) - DDR, PORT, and PIN register functions
- Setting, clearing, and checking bits

#### Unit 5

- Basics of using state to perform operations at different rates/intervals

### Style

The quiz will have only a few general short answer/fill in the blank question, and instead focus more on ability to apply knowledge through problems similar to your homeworks but requiring the use of 1 or more concepts that demonstrate understanding. You should know the material and procedures for solving problems well enough that you can quickly produce solutions once you identify the procedure to apply. If you spend unnecessary time trying to recall what procedure applies when and how to perform that procedure you will likely run out of time.

### Ways to Prepare

- Study the slides
- Review your homeworks and/or labs understanding what general concepts and processes have been taught and how/when to apply those processes to new problems.
- Review the bit fiddling and digital I/O using this website. Click on one of the types of bit fiddling problems to generate a sample problem, and you can then check your answer to see if it's correct.

### Samples

- Question Set 1
- Ignore page 1, problem 2a and 2c that reference "2s complement"
- Question Set 2
- The 2nd problem of this set is beyond what we'd ask on the quiz but if you can do it, you are in good shape for the digital I/O topics on the quiz.

- Question Set 3
- Fall 2020 Quiz and Q4 starter code
- Spring 2021 Quiz and Q4 starter code