Latest 2022 Rated A+
computer program ✔✔instructions, executing one at a time
input ✔✔program gets data; from keyboard, file, touchscreen, network, etc
process ✔✔data put elsewhere; to a file, screen, network, etc
triangle's area ✔✔1/2*base*height
computational thinking ✔✔a sequence of instructions to solve a problem
algorithm ✔✔sequence of instructions that solves a problem
flowchart ✔✔graphical language for creating computer programs
interpreter ✔✔runs a program's statements
run and execute ✔✔words for carrying a program's statements
a parallelogram represents..? ✔✔an input (or output) statement
string literal ✔✔consists of text (characters) within double quotes
such as "Go #57!"
character ✔✔any letter or symbol
,cursor ✔✔indicates where the next output item will be placed in the output
newline ✔✔Special two-character sequence \n whose appearance in an output string literal causes
the cursor to move to the next output line. The newline exists invisibly in the output.
Put "To be" to output
Put "or not to be" to output ✔✔to beor not to be
Put "a\nb\nc" to output ✔✔a
b
c
comment ✔✔text a programmer adds to a program, to be read by humans to better understand the
code, but ignored by the program when executing
whitespace ✔✔refers to blank spaces (a space and tab characters) between items within a
statement, and to newlines
whitespace helps to? ✔✔improve readability for humans, but for execution purposes is mostly
ignored
whitespace common practice? ✔✔use exactly one space before and after each operator
What whitespace does matter? ✔✔-variable cant include spaces
-likewise, digits of a number can include spaces
ex: numCars=25 and NOT num Cars = 2 5
bit ✔✔single 0 or 1
, byte ✔✔8 bits
ASCI uses how many bits per code? ✔✔7
Unicode ✔✔another character encoding standard, published in 1991, whose codes can have more
bits than ASCII and thus can represent over 100,000 items, such as symbols and non-English
characters.
Pseudocode ✔✔text that resembles a program in a real programming language but is simplified to
aid human understanding; may use more sentence-like notation
= ✔✔in programming does not mean equals. In programming is an assignment of a left-side
variable with a right-side value.
What is "usersAge" type? ✔✔integer; holds an integer value
identifier ✔✔A name created by a programmer for an item like a variable or a function
identifiers ✔✔-start with a letter
-no spacing
-multiple underline or single underline is ok
-no using language keywords can be used ("get"
-no using !
naming conventions ✔✔a set of style guidelines for naming variables
two common for distinguishing words in an identifier: ✔✔-camel case
-underscore separated