반응형 Computer Science3 Memory (week3) Compiling contains four steps, preprocessing, compiling, assembling and linking. First convert a source code into required functions, like for instance in c, read hashtags and copy and past files. Second step is compiling, convert source code into assembling codes. Third step is assembling, converting assembling codes into machine codes, 1s and 0s. Last, link all files into 0s and 1s. Programmer.. 2019. 12. 27. Arrays and Sorting Algorithms (week2) Preprocessing – #include Compiling - programming language converts codes to assembly language for computer to understand Assembling – using assembling code and converts to 10101010100101001010s(machine code, object code) Linking – linking step links all the imported files, stdio.h + cs50.h + yourfile.h. These days, people call these four steps compiling to be general. Ram, random access memory, .. 2019. 12. 26. Computational Thinking & Scratch – Intro to Computer Science(week 0) Computer science is about problem solving H I (letter ascii) 72 73 (decimal numbers) 1001000 1001001 (binary 8 bit) Abstraction – converting lower level details into more simplified version and focus on problem solving Since there are so many languages that cannot be represented by 8 bit(256 different type of possibilities), now we use Unicode or utf-8 which uses 16 bit(2 to 16th power or 65536 .. 2019. 12. 25. 이전 1 다음 반응형