Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Things to work on:
- * Double pointers.
- * Linked lists.
- * **Makefiles**
- * Tutorials
- * Bit manipulation
- * Mantissa excess 3 notation
- ---
- # Review Questions
- * 1 : D
- * 2 : B
- * 3 : A (if 0xaaa is typo for 0xAA)
- * 4 : A
- * 5 : A
- * 6 :
- ```
- int checkBit(int i, char c){
- i &= c;
- return i == c ? 1 : 0;
- }
- ```
- * 7 :
- ```
- void swapInt(int *a, int *b){
- int temp = *a;
- *a = *b;
- *b = temp;
- }
- ```
- * 8 : Not sure if this is what was asked.
- ```
- int setBit(int *i, char c){
- *i |= c;
- return 1;
- }
- ```
- * 9 : 1) first: 12bytes, second: 13bytes
- 2) 18
- * 10 : 1) 86
- 2) 11110011
- 3) 10010010
- 4) 00100110
- * 11 : A
- * 12 : B
- * 13 : A
- * 14 : B
- * 15 : C
- * 16 : B
- * 17 : E (same as 16)
- * 18 : Same as 16 & 17 (01011101)
- * 19 : B
- * 20 : Blank Question
- * 21 : A
- * 22 : D (asks about 16,17,18 again for some reason)
- * 23 : A
- * 24 : D (trick question I think, need to work on it)
- * 25 : D (not sure)
- * 26 : A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement