cs - physical computing theory

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/143

flashcard set

Earn XP

Description and Tags

not done: You should know how to add numbers in binary. You should know the four basic logical operators, their symbols and their truth tables.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

144 Terms

1
New cards

what does CPU stand for

central processing unit

2
New cards

what is a cpu

primary/core component of a computer that acts as its control centre, that executes programs.

3
New cards

what does RAM stand for

random-access memory

4
New cards

what is RAM

holds data and instructions that the CPU is currently using

5
New cards

what is hard disk storage

stores data and instructions long term, when they are not being used

6
New cards

example of input device

keyboard, mouse

7
New cards

example of output device

printer, screen

8
New cards

what does a microprocessor use to control and manage multiple processes at the same time

operating system

9
New cards

other names for CPU

processor or microprocessor

10
New cards

what is a microcontroller

extremely small microcomputers that are entirely self-contained on a single chip.

A microcontroller is a tiny, single purpose computer. Microcontrollers do one thing well.

11
New cards

other name for microcontroller

embedded controller

12
New cards

microcontrollers are ________ inside some other device so that they can _________ of the product

 Microcontrollers are "embedded" inside some other device (often a consumer product) so that they can control the features or actions of the product

13
New cards

where is the microcontroller program stored

ROM

14
New cards

what does ROM stand for

read-only memory

15
New cards

microcontrollers are ____ to ___ task and to run ___ specific program

Microcontrollers are dedicated to one task and run one specific program

16
New cards

does microcontroller code generally change?

no, microcontroller code generally does not change

17
New cards

are microcontrollers often low or high power devices?

microcontrollers are often low-power devices,

18
New cards

how big is a microcontroller

a microcontroller is often small

19
New cards

how expensive is a microcontroller

often low cost

20
New cards

what is open source hardware

anyone can see the design specification of a physical object.

can be studied, modified, created and distributed by anyone.

21
New cards

what is open source software

the source code is available for development by anyone without having to purchase it. They can study, copy, modify and distribute new versions of it

22
New cards

define digital

digital systems are based on discrete signals

23
New cards

what is a discrete signal

generally, individually separate and distinct.

in computers, use binary digits (0s and 1s) to represent and manipulate data.

24
New cards

define analogue

based on continuous signals

25
New cards

analogue signal

a continuous signal in which one time-varying quantity (such as voltage, pressure, etc.)

26
New cards

define interface

a point at which two computer systems communicate/exchange information

27
New cards

what does IDE stand for

integrated development environment

28
New cards

what is an IDE

  • it is a software package where a developer can enter/edit source code and compile it, run it, and debug it.

  • software for building applications that combines common developer tools into a single graphical user interface (GUI)

  • where software programs are written

29
New cards

what does USB stand for

universal serial bus

30
New cards

what is a USB

  • a serial communication protocol, an industry standard that establishes specifications for cables, connectors, and protocols for connection, communication and power supply.

  • allows data exchange and delivery of power between many various types of electronics.

  • a serial data transmission protocol

  • a hardware cable standard

31
New cards

what is a port (hardware)

a connection point/interface between a computer and an external/internal hardware device

  • internal prts provide connections to hard drives or DVD drives

  • external ports can connect printers/mice/other devices

the physical connection between two devices - often where a cable is plugged in to a computer

32
New cards

what is a port (software)

a virtual point where network connections start and end. these are software-based and managed by a computer’s operating system.

Ports allow computers to easily differentiate between different kinds of traffic: emails go to a different port than webpages, for instance, even though both reach a computer over the same Internet connection

Each port is numbered and associated with a specific process or service.

code for where something like an operating system decides how to deal with incoming traffic

33
New cards

what is a driver

a program that enables the communication between an operating system and a hardware/software application

lets the operating system and a device communicate

A small program which tells an operating system how to respond to a particular hardware that is attached to the system

34
New cards

what is a bootloader (on arduino)

 on Arduinos is a tiny piece of software that lets you upload the code you write to the Arduino itself.

35
New cards

bootloader (general)

a computer program that is responsible for booting a computer.

It contains the start-up instructions for a system.

36
New cards

are C based languages compiled or interpreted

compiled

37
New cards

is python compiled or interpreted

interpreted

38
New cards

compiled language feature

compiled languages compile the whole code at once and produce two things - an executable code file, and an error report. If there are no errors to report, the Arduino IDE will upload the executable file to the Arduino.

Executable files will run on the Arduino without the need for the Arduino IDE that you used on your laptop.

39
New cards

interpreted language feature

checks your code one line at a time and executes that line straight away. However, it stops completely, if it finds an error. The programmer has to fix that error before trying to run the code again.

The Python code runs through the IDE. This means you cannot simply package up the Python programme and run it on another machine. The other machine would have to have a Python IDE as well.

40
New cards

what is a protocol

an agreed set of communication signals between two electronic devices

they establish:
which ports will be used, which forms of error control, which method of encryption, if any, the rate of transfer of data

41
New cards

what is encryption

Encryption is a way to scramble data so that only authorized parties can unscramble it

42
New cards

define serial

bits of data are sent one after the other in series down a communication channel

43
New cards

serial port

a serial port is a serial communication interface through which information transfers in or out sequentially one bit at a time.

44
New cards

parallel communication

describes several bits being sent at the same time, on a link with several channels in parallel with each other.

45
New cards

why is parallel communication mainly found on very short communication channels of printed circuit boards- where channels are fixed in position

the communication can be unreliable over long distances, on short distances to ensure that the synchronisation of bits is likely to be undisturbed

46
New cards

