Introduction Flashcards

1
Q

Program

A

Instructions executed one at a time

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

Input

A

Program gets data - file, user, network, etc.

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

Process

A

Program performs computations on input data

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

Output

A

Program puts data in a file, screen, network, etc.

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

Computational Thinking

A

Creating a sequence of instructions to solve a problem

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

Algorithm

A

Sequence of instructions that solves a problem

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

Python Interpreter

A

Computer program that executes code written in Python

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

Interactive Interpreter

A

Program allows user to execute one line of code at a time

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

Code

A

Textual representation of a program

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

Line

A

Row of text

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

> > >

A

Prompt

Displayed in interactive interpreter to indicate the interpreter is ready to accept code

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

Statement

A

Program instruction, usually appearing on its own line

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

Expressions

A

Code that return a value when evaluated

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

Variables

A

Named references to values stored by interpreter

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

String Literal

A

Text enclosed in single quotes

‘hello world’

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

Whitespace

A

Any space, tab, or newline

17
Q

Syntax Error

A

Violate programming language’s rules

18
Q

Runtime Error

A

Syntax is correct but operation is impossible. Will cause the program to crash.
Dividing by 0

19
Q

Logic Error

A

Program will run but will not produce the desired result.

AKA bug

20
Q

IDE

A

Integrated Development Environment

21
Q

Code Point

A

Unicode representing every character as a unique number