cs288 - data representation

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

4 Terms

1
New cards

name 5 parts of the memory

stack, dynamic (heap), static data, literals, instructions

2
New cards

describe INSTRUCTIONS part of memory (and rwx perms)

they are the compiled machine instructions that the CPU executes

  • only readable and executable


3
New cards

describe LITERALS part of memory (example, when does it start, & rwx perms)

they are constant data that shouldn’t be modified

  • ex: strings themselves (like “hallo welt” in printf(“hallo welt”)) or CONST variables

  • starts when process is initialized

  • read only


4
New cards

describe STATIC DATA part of memory (and rwx perms)

they are global variables and static variables

  • writable