co slide 7

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

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:02 PM on 10/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

6 Terms

1
New cards

what’s an array?

  • we basically group a bunch of values tg


2
New cards

where’s the array kept r or m?

  • memeory

  • and every byte also has it’s own addy


3
New cards

explain how much the values in the arrays take up space depending on the type

  • word- takes up 4 spaces

  • byte- takes up 1

  • half- takes up 2


4
New cards

what’s the formula to find the addy of a value in an array?

  • Address of item n= A+(n*b)

  • A→ starting point of addy

  • n→ index of the element u want

  • b→ the size of each element in bytes


5
New cards

how would we find the array’s addy by using mips?

  1. get the array’s starting addy

  2. then find the offset n*b

  3. then load and store


6
New cards

what’s alignment?

  • it’s just multiples of n