Computer Components and Concepts Flashcards
What are the different sizes a motherboard can take?
E-ATX, ATX, micro-ATX, mini-ITX
What is a socket?
A socket is the type of connector a CPU processor has. The socket must be compatible with the motherboard.
What is a bus?
A physical connection between the components that connect the motherboard.
Explain context switching.
A single-core processor does not perform multiple tasks simultaneously. This capability is achieved using a process called “context switching”.
What is RAM?
RAM stands for Random Access Memory. Part of the RAM is used by the OS, the rest is used by running processes. RAM is volatile.
Explain USB.
Universal Serial Bus.
USB 1 - 1.5 Mbps
USB 2 - 480 Mbps
USB 3 - 4.8 Gbps
USB 3.1 - 10 Gbps
USB-C is the one port to rule them all (power, data, video, etc)
Explain PS/2
Personnal System / 2. Older input peripheral interface.
Explain VGA.
Video Graphic Array. Older video output (the one with the 2 screws).
Explain DVI.
Digital Virtual Interface. A bit more modern than VGA.
Explain HDMI.
High Definition Multimedia Interface.
Explain Display Port.
One of the most modern dedicated video interface.
Explain encoding.
Encoding is the process of taking a data from one format (eg binary) and represent it in an other format (eg ASCII). The purpose of encoding is to enable us to fit data that we need to transmit within a set of constraints that are suitable for storage or transmission medium.
How many character does ASCII has?
0-255
What is a tautology?
An assertion or formula which is true no matter what inputs.
What is a contradiction?
An assertion or formula which is false no matter what inputs.
What is a contingency.
Anything that is not a tautology or a contradiction.
What is a file system?
It is like a protocol for accessing files and saving files to a physical storage media.
What is a cluster?
Every storage device is broken in cluster. It is the smallest section of disk that can be used for file storage.
What are the 2 types of information a filesystem store?
Data and metadate.
Were is the metadata stored?
It is stored in the index entry.
Explain how a file allocation table map works.
A cluster points to a file allocation table entry mapping to the next cluster. For every cluster, a file allocation entry exist.
Some file system do not have file allocation table. The next cluster address is directly in the preceding cluster.
It harder to remap a file system that doesn’t have a file allocation table.
Explain FAT32 file system.
File Allocation Table 32
Introduced with Windows 95
Uses File Allocation Table
Maximum file size of 4GB
Doesn’t support metadata (so no file permission)
Explain exFAT file system.
Extended File Allocation Table
Introduced in 2006
Uses File Allocation Table
Maximum file size basically unlimited
Doesn’t support metadata (so no file permission)
Explain NTFS file system.
New Technology File System
Windows only
Encryption support
Shadow copy support (backup)
Metadata support
Explain EXT3 file system.
Extended File System 3
Linux only Introduced in 2001 Support encryption Doesn't support shadow copy Maximum size of 2 TB Journaling file system (track changes to the file system)
Explain EXT4 file system.
Extended File System 4
Linux only Introduced in 2008 Support encryption Doesn't support shadow copy Journaling file system with option to turn off for improved speed
Explain HFS+ file system.
Hierarchical File System Plus
Apple only
Very similar to EXT4, but for apple
Explain APFS file system.
Apple File System
Duplicate files can be stored via delta
What are the 3 cloud computing models?
SaaS, IaaS and PaaS
Explain SaaS.
Software that is available via a third party over the internet (O365, Slack, Teams). You manage nothing.
Explain IaaS.
Pay as you go IT infrastructure (Amazon Web Service EC2). You manage OS, middleware, Execution, Data and Application.
Explain PaaS.
Typically for developers. Provide hardware and software to enable you to deliver an application (AWS Elastic Beanstalk). You manage Applications and Data.
What is a kernel?
The first part of the OS code that is loaded. It has complete control over the computer.
What is a process?
A series of actions or steps taken IOT achieve a particular end. An application can have multiple processes.
What is an interrupt?
An interrupt is a signal sent to the CPU, which alerts the CPU to a task requiring its immediate attention.
What are the 2 types of interrupt?
Hardware interrupt (eg a mouse connected to the computer) and Software interrupt (handled via the kernel).
What is the bootloader?
Program that is loaded by the BIOS when a computer is first turned on. It is responsible to load the OS. The bootloaded is saved at a known place on the hard drive, known by the BIOS.
What is the BIOS?
Basic Input Output System. Program stored on the motherboard. Initialize the hardware components and load the bootloader.
What is the UEFI?
Unified Extensible Firmware Interface. Successor to the BIOS (load bootloader and initialize the hardware). It is more versatile and secure.
What is virtualization?
Virtualization is where you create a virtual computer of virtual machine out of software that behaves like a separate computer.
What are the 2 types of hypervisor?
Type 1 : Bare Metal. Loaded without an OS.
Type 2 : Software. Runs over the host OS.
What are the uses of virtualization?
Security (Acces to tools, separation)
Development (Environments)
What does the tilde symbol mean in the linux terminal.
You are in the home directory.
What does the $ symbol means in the linux terminal?
You are running with account permission.
What does the # symbol means in the linux terminal?
You are running with root privilege.
What is the shell?
The terminal is only the application, the actual program is the shell. The default path for Bash Shell is /bin/bash.
What is a superuser account?
An account that has all root privileges. Use the command su (substitue user) command or sudo (substitue user do). Sudo config are in the sudoer file (etc).
How do you change directory in linux?
Use cd.
How do you list files in linux?
Use ls.
- a show hidden files
- A show hidden files exept . and ..
- l uses long listing format
How do you print the working directory ?
pwd
How do you verify your account id?
whoami
Explain the root folder structure.
bin : store binary files. Usually system files.
boot : stores the files linux uses for the boot process.
cdrom : for the cdrom tray
dev : contain a file for every hardware on the computer.
etc : contain configuration files
home : user home directory
lib : shared library and kernel modules
lost+found : orphaned files are placed there
media : for USB and floppy disks
mnt : mounting external medias
opt : user installed program can go there
proc : every running process has an entry there
root : home folder of the root user
run : store runtime information
sbin : bin for administrative use
srv : holds data for services hosted on the system
sys : contain information about the devices on the system
tmp : temporary file. Deleted periodically and after reboot.
usr : folder for the user
var : variable size file (log file, mail directory and so on).