Python Chapter 1-3

Python 

12 cards   |   Total Attempts: 188
  

Related Topics

Cards In This Set

Front Back
What is a programmer or software developer
A Person with the training and skills that design, create and test computer programs
What is CPU (microprocessors)

What is the fetch-decode-execute cycle?
Central Processing Unit.

When a CPU executes the instructions in a program.
What are Bytes?
Computer memory that is divided into eight bits. One byte can hold one letter of the Alphabet.
Question 4
What are Bits?
Answer 4
It stands for binary digit. Holds a negative or positive charge. "1" is on and " 0" is off.
What letter is 01000001?

What is the largest number one byte can store?
65 the letter A. 66 is the letter B. etc

255 (1+2+4++8+16+32+64+128= 255
What is assembly language?
It is an alternative to machine language. It uses short words instead of binary numbers.
What are mnemonics?

What is a high level language?
Short words used by machine language.

C++,Python,Java,etc. It is a new generation of programing language.
What is the set of rules that must be strictly followed when writing a program?

What is a operator?
Syntax.


A operator performs various operations on data ( +,//.-)
What is the difference between compilers and interpreters?
Interpreters (Python) programs both translates and executes the instructions in a high-level language program. Compilers translates high-level language program to a separate machine language program.
The first step of cycle is to ____, or read, the next instruction from memory into the CPU.
Fetch
What is Execute?
The last step in the cycle is to execute, or perform, the operation.
This step the CPU _____ the instructions that was just ____from memory, to determine which operation it should perform.
Decode, and fetched.