Fundamentals of Python Programming

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Software

A computer program is an example of computer _____

\

A symbol that signifies that the character that follows it is a control code, not a literal character

Undefined Variable/unbound variable

A variable that has not been assigned is called

Assignment

An _________ statement associates a value with a variable

Class

An expression's type is sometimes denoted as its _____

float

Any literal numeric value with a decimal point in a Python program automatically has the type _____

\a

Control code for alert

\b

Control code for backspace

\f

Control code for form

\n

Control code for new line

\t

Control code for tab

Print

Function that enables a Python program to display textual information to the user

Triple quotes

Python provides way to represent a string's layout more naturally within source code, using ___________

floating-point numbers

Python supports such noninteger numbers, and they are called

=

Symbol for assignment operator

bool

Syntax for boolean in programming

sep

Syntax for separator

Target code

The corresponding machine language code is called the _________

Source code

The higher-level language code is called ______

Logic Errors

The program contains an error, but the interpreter is unable to detect the problem

George Boole

The word "Boolean" came from a British Mathematician named _____

Positional parameters

This is known as placeholders

Body

This part of the if statement is sometimes called the _____

Bugs

Undiscovered run-time errors and logic errors that lurk in software are commonly called ______

Computing professionals or software engineers

_______ develop software to drive particular systems

Debugger

allows a programmer to more easily trace a program's execution in order to locate and correct errors in the program's implementation

Editor

allows the programmer to enter the program source code and save it to files

Boolean Expression

also called as predicate, may only have true or false outcome.

Integers

are whole numbers, which means they have no fractional parts, and they can be positive, negative, or zero

Run-time Exceptions

arise after the interpreter's translation phase and during the program's execution phase

Profiler

collects statistics about a program's execution allowing developers to tune appropriate parts of the program to improve its overall performance

Concatenation

combination of 2 string

Compound Boolean Expression

combination of two or more Boolean expression using logical operators

Control codes

control the way the console window or a printer renders text

Guido van Rossum

created the Python programming language in the late 1980s

Condition

is a Boolean expression that determines whether or not the body will be executed

Else-block

is a block of one or more statements to be executed if the condition is False

Block

is a block of one or more statements to be executed if the condition is true

If-block

is a block of one or more statements to be executed if the condition is true

Boolean Algebra

is a branch of discrete math that is dedicated to the study of the properties and the manipulation of logical expressions

Tuple

is a comma-separated list of expressions

Syntax Error

is a common error that the interpreter can detect when attempting to translate a Python statement into machine language

Algorithm

is a finite sequence of steps, each step taking a finite length of time, that solves a problem or computes a result

Computer program

is a sequence of instructions that dictate the flow of electrical impulses within a computer system

Identifier

is a word used to name things

Statement

is an instruction that the interpreter executes

Interpreter

is like a compiler, in that it translates higher-level source code into target code

Python

is used for software development at companies and organizations such as Google, Yahoo, Facebook, CERN, Industrial Light and Magic, and NASA

Software

is written to be used on real computer systems

Delimit

means to determine the boundaries or limits of something

Evaluation

process of determining the expression's value

Syntax

refers to the way pieces of the language are arranged to make well-formed sentences

Truncation

removing the decimal part of a float is called ______

Variable

represents a value stored in the computer's memory

Relational operators

simplest kinds of boolean expression to compare two expressions

Reserved words

these words are special and are used to define the structure of Python programs and statements

Compiler

translate one computer language into another

Interpreter

translates the Python code into machine code when a user runs the program

Precedence

when an expression contains two different kinds of operators, which should be applied first?

Associativity

when an expression contains two operators with the same precedence, which should be applied first?


Ensembles d'études connexes

CFA Level 1 - Financial Reporting & Analysis

View Set

PN Nursing Care of Children Online Practice 2020 B with NGN

View Set

Contemporary Biology - Quiz 9-11

View Set

Bio/Ensci 251 Ch. 4 Practice Problems

View Set

Art 100 Ch 15 Christianity and the Formation of Europe

View Set

Astronomy Part 4 Reading Assignments

View Set

ch8: data warehouse and data mart modeling

View Set