Introduction My hand notes + Book (continuacion) Flashcards

1
Q

who was Guido Van Rossum?

A

A dutch programmer and creator of Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Python Disadvantages

A

It’s not very fast (but often better than PERL)
* Relatively inefficient for number crunching
* Can have high memory overhead

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Python is CASE SENSITIVE

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Compilation Process

A

The code a programmer creates is called the source code
Written in Python
– Saved as a .py file
– Must have the same name as the class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is an IDE?

A

An IDE is an Integrated Development Environment
While not strictly required IDEs ease and facilitate
the creation and management of larger programs.
IDLE is the built-in IDE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Programming?

A

Program
–Sequence of basic operations executed in succession

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Anatomy of a Computer

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a computer and their tasks?

A

A computer is a machine that can perform certain tasks:
–Stores data
–Interacts with devices
–Executes programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a CPU and what is it made of?

A

Central Processing Unit (CPU) - Heart of the computer
–Made of a chip (AMD, Intel, etc), millions of transistors
–Executes instructions given by a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the anatomy of a computer and their explain their 3 types

A

Storage – where data is kept
–3 types – primary, secondary, removable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Anatomy of a computer

A

Computers communicate through a network

•Peripheral devices allow interaction with humans
–Speakers, screen, printer, scanner

•RAM, Disks, peripherals connected to CPU via the bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where is a program stored when it is not currently running?

A

Hard drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which part of the computer carries out arithmetic operations, such as addition and multiplication?

A

CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is machine code?

A

The most basic level of instructions
–Everything is represented with numbers (read in binary)

This is the only language the CPU knows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What’s the problem w/ CPU

A

CPUs perform very primitive operations only Add, subtract, load from memory
–Leads to coding of several hundred lines to perform one simple operation

Each CPU uses a different set of instructions
–Each CPU translates different digits to mean different things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is ASSEMBLY?

A

Assembly language code needs to be translated to machine language before the computer processes it.

A slight step up from machine
•Uses words and numbers
–ADD 1001010, 1011010

17
Q

What is a high level languages?

A

High-level languages represent a giant leap towards easier programming.
•The syntax of HL languages is similar to English.
•The conversion is done by the compiler

18
Q

What is a procedural language? And an example

A

Procedural languages are characterized by sequential sets of linear commands. The focus of such languages is on structure.

Examples: C, COBOL, Fortran, LISP, Perl, HTML, VBScript

19
Q

What is an objected oriented language? Give an example

A

Most object-oriented languages are high-level languages.
•The focus of OOP languages is not on structure, but on modeling data.
•Programmers code using “blueprints” of data models called classes.

Example: Examples of OOP languages include C++, Visual Basic.NET and Java.

20
Q

What’s the difference between Procedural vs. Object-Oriented Programming?

A

The unit in procedural programming is function, and unit in object-oriented programming is class
•Procedural programming concentrates on creating functions, while object-oriented programming starts from isolating the classes, and then look for the methods inside them.
•Procedural programming separates the data of the program from the operations that manipulate the data, while object-oriented programming focus on both of them

21
Q

Remember this

A

Python is case sensitive
Print is not the same as print
•It is NOT free form – the amount of white space is relevant!

22
Q

What’s is the primary and secondary storage use for?

A

Primary is for RAM
Secondary hard drive