목록Computer (246)
Machineboy空

1) Or8way/** * 8-way Or gate: * out = in[0] Or in[1] Or ... Or in[7] */CHIP Or8Way { IN in[8]; OUT out; PARTS: Or(a=in[0], b=in[1], out=or1); Or(a=in[2], b=in[3], out=or2); Or(a=in[4], b=in[5], out=or3); Or(a=in[6], b=in[7], out=or4); Or(a=or1, b=or2, out=or5); Or(a=or3, b=or4, out=or6); Or(a=or5, b=or6, out=out); }2) Mux4Way16/** * 4-way 16-bit multiplexor: * o..

https://nand2tetris-hdl.github.io/#mux16 HDL API & Gate Designin[16], load out[16]nand2tetris-hdl.github.io 기존 And, Not, Or,Mux 연산을 16bit로만 바꿔주면 된다.1)Not16/** * 16-bit Not gate: * for i = 0, ..., 15: * out[i] = Not(a[i]) */CHIP Not16 { IN in[16]; OUT out[16]; PARTS: Nand16(a= in[0..15], b= in[0..15], out= out);}2)And16/** * 16-bit And gate: * for i = 0, ..., 15: * out[i] = a[i] And b..

https://m.blog.naver.com/junb7/222792228046 논리게이트의 종류(AND, OR, NOT, NAND, NOR, XOR, XNOR)안녕하세요, 동반자 여러분. 이번 포스트는 다양한 논리게이트의 종류에 대해서 알아보시는 시간을 갖고자 ...blog.naver.com Elementary logic gates 1) Not/** * Not gate: * if (in) out = 0, else out = 1 */CHIP Not { IN in; OUT out; PARTS: Nand(a= in, b= in, out= out);} 2) And/** * And gate: * if (a and b) out = 1, else out = 0 */ CHIP And { I..
https://ko.wikipedia.org/wiki/%EB%94%94%ED%94%BC-%ED%97%AC%EB%A8%BC_%ED%82%A4_%EA%B5%90%ED%99%98 디피-헬먼 키 교환 - 위키백과, 우리 모두의 백과사전위키백과, 우리 모두의 백과사전. 디피-헬먼 키 교환(Diffie–Hellman key exchange)은 암호 키를 교환하는 하나의 방법으로, 두 사람이 암호화되지 않은 통신망을 통해 공통의 비밀 키를 공유할 수 있도ko.wikipedia.orghttps://exercism.org/tracks/csharp/exercises/diffie-hellman

Key conceptsBoolean algebraBoolean functionsgate logicelementary logic gatesHardware Description Language(HDL)hardware simulation1.1 Boolean Logicthe reason that computer only have 0s and 1s is because that's what they can get away with.It's simplest to have only two possible values that you need to maintain.And that's going to be enough as we will see today.We're starting with actual, the compl..

문제요약단어를 구성하는 알파벳에 따라 점수를 매겨라. 난이도Easy풀이 포인트switch문 사용forEach문 사용 foreach (char a in input) { }https://machineboy0.tistory.com/308 C# if문, switch문, for문, forEach문, while문완전 기초를 다시 다지고 가자.조건문 구성할 때 switch문이 적절한 케이스였음에도 바로 생각나지 않아서 정리한다.If문특정 조건에 따라 코드를 실행할지 말지 결정할 수 있는 문법if( 조건부 ) {machineboy0.tistory.com REVIEW forEach문을 C#으로 작성하는 데 버벅였고, 이 문제는 현저히 switch문에 어울리는 케이스였으나 바로 떠올리지 못해서 정리해둔다. 강의https..
문제요약아라비아 숫자를 로마 숫자로 변환해라MDCLXVI1000500100501051 조건 1: 같은 글자는 3번 연속해서 나올 수 없다.조건 2: 4 = 1 + 1 + 1 + 1 이 아니라 5-1 즉 IV로 표기한다.4(IV)9(IX)40(XL)90(XC)...https://exercism.org/tracks/csharp/exercises/roman-numerals Roman Numerals in C# on ExercismCan you solve Roman Numerals in C#? Improve your C# skills with support from our world-class team of mentors.exercism.org 난이도medium풀이 포인트아이디어REVIEW 또 조건 2를 간과..
문제요약조건에 만족하는 나무를 찾아 좌표를 반환동-서 축에서 가장 클 것북-남 축에서 가장 작을 것https://exercism.org/tracks/csharp/exercises/saddle-points/mentor_request/new ExercismLearn, practice and get world-class mentoring in over 50 languages. 100% free.exercism.org 난이도medium풀이 포인트2차원 배열 요소 접근https://machineboy0.tistory.com/305 C# 다차원 배열 - rank, getLength배열(Array)참조형식https://machineboy0.tistory.com/76 Value vs Reference typeCall ..