COMPTNG 10A Study Guide - Final Guide: Compiled Language, Undefined Behavior, Integrated Development Environment

54 views3 pages
14 Sep 2017
School
Professor

Document Summary

Secondary notation indentation + other visual cues to help with human readability of code. Convention of consts is to caps them all. Code should be rendered with a monospaced font so they align. 2 space characters > tabs const not only help with making code safer, but also more readable. Const reveals your intent to never change a variable. Comment on the else portion of an if-else statement to explicitly state that side too. Common sense: think of what people who read your code will feel. Cpu: central processing unit, brain of the computer, elementary operations. Ram: random access memory, primary storage of computer, store info until the end of a program. Hdd/ssd: hard disk drive / solid state drive, secondary storage of computer, permanent storage. Case: physically holds the components together. Power supply: converts unstable ac power from the wall to stable dc power. Graphics card and monitor: visual outputs.