Chap. 1 (Intro) Flashcards

Develop programming language

1
Q

Define Central Processing Unit

A

The part of the computer that is built to be obsessed with “what is next?”

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

Define Main Memory

A

Stores programs and data. Main memory loses its information when the power is turned off.

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

Define Secondary Memory

A

Stores programs and data and retains this information even when the power is turned off. Generally slower than memory. Examples of secondary memory include disc drives and flash memory, and USB sticks.

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

Define Input Device

A

A keyboard, mouse, microphone, touchpad

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

Define Output Device

A

A screen, speaker, printer, etc.

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

Define Network Connection

A

Retrieve information over a network.

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

Define Program

A

A set of instructions that specifies a computation.

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

Define Programming

A

The act of writing the instructions of a program down and getting the instructions to be correct.

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

Define Programmer

A

Someone who is skilled in the art of programming.

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

Define Variables

A

Words that are created in programming software that have meaning.

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

Define Strings

A

Strings in Python are sequences of characters used to represent text. They are immutable, meaning their value cannot be changed after creation.

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

Define High-level Language

A

A programming language like Python that is designed to be easy for humans to read and write.

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

Define Machine Language

A

The lowest-level programming language, consisting of binary code (0s and 1s) that a computer’s CPU directly understands and executes, representing instructions and data

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

Define Portability

A

A property of a program that can run on more than one kind of computer.

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

Define Interpret(er)

A

To execute a program in a high-level language by translating it one line at a time.

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

Define Compile(r)

A

To translate a program written in a high-level language into a low-level language, all at once, in preparation for later execution.

17
Q

Define Script

A

A written text containing a sequence of statements containing a sequence of actions for a program that’ll perform a specific task when ran.

18
Q

Define Bug

A

An error in a program.

19
Q

Define Interactive Mode

A

A way of using the python interpreter by typing commands and expressions at the prompt.

20
Q

Define Low-level Language

A

A programming language that is designed to be easy for a computer to execute; also called “machine code” or “assembly language”

21
Q

Define Machine Code

A

Stores programs and data. Main memory loses its information when the power is turned off.

22
Q

Define Parse

A

To examine a program and analyze the syntactic structure.

23
Q

Define Portability

A

A property of a program that can run on more than one kind of computer.

24
Q

Define Print Function

A

An instruction that causes the python interpreter to display a value on the screen.

25
Define Problem Solving
The process of formulating, a problem, finding a solution, and expressing the solution.
26
Define Prompt
When a program displays a message and pauses for the user to type some input to the program.
27
Define Semantics
The meaning of a program
28
Define Semantic Error
An error in a program that makes it do something other than what the programmer intended.
29
Define Source Code
A program in a high-level language.
30
Define Logic Errors
When your program has good syntax, but there is a mistake in the order of the statements or perhaps a mistake and how the statements relate to one another.
31
Syntax errors
Means that you have violated the “grammar” rules of Python.
32
Define Function
A reusable block of code that performs a specific task, taking input (arguments), processing it, and potentially returning an output.