0.2 Introduction to Programming Languages Flashcards

(22 cards)

1
Q

Computer program

A

a sequence of instructions that directs a computer to perform certain actions in a specified order

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

Programming language

A

language designed to facilitate the writing of instructions for computers

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

Programming

A

the act of writing a program

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

Running/executing a program

A

a computer performing the actions described by the instructions in a computer program

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

Hardware

A

the physical components that make up a computer

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

CPU

A

central processing unit, which executes the instructions of a program

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

Memory

A

where computer programs are loaded before execution

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

Interactive devices

A

parts that allow the user to interact with the computer (keyboard, mouse, monitor, touch screen, etc.)

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

Storage device

A

retains information (including installed programs) even when the computer is off

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

Software

A

programs on a system that are designed to be executed on hardware

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

Platform

A

a compatible set of hardware and software (ex. Mac computer running OS Sequoia) that provides an environment for software to run

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

Portable program

A

a program that can be easily transferred from one platform to another

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

Porting

A

modifying a program so it can be run on a different platform

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

Instruction set

A

the set of all possible machine language instructions a given CPU can understand

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

Assembly language/assembly

A

programming language that functions as a more human-readable language

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

Assembler

A

program that translates assembly programs into machine language so that the CPU can read it

17
Q

What are some examples of low-level languages?

A

machine and assembly languages

18
Q

What are some examples of high-level languages?

A

C++, Pascal, Java

19
Q

What are the two ways high-level languages can be translated to machine language?

A

compiling and interpreting

20
Q

Compiler

A

program/collection of programs that reads the source code of one language and translates it into another language; the result is an executable file that can be distributed to others and launched by the OS

21
Q

Interpreter

A

program that directly executes instructions in source code without compiling first

22
Q

What are three benefits of high-level languages?

A

-they allow programmers to write programs without knowing much about the platform it will be run on
-their instructions resemble the language and math we use every day
-they include more capabilities of common programming tasks, like manipulating text or requesting a block of memory