Python D335 Material Cards- with Answers
Verified 100% Correct
crash
Abrupt and unintended termination of a program is often called a _____ of the program.
IndentationError
The lines of the program are not properly indented.
ValueError
An invalid value is used - can occur if giving letters to int().
NameError
The program tries to use a variable that does not exist. If the name cannot be found in
any namespace, the interpreter generates a
TypeError
An operation uses incorrect types - can occur if adding an integer to a string.
logic error or bug
the program would load correctly, but would not behave as intended
IDE (Integrated Development Environment)
Code development is usually done with an
IDLE
is the official Python IDE that is distributed with the installation of Python
PyDev
is a plugin for the popular Eclipse program.
CodePad or Repl
,For learning purposes, web-based tools like ___ are useful
switch
A _____ controls whether or not electricity flows through a wire
bits (binary digits)
0s and 1s are known as _____.
circuits
They built connections of switches, known as _____, to perform calculations such as multiplying
two numbers.
processors, instruction
To support different calculations, circuits called _______ were created to process (aka execute)
a list of desired calculations, each calculation called an ______.
memory
is a circuit that can store 0s and 1s in each of a series of thousands of addressed locations, like
a series of addressed mailboxes that each can store an envelope (the 0s and 1s).
program, application, or just app.
The programmer-created sequence of instructions is called a
machine instructions, executable program (sometimes just called an executable).
Instructions represented as 0s and 1s are known as _____ and a sequence of ______ together
form an _______
assemblers, assembly language
Because 0s and 1s are hard to comprehend, programmers soon created programs called
_______ to automatically translate human readable instructions, such as "Mul 97, #9, 98",
known as ______ instructions, into machine instructions.
, high-level languages
In the 1960s and 1970s, programmers created _______ to support programming using formulas
or algorithms, so a programmer could write a formula like F = (9 /5 ) * C +
32. compilers
To support high-level languages, programmers created ______, which are programs that
automatically translate high-level language programs into executable programs.
eight
byte is ___ bits.
transistors, integrated circuit or IC.
After computers were first invented and occupied entire rooms, engineers created smaller
switches called ______, which in 1958 were integrated onto a single chip called an ______
Moore's law
The doubling of IC capacity roughly every 18 months, which continues today.
scripting languages
As computing evolved throughout the 1960s and 1970s, programmers began creating _______
to execute programs without the need for compilation.
script, interpreter
A ______ is a program whose instructions are executed by another program called an ______.
Python
In the late 1980s, Guido van Rossum began creating a scripting language called _______ and an
accompanying interpreter.
open-source language
Verified 100% Correct
crash
Abrupt and unintended termination of a program is often called a _____ of the program.
IndentationError
The lines of the program are not properly indented.
ValueError
An invalid value is used - can occur if giving letters to int().
NameError
The program tries to use a variable that does not exist. If the name cannot be found in
any namespace, the interpreter generates a
TypeError
An operation uses incorrect types - can occur if adding an integer to a string.
logic error or bug
the program would load correctly, but would not behave as intended
IDE (Integrated Development Environment)
Code development is usually done with an
IDLE
is the official Python IDE that is distributed with the installation of Python
PyDev
is a plugin for the popular Eclipse program.
CodePad or Repl
,For learning purposes, web-based tools like ___ are useful
switch
A _____ controls whether or not electricity flows through a wire
bits (binary digits)
0s and 1s are known as _____.
circuits
They built connections of switches, known as _____, to perform calculations such as multiplying
two numbers.
processors, instruction
To support different calculations, circuits called _______ were created to process (aka execute)
a list of desired calculations, each calculation called an ______.
memory
is a circuit that can store 0s and 1s in each of a series of thousands of addressed locations, like
a series of addressed mailboxes that each can store an envelope (the 0s and 1s).
program, application, or just app.
The programmer-created sequence of instructions is called a
machine instructions, executable program (sometimes just called an executable).
Instructions represented as 0s and 1s are known as _____ and a sequence of ______ together
form an _______
assemblers, assembly language
Because 0s and 1s are hard to comprehend, programmers soon created programs called
_______ to automatically translate human readable instructions, such as "Mul 97, #9, 98",
known as ______ instructions, into machine instructions.
, high-level languages
In the 1960s and 1970s, programmers created _______ to support programming using formulas
or algorithms, so a programmer could write a formula like F = (9 /5 ) * C +
32. compilers
To support high-level languages, programmers created ______, which are programs that
automatically translate high-level language programs into executable programs.
eight
byte is ___ bits.
transistors, integrated circuit or IC.
After computers were first invented and occupied entire rooms, engineers created smaller
switches called ______, which in 1958 were integrated onto a single chip called an ______
Moore's law
The doubling of IC capacity roughly every 18 months, which continues today.
scripting languages
As computing evolved throughout the 1960s and 1970s, programmers began creating _______
to execute programs without the need for compilation.
script, interpreter
A ______ is a program whose instructions are executed by another program called an ______.
Python
In the late 1980s, Guido van Rossum began creating a scripting language called _______ and an
accompanying interpreter.
open-source language