It's hard to focus all day, especially if you've just gotten off of hours of class/work. If I was feeling like I wasn't going to be able to focus on some work I had to do in the evening, I would usually just go to bed early and try to wake up around 3:30/4 am make some coffee and then do it.
Even if you're only getting a few hours of sleep, your mind really resets. You might be surprised at how much more productive you are that early rather than attempting an all nighter where you're just worn out.
Also, bonus tip: you don't have to do every assignment or even all of an assignment that you do. In most of my classes non project assignments were a pretty low percentage of my overall grade. When I was particularly pressed for time or stressed I would just do enough of an assignment to prove to myself that I understood the concepts good enough for the exam, and turn in what I did for partial credit.
It's hard to focus all day, especially if you've just gotten off of hours of class/work. If I was feeling like I wasn't going to be able to focus on some work I had to do in the evening, I would usually just go to bed early and try to wake up around 3:30/4 am make some coffee and then do it.
Even if you're only getting a few hours of sleep, your mind really resets. You might be surprised at how much more productive you are that early rather than attempting an all nighter where you're just worn out.
Also, bonus tip: you don't have to do every assignment or even all of an assignment that you do. In most of my classes non project assignments were a pretty low percentage of my overall grade. When I was particularly pressed for time or stressed I would just do enough of an assignment to prove to myself that I understood the concepts good enough for the exam, and turn in what I did for partial credit.