Skip to content

🌱 WIX1002 - Include notes, questions, source code and explanation for Tutorials/ Labs (UM-WIX1002)

Notifications You must be signed in to change notification settings

fyiernzy/UM-WIX1002

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

91 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

README

🌱 WIX1002 - Include notes, questions, source code and explanation for Tutorials/ Labs (UM-WIX1002).

Content

Resource

Git Command

Here are some of the useful git commands:

  • git add <file/folder>

    Add a change in the working directory to staging area

  • git add .

    Add all changes made in the working directory to staging area

  • git status

    Displays the state of the working directory and the staging area.

Recommended Website on Git

Fun Story

Recentlt, I have lost every Lab and Tutorial in Eclipse. I just found it on Wednesday night (14/12/2022). Even more heartbreakingly, I didn't have any copy of them. Therefore, I HAVE TO REDO ALL OF THEM, besides the one I've pushed to Gitlab/ Github (i.e Lab1 ~ Lab6), .

Lab question is freakingly difficult. Problem Solving 3 is also the same.

It takes me thousand years to complete it again. TBH, I had spent more than 12 hours over the weekend to finish these sh*t. Fortunately and finally, I've conquered it on Saturday night (17/12/2022). Yeah :)

What I wanna say is that NEVER GIVE UP on answering Lab questions. Keep trying. It's quite normal to spend 30 minutes or even more (say, 1 hour and even 1 whole day) just to do ONE question. I've tried spending 2 hours just to debug and modify L10Q4.java.

I attempted to use the LinkedBlockingQueue and PriorityQueue in L10Q4.java in order to keep the appointment in ascending order. But none of them because:

The Iterator provided in method iterator() is not guaranteed to traverse the elements of the priority queue in any particular order. -- Java Docs

But I only come to know these after countless times of trials. Yes, I've wasted at least 3 HOURS just to do this sh*t.

So there is no need to worry about time. Everyone is just the same.

Here are some useful debugging techniques:

  1. Go https://stackoverflow.com/. You could find virtually all answers on it.
  2. Utilize https://www.google.com/. It's much more stronger than you might expect.
  3. Ask questions on https://openai.com/blog/chatgpt/. chatGPT is extremely useful, but never overrely on it. Never let AI to restrict your imagination.
  4. Read others' code on https://github.com/ or https://gitlab.com/. Programmers read more than code.
  5. Start reading Java Documentation on https://docs.oracle.com/javase/7/docs/api/. It provides tools and explanations you need which will make your life simpler.
  6. Ask your buddy/ demo/ friends/ anyone who is good at programming.

Anyway, feel free to contact me at 017-780 9298 (Whatsapp/ Telegram) if you have any questions.

Good luck guys. You are the best.

Reference Code for WIX1002 on GitHub/ GitLab

About

🌱 WIX1002 - Include notes, questions, source code and explanation for Tutorials/ Labs (UM-WIX1002)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages