Cheet
• Concurrency is when we have multiple computations being executed at once – Generally a program is synchronous, but it may run asynchronous with other programs at the same time depending on the Operating System
A Process is an instance of a program being executed – This presentation is running in a process
Multitasking is the term given when an Operating System (OS) is able to run multiple Processes at once With time-sharing each core generally runs multiple tasks
Each process can also spawn
Read Morerr
bladder a membranous sac which holds or stores a secretion catheterisation to introduce a catheter into a person e.g. a urinary catheter chaperone someone who accompanies someone else especially during an intimate procedure cortex hard outer covering ESRF end stage renal failure erythrocyte red blood cell kidney an organ which helps maintain proper water and electrolyte balance and filters out wastes leucocyte white blood cell medulla centre or inner part of an organ renal failure condition where
Read MoreFinal Sheet
MCS021
Asymptotic Notations
Asymptotic notations are the mathematical notations used to describe the running time of an algorithm when the input tends towards a particular value or a limiting value.
Asymptotic notations are used to write fastest and slowest possible running time for an algorithm. These are also referred to as ‘best case’ and ‘worst case’ scenarios respectively.
“In asymptotic notations, we derive the complexity concerning the size of the input. (Example in terms of n)”
“These notations are
101 Linux Commands
Some of these commands require elevated permissions (sudo) to run.
101 | Linux Commands |
|---|---|
| !! | Execute the previous command used: |
| ! cd .. | Move to parent (higher level) directory. |
| cd ~ | Go to home directory |
| !s | Execute a previous command starting with a specific letter. |
| cp | copy or backup a file cp nginx.conf{,.bak} |
| cd – | Toggle between current directory and last directory |
| cd $HOME | Go to home directory |
| cd | Go to home directory |
| chmod 755 | Set permissions to 755. Corresponds to these permissions: (-rwx-r-x-r-x), arranged |
Data strutsit ja alko
Flowcharts are visual diagrams that represent an algorithm using various shapes and arrowsto describe the steps involved. On the other hand, pseudocode is a text-based representationof an algorithm that uses a high-level programming language-like syntax. Both have their own benefits, and it depends on the person’s preference and the problem athand to choose which one to use. For example, flowcharts are more visually appealing andeasier to understand for non-programmers, while pseudocode is more
Read More