Difference between revisions of "CSC103 2011 Take-Home Final Exam"
Line 28: | Line 28: | ||
+ | =Problem #2= | ||
+ | |||
+ | * Write an assembly language program that starts with ten memory locations filled with 0, starting at Address 30, and that stores the values 2, 4, 8, 10, 12, 14, 16, 18, 20, and 22 in them. Your program will store 2 at Address 30, 4 at address 31, 6 at address 32, etc. | ||
+ | |||
+ | * Your program should contain this code section to initialize the memory | ||
+ | |||
+ | @30 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | 0 | ||
+ | |||
+ | * Your program must use a loop. | ||
+ | * Use the [[CSC103_2011_Homework_3_Solution | Solution programs]] for Homework #3 as examples of good formats and good documentation. | ||
+ | |||
+ | =Problem #3= | ||
+ | |||
+ | Write a javascript program that | ||
+ | |||
</onlydft> | </onlydft> | ||