Flashcards
Chapter : Programming
Cards in this deck (8)
- 1Codetextual representation of a program
- 2Linea row of text
- 3MainThe program starts by executing a function
- 4Braces{ }
- 5StatementProgram instruction
- 6The main function and hence the program ends when the return statement executes. The 0 in return 0; tells the operating system that the program is ending without an error.Like a baker temporarily stores ingredients on a countertop, a program temporarily stores values in a memory. A memory is composed of numerous individual locations, each able to store a value. The statement int wage = 20 reserves a location in memory, names that location wage, and stores the value 20 in that location. A named location in memory, such as wage, is called a variable (because that value can vary).
- 7Compilera tool that converts a program into low-level machine instructions (0s and 1s) understood by a particular computer. Because a programmer interacts extensively with a compiler, this material frequently refers to the compiler.
- 8VariableRepresents a particular memory location
Information
- Description
- N/A Computer Science 121 Flashcards on Chapter : Programming, created by kristina.krozak on 12/01/2016.
- Created by
- kristina.krozak
- Views
- 0
- Rating