module 1 Flashcards
(38 cards)
programming language-
formal language with semantics and syntax for instructing a computer to perform a specific task
high level programming language
systems for issuing instructions to CPU that abstract away the detail of low-level machine language to provide programmers with natural language commands (C++, java, python)
semantics-
in the context of programming the meaning and validity of program statement
statement-
each instruction written in a high level programming language
program code
set of statements written in a programming language
reserved words
the words that a programming language reserves for its use to specify commands and other actions
keywords-
words in a programming g language that have special meaning such as a command to perform an action
class
define a characteristics of a person place or thing
for/ while
begin a section of code that repeats one or more times
def-
define sequence of instructions
variables
that can be assigned values and structures
if/elif/else-
execute program statements when condition is true
import-
incorporate a prewritten code module in a program
syntax-
in the context of programming language the grammar rules for word order and punctuation
arithmetic operator
that can be used to perform calculations
data types
that define values and text
branching controls –
change the sequence in which statements are executed
repetition controls
that repeat a series of statements
syntax rules
for constructing valid statements
terminology
describing the components of language that their functions
visual platform
option of arranging visual elements that represent various statements
text editor
software that can be used to enter plain ASCII text
directive-
tells the computer how to handle program rather than how to perform an algorithm
statements-
human readable text is divided into sentences an paragraphs your code should be divided into statements and blocks.