Computer Flashcards

1
Q

A robot may not injure a
human being or through
inaction, allow a human being to come to harm

A

Law 1

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

A robot must obey orders
given to it by human beings, except where such orders would conflict with a higher order law

A

Law 2

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

A robot must protect its own existence as long as such protection does not conflict with a higher order law

A

Law 3

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

A robot may not injure
humanity, or, through
inaction, allow humanity to come to harm

A

Zeroth Law

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

1942

A

SHORT STORY run

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

1950

A

universal automation UNIMATE

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

1980

A

NXT Lego mindstorms

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

1990

A

Sony aibo

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

2000

A

Honda ASIMO (advance step in innovative mobility)

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

Robot characteristics

A

Energy, movement, sensing, intelligence

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

Ideal tasks

A

Dangerous task, repetitive task, high precision task

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

Used to write the Arduino code, provides you with a text-editor like environment for you to write your code

A

Arduino IDE

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

File generated or saved using the Arduino IDE

A

Sketch

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

Two functions of Arduino sketch

A

void setup() and void loop()

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

the section of computer codes that allows the
computer to perform a specific task

A

functions

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

generally included anywhere in the program, though not required but recommended to write a description or notes in the program

A

Comment

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

Two types of comments

A

Single line comment, Multiline comment

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

starts with // symbol and anything typed within
that line will be ignored by the compiler

A

Single line comment

19
Q

start with /* and ends with */ then anything in
between this symbols will be considered as part of the comment

A

Multiline comment

20
Q

function is used to set up a specific pin as either digital input or digital output

A

pinMode( ) function

21
Q

pinMode( ) Function

A

pinMode(pin, MODE);
- pin (specific number of the pin it is connected in the board)
- MODE (INPUT, OUTPUT)

22
Q

writes either HIGH or LOW value to a digital pin

A

digitalWrite( ) function

23
Q

digitalWrite( ) function

A

digitalWrite(pin, VALUE);

  • pin (the pin number)
  • VALUE (HIGH, LOW)
24
Q

causes the program to pause for a specific period of time in miliseconds before executing the next line of codes, One second is equivalent to 1000 milliseconds

A

delay() Function

25
delay() Function
delay(milliseconds);
26
a passive two-way electronic components that is commonly used to regulate the power, divide voltage or resist the flow of electric current in the circuits
Resistor
27
don’t generate power but only consume it
Passive
28
Negative
Cathode (Shorter)
29
Positive
Anode (Longer)
30
a two-lead semiconductor tiny light bulb that emits light when electric current passes through it
Light Emitting Diode (LED)
31
It separates two sides of breadboard, it also serves as support for Dual in-line package (DIP) chip
Ravine
32
This is a serial connection that runs horizontally, When building a circuit, you might need more power to supply different components connected to the board, It is usually labelled with + and – and sometimes with color code to suggest that red stripe indicates positive side and blue or green or black stripe indicates negative side
Power Rails
33
This allows a vertical serial connection, This is usually where the main components of the circuit is connected, five dot columns
Terminal Strips (Column)
34
used to allow the piezo buzzer plays a sound
tone()Function
35
tone()Function
tone(pin, frequency); - pin (pin number to which the buzzer plays the tone) - frequency (specify the pitch of the tone in hertz, unsigned int)
36
must be called on one pin before calling the tone( ) on the next pin
noTone()Function
37
noTone()Function
noTone(pin); - pin (pin number to which the buzzer plays the tone)
38
RGB LED Brightness
0 - 255
39
Analog Output
3, 5, 6
40
analogWrite()function
analogWrite(pin, brightness); - pin (the pin number) - brightness (0 - 255)
41
DP 0 to 13, DP 14 to 19
digital pins
42
A0 - A5
analog input pins
43
3, 5, 6, 9, 10, 11
analog output pins
44
reset, +3.3v, 5v, GND
power header