Programming Flashcards

1
Q

What is a computer?

A

It is a programmable machine designed to follow/process data/instructions at an enormous speed

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

What is a computer program also known as?

A

Software

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

What is a computer program?

A

It is a list of instructions, stored in the computer memory to direct the computer system to perform a task

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

What is Hardware?

A

Refers to the computer equipment

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

List examples of Hardware?

A

-Keyboard
-mouse
-Terminal
-Hard disk
-Printer

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

What are two types of Software?

A

-Operating system
-Application software

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

What is an Operating system?

A

a software that provides a convenient and efficient interface between the user and the hardware

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

What are some examples of Operating Systems?

A

-Windows
-Mac OS

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

What is an Application Software?

A

The software the makes the computer useful to the user (extras)

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

What are examples of Application Softwares?

A

-Computer games
-Spreadsheets
-Word processors
-Tax Software

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

What is a Computer System?

A

-The combination of hardware and software

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

What does IPO mean? Why is it important?

A

INPUT, PROCESS, OUTPUT
-These parts make up the computer hardware

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

Why is input important?

A

-It inputs information into the CPU via the memory of the computer

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

What does CPU mean?

A

-Central Processing Unit

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

What are examples of input devices?

A

-Keyboard (standard input)
-Mouse
-Scanner
-Microphone

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

What is the purpose of output devices?

A

-used to make the computer-processed data/information available at the output

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

What are examples of Output Devices?

A

-Computer Monitor (standard output)
-Printer
-Plotter

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

List some Secondary Storage Devices. Are these input or output devices?

A

-Disk drives
-SSD
-Optical Drives
-USB drives
These are considered both

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

What is the definition of SSD?

A

Solid State Drives

20
Q

What does the Internal Memory do?

A

-Holds both the program instructions and data

21
Q

What is the Internal Memory also known as?

A

primary storage

22
Q

What is the internal memory composed of?

A

-Random Access Memory (RAM)
-Read-Only Memory (ROM)

23
Q

What is the Random Access Memory?

A

-It is the main memory
-It is volatile and requires constant power to maintain the stored information
-Memory is erased when computer is off
-Stores data and associated information for any application

24
Q

What is the Read-Only Memory?

A

-It is non volatile
-Data items are retained even after the computer is turned off
-Stores start up instructions and the likes for a computer system

25
Q

What happens when data is inputted through an input device?

A

It directly goes to the main memory which is the random access memory

26
Q

What are external memory good for?

A

For long term storage of information

27
Q

What are external memory also known as?

A

Secondary Storage

28
Q

List examples of external memory

A

-Hard Disk/SS (solid state) storage
-Flash/pen memory
-CD

29
Q

What is the CPU composed of?

A

-Control Unit (CU)
-Arithmetic and Logic Unit (ALU)

30
Q

What does the control unit do?

A

Controls the computer resources such as input/output devices, internal/external memory, ALU by using control signals based on the decoded instructions

31
Q

What is the control unit also known as?

A

The processor

32
Q

What does the arithmetic and logic unit do?

A

Performs mathematical operations

33
Q

What is the first operation that the CPU performs?

A

Fetch/get
-from the main memory (RAM) the CPU’s control unit (CU) fetches the next encoded instruction in the sequence of program instructions

34
Q

What is the second operation that the CPU performs?

A

Decode
-The CPU decodes the instruction and generates an electronic signal

35
Q

What is the final operation that the CPU performs?

A

Execute
-The electronic signal is routed to the appropriate component of the computer such as the ALU, a disk drive or some other device
-The signal causes the component to perform an operation

36
Q

What does the RAM typically contain?

A

-currently running program instructions
-Data used by those programs

37
Q

How is RAM divided?

A

divided into numbered locations each of which contains one byte of data/information

38
Q

What is a memory location number of the RAM called?

A

Address

39
Q

What is something that a memory location number cannot do?

A

-No two memory locations can have the same address

40
Q

What is a byte?

A

a sequence of 8 bits

41
Q

what does bit stand for?

A

binary digit
-These can either have 1 (TRUE, ON) or 0 (FALSE, OFF) value

42
Q

How do bits work in a computer (a digital device)?

A

The bits form a pattern that represents a character or number

43
Q

How is Data Stored in the Memory?

A

Computers use zeros and ones because digital devices have two stable states, which are referred to as zero and one by convention

44
Q

What does a computer do if it needs to store a large number?

A

-if the number cannot fit into a single byte, it uses more than one adjacent bytes

45
Q

How long is each memory location in a computer?

A

1 byte long or a sequence of 8 bits