What are my chances of passing CS112?

You can definitely still pass, as you've only lost 50 points so far. It's not too late to kick it into high gear.

You can still maybe pull like a 50/75 on the exam if you study effectively these next 2 days. My advice for exams is to keep doing the problem sets and figure out how to calculate the runtime of literally everything you're doing. Actual java programming is not the majority of the exam. Odds are it'll be 3 questions - one will be programming (and he'll probably ask runtime as well), one will be writing out an algorithm (like Binary Search or something similar) without actually writing code and calculating runtime, and then another one he'll ask you for big O notation for something else and it'll be entirely conceptual. Don't spend all of your time memorizing the coding problem solutions because most of the test is conceptual. I'm not saying ignore coding problems, because that's a huge chunk of the problem sets and there will definitely be one on the exam, but concepts should be the main thing you focus on.

As for the programming assignments, start all of your programming assignments literally the day they're released. Trust me on this. Don't think you'll be able to just begin 2-3 days before. Some times it will take you 1-2 days to even understand what the fuck the assignment is even asking you to do, let alone actually write code for it. In addition once you actually do start writing code, it'll probably take you a few days to write something that actually works. Some of them will actually take you the full 2 weeks if you're not that great of a programmer, especially "Expression Evaluator". That assignment was hard AF. Give yourself 2 weeks to get the assignment done so that you have plenty of time to fix your program, test the shit out of it, and ask for help when you need it.

Read the assignment like 25 times and understand what it's asking you to do. Make sure you read up on the data structure that the program is asking you to use. So if the program is designed for you to use hash tables, make sure you read up on hash tables and fully understand them because that will help you understand how to approach the assignment. Then write out a bunch of pseudocode and try to conceptualize your program before actually writing any code.

/r/rutgers Thread