General1 Flashcards

1
Q

Define

A

Defining a constant or a MACRO.

Give a name to a constant value before the program is compiled

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

include

A

Used to include libraries outside of the main program

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

Flash

A

Where the program is stored

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

SRAM

A

Where sketch creates and manipulates variables

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

EEPROM

A

Store non-volatile information

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

Macro

A

Fragment of code that is given a name.

When it is used it is replaced by the contents of the macro

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

Putchar(int char)

A

Int putchar(int char)

Writes a character specified by the argument char to stdout. This is passed as it’s int promotion.

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

Typedef

A

Gives an existing type a new name

typedef unsigned long ulong

ulong = unsigned long

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

Struct

A

Defines a physically grouped list of variables to be placed under one name in a block of memory

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

What is an identifier

A

Refers to a name given to entities such as variables, functions, structures etc.

E.g. Int money - money is an identifier

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

What are the two types of Macro?

A

Object like macros

Function like macros

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