Advertisement
M4ritimeSeeker

Exam Review

Dec 8th, 2021
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. WHAT TO KNOW FOR PROGRAMMING PART OF FINAL EXAM
  2.  
  3. (Or rather, what Justin thinks may be important. I don't know the exam so don't @ me if this is inaccurate)
  4.  
  5. - Obviously brush up on loops, if-else conditionals, and basic syntax.
  6.  
  7. - Preferably, MASTER making and using user-defined functions. Be able to make functions that take no input, multiple inputs, returning void,
  8. or not returning void. And make sure to brush up on the syntax of passing "weird" data types into functions, such as strings, file pointers,
  9. or arrays.
  10.  
  11. - Brush up on random numbers (This caught some people off guard last exam, so I am including it just in case).
  12.  
  13. - Be able to create file pointers, open files, and read/write to files.
  14.  
  15. - Be able to use fgets to get strings from files or stdin.
  16.  
  17. - Be able to declare pointers to variables and manipulate them. As well, be able to pass pointers to functions and manipulate the values there.
  18.  
  19. - Be able to differentiate the different ways to declare strings. The following syntax can be used interchangeably:
  20. > char str[7] = "String";
  21. > char* str = "String";
  22.  
  23.  
  24.  
  25. WHAT TO NOT WORRY ABOUT AS MUCH
  26.  
  27. - Don't bother studying anything about recursion. I highly doubt anything on recursion will be on either exam.
  28.  
  29. - Don't worry about actually programming structs. Highly unlikely that they will be on the programming half of the exam.
  30. DO know how structs and typedef work though, as they might show up on the part A exam.
  31.  
  32. - Don't worry about programming argc and argv, also highly doubt you will have to explicitly program them. Same case as
  33. structs though, make sure you know them conceptually for the chance that they show up on part A.
  34.  
  35. - Don't worry about malloc or calloc. Know what they are, but you probably won't have to program them.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement