External Data and Text Flashcards

1
Q

The text section contains?

A

Program text (machine code)
Read-only, programmer initialized data
Attempts to write to this memory cause a segmentation fault

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

The data section contains?

A

Programmer initialized data

Is read/write memory

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

The bss section contains?

A

(block starting symbol)
Contains zero initialized data
Is read/write memory

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

External Variables are?

A

Non-local variables allocated in the data or bss sections

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

The .skip pseudo-op does what?

A

Allocates uninitialized space

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

The .global pseudo-op does what?

A

Makes the variable available to other compilation units

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

Programmer initialized constants are put where?

A

In the text section

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

ASCII stands for?

A

American Standard Code for Information Interchange

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

A string literal is a?

A

Read-only array of characters, allocated in the text section

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

An External Array of Pointers is?

A

Are created with a list(array) of labels

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

Command line arguments allow?

A

The passing of values from the shell into the program

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