Robotics Flashcards

01100010 01101100 01100101 01110011 01110011 00100000 01101101 01100101

1
Q

What is programming?

A

A sequence or set of instructions

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

History of Programming

What happened in 1947?

A

Assembly Language, the language of computers, was created

ex. binary

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

History of Programming

Who created Assembly Language?

A

Kathleen Booth

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

History of Programming

What happened in 1972?

A

C (Language) was created

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

History of Programming

Who created C (Language)?

A

Dennis Ritchie

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

History of Programming

What happened in 1979?

A

C++ was created

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

History of Programming

Who created C++?

A

Bjarne Stroustrup

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

What are the Arduino Fundamentals?

A
  • variable
  • data type
  • syntax
  • function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Arduino Fundamentals

What is a variable?

A

A named storage location that holds a value or data

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

Arduino Fundamentals

What is a data type?

A

Classification of data tells compiler how data will be used (?)

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

Arduino Fundamentals

What is syntax?

A

Grammar in programming

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

Arduino Fundamentals

What are the naming rules of the variable?

A
  • can contain letters, numbers, cannot start with a number
  • must not use reserved words
  • variables are case sensitive
  • can only use underscore for special characters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Arduino Fundamentals

Data types

A
  • Integer - represent whole no. numeric data
  • Float - represent numerical data for no. with decimals
  • String - text strings are composed of a group of letters and special characters
  • Character - like string, but accepts 1 character/letter
  • Booleon - holds one/two values; TRUE/FALSE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Arduino Fundamentals

Syntax symbols meaning

; { } () / /CODE/

A

; (semicolon) - signifies end
{} (curly braces) - group of code statements
() (parentheses) - group of arguments for a function
/ (single line comment) - [to add]
/CODE/ - [to add]

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

What are the main functions (and their uses) used in Arduino?

A
  • voidSetup() - set up
  • voidLoop() - repeats process
  • digitalRead() - command that read value
  • digitalWrite() - changes value
  • If-Else Statement - [to add]
  • delay() - allows you to stop Arduino from doing anything
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a flowchart?

A

Graphical representation of an algorithm

17
Q

Flowchart symbols?

A
  • terminal (oval) - indicates start, stop, and halt
  • processing (rectangle) - arithmetic instructions
  • input/output (parallelogram) - like a variable
  • decision (diamond) - represents a decision point