CPU/Processor - Answers The central processing unit is the 'brain' of the computer, this is
where instructions or programs are ultimately executed
Main Memory/RAM - Answers Main memory (usually RAM) is where programs store most of
their working memory. Where the program instructions are stored before they get sent to the
CPU.
Mass Storage/ SSD/HDD (definition) - Answers Apart from RAM. Most computers have
secondary storage sometimes referred to as Mass Storage.
Mass Storage/ SSD/HDD (examples) - Answers Examples of this include, hard disk drives
(HDDs), solid state drives (SSDs), USB drives, or similar.
GPU - Answers The graphics processing unit is where what you see on your phone screen, or
monitor is computed. These tend to excel at massively parallel tasks.
NIC (definition) - Answers Network Interface Cards are what allow you to connect to other
computers, including the internet
NIC (examples) - Answers They come in a few different varieties including ethernet, and
WiFi/WLAN.
Input - Answers Such as mice, keyboards.
Output - Answers Such as monitors, printers, speakers.
SDLC (definition) - Answers For larger programs we refer to the basics of creating software as
the SDLC Software Development Lifecycle.
SLDC (steps) - Answers Planning and Analysis.
Defining requirements.
Designing.
Development.
Testing.
Deployment.
Maintenance.
Java origin - Answers It was created in the 1990s by James Gosling who was working at Sun
Microsystems at the time. Eventually Sun Microsystems was acquired by Oracle who own Java
today.
, Java is two things: - Answers 1. Both imperative (code directly states how to compute
something) and declarative (where it only describes/declares the properties of the desired
result)
2. Object oriented (as opposed to procedural. Object oriented code is organized in objects and
all the logic and data needed for computation is encapsulated within an object. Procedural
stores the logic and data separately; they are not directly encapsulated together)
What is compiled? - Answers Compilers take our high-level code and convert it into assembly
code. Assembly code uses an assembler to convert it into machine code. Lastly a linker will look
at the machine code and link in the standard code that exists elsewhere on the computer.
Src - Answers is short form for source and it's where all your .java files live, its where the code
that you write will be.
Bin - Answers is short for binary. The bin folder is where your .class files will be stored, .class
files are the files created by the Java compiler that are then run by the JVM to produce output.
Lib - Answers is short for libraries. External sources are stored in the lib folder.
What is an IDE? - Answers Integrated Development Environment.
Usually they contain (non exhaustively):
A source code editor.
A debugger.
Some build automation tools
Formatting tools.
Linting tools
Project structure tools
GIT - Answers A version control system that helps keep track of changes made to files and
directories
git init - Answers Initialized repository in the folder/directory your terminal is currently in
git add - Answers Adds files to staging. Staging is the step before you commit.
git commit - Answers Creates a new commit with the staged files and changes.
git status - Answers Shows a status of the current state of git.
git config - Answers Adds/modifies/shows git configurations.