vault backup: 2024-04-22 11:20:56

This commit is contained in:
2024-04-22 11:20:56 +01:00
parent d58c22b4dc
commit 73d081e6b1
10 changed files with 34 additions and 22 deletions

Binary file not shown.

2
.obsidian/app.json vendored
View File

@@ -8,7 +8,7 @@
"pageSize": "A4",
"landscape": false,
"margin": "0",
"downscalePercent": 78
"downscalePercent": 64
},
"readableLineLength": false,
"alwaysUpdateLinks": true,

View File

@@ -30,6 +30,16 @@
"source": false
}
}
},
{
"id": "7b88be3469fd34b2",
"type": "leaf",
"state": {
"type": "image",
"state": {
"file": "images/Pasted image 20240421194501.png"
}
}
}
],
"currentTab": 1
@@ -181,10 +191,13 @@
},
"active": "3ed058b7ba32ddc0",
"lastOpenFiles": [
"images/Pasted image 20240422002617.png",
"images/Pasted image 20240422002351.png",
"images/Pasted image 20240422002308.png",
"images/Pasted image 20240421194501.png",
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/Trimester 2 Assignment.md",
"images/Pasted image 20240421224020.png",
"Semester 2/Database Systems/Trimester 2 Assignment.md",
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/Trimester 2 Assignment.md",
"images/Pasted image 20240421194501.png",
"images/Pasted image 20240421190116.png",
"1b.csv",
"1a.csv",
@@ -194,9 +207,6 @@
"images/Pasted image 20240421171345.png",
"images/Pasted image 20240421171300.png",
"images/Pasted image 20240421171121.png",
"images/Pasted image 20240421170953.png",
"images/Pasted image 20240421170326.png",
"images/Pasted image 20240421165326.png",
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q2.sh",
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt2.txt",
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt1.txt",

View File

@@ -1,13 +1,14 @@
| Roll Number | 00677611 |
| ----------- | -------- |
| ID | CHC119 |
| Roll Number | @00677611 |
| ----------- | ---------------- |
| ID | CHC119 |
| Name | George Wilkinson |
# 1 - Linux Bash
### 1.1 - If Statements
![](Pasted%20image%2020240421152012.png)
![](Pasted%20image%2020240421151943.png)
![](Pasted%20image%2020240422002308.png)
![](Pasted%20image%2020240422002617.png)
### 1.2 - Processing Variable Number of Arguments with While, Using if
@@ -79,8 +80,6 @@
![](Pasted%20image%2020240421165222.png)
![](Pasted%20image%2020240421164948.png)
#### bash_history
# CSI Task 1
### a)
@@ -89,8 +88,10 @@
#### i)
Since Boolean Algebra ( ., +, *Line over* ) is not possible to type in my text editor, I will use Boolean Expression Logic symbols ( ^, V, ¬) throughout the CSI task sections. I apologise for any inconvenience.
```
X = (A B C) ( ¬A B ¬C) ( ¬A ¬B C)
X = (A ^ B ^ C) v ( ¬A ^ B ^ ¬C) v ( ¬A ^ ¬B ^ C)
```
#### ii)
@@ -120,7 +121,7 @@ As we can see from the Karnaugh Graph, the output of C is completely irrelevant.
Boolean Expression:
```
OUT = (IN1 IN2) ( ¬IN1 ¬IN2)
OUT = (IN1 ^ IN2) ( ¬IN1 ^ ¬IN2)
```
Logic Circuit:
@@ -176,17 +177,19 @@ Here we can detect an error in transmission, since the checksum differs on each
### c)
( Equations and formulae written with LaTeX )
$Baud Rate = \frac{Bitrate}{Bits Per Symbol}$
$Bit Rate = 2MBps$
$Bits Per Symbol = 8 data + 1 start + 2 stop = 11 bits$
$Baud Rate = \frac{2MBps}{11b} = 0.1818MHz = 181.8kHz$
$Baud Rate = \frac{16000000bps}{11b} = 1,454,545Baud = 1.454545MHz = 1454.545kHz$
$5F = 5 * \frac{Baud Rate}{2}$
$5F = 5 * 90.9kHz = 454.5kHz$
$5F = 5 * 727.2725kHz = 3636.3625kHz = 3.636MHz$
Required Bandwidth: 454.5kHz
Required Bandwidth: 3.636MHz
# CSI Task 3

View File

@@ -19,4 +19,4 @@ print() {
print "$1"
print "$2"
echo "Total number of characters is: $(cat "$1" "$2" | wc -c)"
echo "Total number of characters is $(cat "$1" "$2" | wc -c)."

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB