0% found this document useful (0 votes)
35 views2 pages

Capitulo 1: The Way of The Progam

This document provides an introduction to key programming concepts in two chapters: Chapter 1 defines fundamental concepts like programs, programming languages, interpreters, prompts, portability, high-level vs low-level languages. Chapter 2 defines additional core concepts like variables, assignments, state diagrams, keywords, operands, operators, expressions, comments, syntax errors, exceptions, statements, and semantics.

Uploaded by

carla freire
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Capitulo 1: The Way of The Progam

This document provides an introduction to key programming concepts in two chapters: Chapter 1 defines fundamental concepts like programs, programming languages, interpreters, prompts, portability, high-level vs low-level languages. Chapter 2 defines additional core concepts like variables, assignments, state diagrams, keywords, operands, operators, expressions, comments, syntax errors, exceptions, statements, and semantics.

Uploaded by

carla freire
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Capitulo 1

Characters displayed
by the interpreter to
A set of instructions indicate that it is
that specifies a ready to take input
computation. from the user.

The process of
formulating a problem,
finding a solution, and Problem
Program
expressing it Solving Prompt

A property of a program
that can run on more
THE WAY OF THE PROGAM Portability
than one kind of
A programming language computer
like Pythontahtis designed High-Level
to looks more like human Language Low-Level
language and is therefore Language
easier to understand Interpreter

A programming language A program that reads


that is desing to be easy another program and
for a computer to run executes it.

Capitulo 2
A name that refers to a value VARIABLE

INTERACTIVE A way of using the Python interpreter


A statement that assigns a
ASSIGNMENTS MODE by typing code at the prompt.
value to a variable.

A way of using the Python interpreter


A graphical representation of SCRIPT MODE
to read code from a script and run it.
a set of variables and the STATE DIAGRAM
values they refer to.
SCRIPT A program stored in a file.

A reserved word that is used


to parse a program; you Rules governing the order in which
KEYWORD ORDER OF
cannot use keywords like if, OPERATIONS
expressions involving multiple
def, and while as variable operators and operands are
names. evaluated.
One of the values on which an CONCATENATE To join two operands end-to-end.
operator operates. OPERAND
VARIABLES,
Information in a program that is meant
EXPRESSIONS AND
A combination of variables, COMMENT for other programmers and has no effect
STATEMENTS
operators, and values that EXPRESSIONS on the execution of the program.
represents a single re-sult.
An error in a program that makes it
SYNTAX ERROR
To simplify an expression by impossible to parse
performing the operations in EVALUATE
order to yield a single value.
An error that is detected while the
EXCEPTION
program is running.
A section of code that
represents a command or
action. So far, the statements STATEMENT SEMANTICS The meaning of a program.
we have seen are assignments

You might also like