which type of communication is faster? p/s

parallel is faster

47
New cards

which type of communication is slower? p/s

serial

48
New cards

what is serial communication

the process of sending data one bit at a time, sequentially, over a communication channel.

49
New cards

what is SYNCHRONISED serial communication

when the timing for when each bit is sent may be synchronised to the oscillations of an on-board clock (CLK)

50
New cards

what is ASYNCHRONOUS serial communication

more common, where data is packaged and sent across to another device as a packet.

files are broken up into many packets and reassembled at the receiving end.

51
New cards

what is the format of a packet

a frame

frame formats are defined by the protocol being used

52
New cards

order of a packet/frame as it is sent

start - data - parity(simple error checking) - stop

53
New cards

what does UART stand for

universal asynchronous receiver/transmitter protocol

54
New cards

what is UART for

interfaces the parallel communication lines carrying data from the processor on the board, with the serial communication lines to the system the Arduino is controlling.

55
New cards

what does DC stand for

direct current

56
New cards

what does DC mean/used for

direct current, which is current that only flows in one direction.

57
New cards

what uses DC

electronic systems use direct current, different from alternating current in the electric sockets on the wall

58
New cards

what is an actuator

a component/machine responsible for moving or controlling a mechanism/system

59
New cards

actuator example

valve, switch, motor

60
New cards

what can create a magnetic field (wire)

current flowing in a wire creates a magnetic field

61
New cards

define current

Current is the rate at which electrons flow past a point in a complete electrical circuit.

62
New cards

what is a stepper motor

The full 360o of rotation is divided into a number of equal steps.

The motor can be sent signals which command it to turn through a precise number of steps

63
New cards

what is a rotor

the moving part of a motor

64
New cards

what is a stator

the static part of a motor

65
New cards

what is torque

a force that causes rotation

66
New cards

stepper motor use example

security cameras, dvd plates, image scanners, 3d printers

67
New cards

what is architecture

the way a computer is built

determines how memory is used, how programming instructions are executed and which codes are used for different processes

68
New cards

what is the motherboard

the main circuit board of the computer

69
New cards

what is a bit

the form of high/low voltage signals, represented as 1s or 0s

the smallest unit of data that a computer can process and store

70
New cards

what is a byte

8 bits

71
New cards

what is assembly code

uses mnemonics (3 letter shortened versions of a word/phrase) to represent the machine codes

72
New cards

what is a mnemonic (assembly code)

3-letter shortened versions of a word or expression, to represent machine code/assembly code instructions

73
New cards

machine code and assembly code are both ___ level languages

low level languages

74
New cards

python is a __ level language

high level language

75
New cards

what is the only language a computer can actually execute

machine code (0s and 1s)

76
New cards

what is an instruction set

the set of machine code instructions for a computer

a set of codes that the computer processor can understand.

77
New cards

why are instruction sets needed

When computers are manufactured, there are subtle differences in the ways different manufacturers build them. This means that the machine code for each manufacturer’s computer might be unique to that computer. The machine code for an Apple Mac won’t run on a DELL computer, or a Samsung watch.

78
New cards

are high level languages are machine independent?

yes, because they have translators that translate the high level code into the machine code for the compute the program will be run on

79
New cards

to program in a HIGH or LOW level language, you need to know the instruction set of the computer that will run the code

LOW level

80
New cards

HIGH or LOW level languages are easier for humans to understand

HIGH level languages

81
New cards

HIGH or LOW level languages are easier to debug

HIGH level languages

82
New cards

HIGH or LOW level languages are machine dependent

LOW level languages

83
New cards

HIGH or LOW level languages execute faster because they relate directly to the instruction set of the computer

LOW level languages

84
New cards

Because low level languages work directly with individual instruction sets, they can take advantage of machine specific functions

true

85
New cards

what is a translator

program language processors that convert one programming language to another.

86
New cards

what is an assembler (translator)

one assembly code instruction (one mnemonic) translates to one machine code instruction. When assembly code is prepared for execution, it is translated by an assembler into machine code. And this machine code can then be executed by the computer processor

87
New cards

are high level languages platform dependent or independent

high level languages (like python) are platform-independent

they are not machine specific

With high level languages, one command often translates to many machine code instructions.

88
New cards

what is an interpreter

interpreters translate a programme (source code) into machine code line by line.

they stop as soon as they find an error, and that error has to be fixed before it continues interpreting - makes interpreting faster to develop working programs.

89
New cards

what is source code

Any program written in a high level language

90
New cards

what is a compiler

translates a programme (source code) from start to finish. it prepares the whole source code to be ready to be executed machine code programme.

a compiler can detect syntax errors and run-time errors in the source codes

91
New cards

benefit of a compiler

you can sent it to any machine and it will run, does not need the IDE of the source language to be installed.

useful for programs that might be sold, like games/apps

92
New cards

what does CAD stand for

computer aided design

93
New cards

example of CAD

fusion360, tinker cad, sketch up

94
New cards

what is CAD

computer software to design new products in 3D

95
New cards

what does CAM stand for

computer aided manufacture

96
New cards

examples of CAD

laser cutter, 3D printer

97
New cards

what is CAD

using computers to control machines to undertake the production of goods

98
New cards

benefits of CAM

fast and accurate, machines can carry on where human workers would get tired/need rest, can reduce material wastage

99
New cards

what does a laser cutter do

can cut and engrave materials like cork, wood, plastic, cloths, cardboard etc.

100
New cards

what does a laser cutter consist of (two systems)

one produces a high-powered laser beam

move a laser head with a computer (computer numerical control - CNC)