Skip to content

Instantly share code, notes, and snippets.

View shawnkoon's full-sized avatar
🕷️
.̸̧͖̟̞̹̞̲̔̕.̴̧̞͚̭̱͓̦͙̈̐̈́̓̔̀.̴͔̼̻͔̪̲͖̈̌̒͌̀.̴̡̛̩̘̟̙͇͈͂͛̆̋͂͌̕͘̕͜.̴̰̲̺͐̊̂̇̏̓͗̾.̴̰̳͉̂

shawnkoon shawnkoon

🕷️
.̸̧͖̟̞̹̞̲̔̕.̴̧̞͚̭̱͓̦͙̈̐̈́̓̔̀.̴͔̼̻͔̪̲͖̈̌̒͌̀.̴̡̛̩̘̟̙͇͈͂͛̆̋͂͌̕͘̕͜.̴̰̲̺͐̊̂̇̏̓͗̾.̴̰̳͉̂
View GitHub Profile
1) For a 4-bit scaled-resistor DAC, with a contribution from each on-bit of 1V, and an 8R resistor = 8 Ohms with 10% precision: what is the worst case error, in Volts, of Vout, when the input is 0001, which should produce an output of -1 V / 8 = -0.125? Error is the absolute value of the difference between the expected output and the actual output. You may use the approximate error formula discussed in class.

Let's get started with github!

There are many different ways of working on github depend on whether you are working on your own repository, someone else's repository (without write permission), someone else's repository (with write permission), and etc...

So, let's talk about third way, 'someone else's repository (with write permission)'

  1. You need to make a Fork of a project. I would recommend you guys reading these 2 documentations that talks about what Forking does and how to work with it. Forking a repository & What it is for Syncing with main repository
@shawnkoon
shawnkoon / midterm_studyGuide.md
Created February 17, 2017 08:44
CSCD467 midterm study guide

CSCD467 Parallel & Cloud Computing Midterm Study guide.

Author : shawnkoon. Web : github.com/shawnkoon

  1. Concept of barrier and semaphore
  • Barrier - Datastructure that allows threads to wait for each other to reach a same barrier point. CyclicBarrier - barrier that is re-used after the threads are released.

  • Semaphore - Datastructure that maintains a set of permits and it ensures that only N threads can access a certain resource at a given time. Tip : Why getItem() method is not synchronized? A : because semaphore encapsulates the synchronization inside itself.