한글자막 없는 영어강의라 포기하려고 했지만 다른 강의나 책은 더 어려워서 결국 제 컴퓨터 공부의 시작은 Introduction to Computer Science가 되었는데요. 번역하면서 듣다보니 느낀 건 CS를 공부하고 싶다면 이 강의를 처음으로 들으면 좋다는 것! 다른 어떤 강의나 책보다 쉽게 설명해줍니다.
총 11주 강의로 하루 1~2시간 정도로 꾸준히 공부할 계획을 세우고 있습니다. 들으면서 까먹으면 안되는 개념 부분만 발췌해서 매일 업데이트할 예정인데요. 강의 듣는데 어려움을 느끼시는 분들에게 조금이나마 도움이 되었으면 좋겠습니다. 제 해석이 틀릴 수도 있다보니 영어 그대로 가져왔습니다.
problem solving : inputs → □ → outputs
There's input so whatever it is that you're trying to solve. There's output, which is hopefully the solution to that problem. And then, as we would say in computer science, there's this black box in the middle that you don't necessarily have to care about how it works. You yourself eventually might implement what's inside that box. But for today's purposes and more generally in life, all you care about is that these problems get solved.
decimal → binary : 7 → 111
You have a one in the four, a one in the two, a one in the one. So that's 4 plus 2 plus 1. So that gives you seven.
ASCII : A - 65, B - 66, C - 67, D - 68, E - 69, F - 70, G - 71, H - 72, I - 73 ...
It would be nice if computers were not just calculators for arithmetic operations, but actually could do things like word processing, or email, or more modern incarnations of these kinds of technologies. And so the world decided arbitrarily, but universally, that if you want to store the capital letter A in a computer, you know what? Let's just all agree to store some pattern of zeros and ones bits that ultimately represents the decimal number 65. 66 would represent B, 67 would represent C, and there's bunches of other patterns of zeros and ones, or underlying numbers, that would represent other letters still. So if you kind of mentally absorb this for a moment, I deliberately put up A through I, where H a 72 and I is 73.
Red + Green + Blue → Yellow or Brown
If you've ever heard the acronym RGB, red, green, blue, that just means that a computer typically uses three sets of bits some number of bits that represent a number for how much red you want, another set of bits for how much green you want, and another set number for how much blue so want. So a big number means lots of red, small number means no red. And so these are kind of middle values here. So give me some red, give me some green, and give me a little bit of blue. And if you mix those three shades of color together, in this case, you get this murky shade of yellow or brown.
inputs → [ algorithms : Finding Mike Smith ] → outputs action condition boolean expression loop cycle
0 pick up phone book
1 open to middle of phone book
2 look at names
3 if Smith is among names
4 call Mike
5 else if Smith is earlier in book
6 open to middle of left half of book
7 go back to step 2
8 else if Smith is later in book
9 open to middle of right half of book
10 go back to step 2