Language of a Computer and Python Flashcards
(42 cards)
Computer programs (software) are not designed specifically for each task.
False.
A software is created with a compiler.
False. Programming languages.
Every computer understands its own language directly.
True.
A binary digit (bit) can be 0 or 100.
False. 0 or 1.
It is the smallest unit of data that a computer can process and store.
Bit.
A byte is a sequence of…
8 bits.
How many bytes in 100,000 bits?
12,500 bytes.
Python instructions (source code) need to be translated into a _ _ using an _.
machine language, interpreter
They are programs that translates a program in a high level language into the equivalent machine language.
Compiler/interpreter.
What are the 2 programming methodologies?
- Object oriented programming
- Procedural programming
Structured design _ a problem into _ problems then _ the bigger problem by _ all _.
divides, smaller, solves, combining, solutions
In an object oriented design (OOD), a program is…
a connection of interacting objects.
An OOD also includes variables and functions.
An object consists of…
data and operations.
What are the 3 steps in OOD?
- Identify objects
- Form solutions
- Determine how objects interact
Python is a _ purpose, dynamic, and _ programming language.
general, interpreted
Python does not support OOD (to develop apps) and structured design.
False.
Python provides lots of high level data structures.
True.
He is the founder of Python.
Guido van Rossum.
He released it on February 20, 1991.
Previous versions of a programming language can still be used.
False.
It is the predeccesor of Python.
ABC.
What are features of Python?
There are 12.
- Easy to use
- Expressive
- Interpreted language
- Cross platform language (portable language)
- Free and open source
- OOD language
- Extensible
- Large standard library
- GUI programming support
- Integrated
- Embeddable
- Dynamic memory allocation
A cross-platform/portable language can be used in…
different OS.
Since Python is extensible, it can be…
compiled using other languages.
Converts program into bytecode.
Since Python has dynamic memory allocation, specifying the data type is still needed.
False.