Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WHAT TO KNOW FOR PROGRAMMING PART OF FINAL EXAM
- (Or rather, what Justin thinks may be important. I don't know the exam so don't @ me if this is inaccurate)
- - Obviously brush up on loops, if-else conditionals, and basic syntax.
- - Preferably, MASTER making and using user-defined functions. Be able to make functions that take no input, multiple inputs, returning void,
- 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,
- or arrays.
- - Brush up on random numbers (This caught some people off guard last exam, so I am including it just in case).
- - Be able to create file pointers, open files, and read/write to files.
- - Be able to use fgets to get strings from files or stdin.
- - Be able to declare pointers to variables and manipulate them. As well, be able to pass pointers to functions and manipulate the values there.
- - Be able to differentiate the different ways to declare strings. The following syntax can be used interchangeably:
- > char str[7] = "String";
- > char* str = "String";
- WHAT TO NOT WORRY ABOUT AS MUCH
- - Don't bother studying anything about recursion. I highly doubt anything on recursion will be on either exam.
- - Don't worry about actually programming structs. Highly unlikely that they will be on the programming half of the exam.
- DO know how structs and typedef work though, as they might show up on the part A exam.
- - Don't worry about programming argc and argv, also highly doubt you will have to explicitly program them. Same case as
- structs though, make sure you know them conceptually for the chance that they show up on part A.
- - 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