vault backup: 2024-04-22 11:20:56
This commit is contained in:
BIN
.1b.csv.swp
BIN
.1b.csv.swp
Binary file not shown.
2
.obsidian/app.json
vendored
2
.obsidian/app.json
vendored
@@ -8,7 +8,7 @@
|
|||||||
"pageSize": "A4",
|
"pageSize": "A4",
|
||||||
"landscape": false,
|
"landscape": false,
|
||||||
"margin": "0",
|
"margin": "0",
|
||||||
"downscalePercent": 78
|
"downscalePercent": 64
|
||||||
},
|
},
|
||||||
"readableLineLength": false,
|
"readableLineLength": false,
|
||||||
"alwaysUpdateLinks": true,
|
"alwaysUpdateLinks": true,
|
||||||
|
20
.obsidian/workspace.json
vendored
20
.obsidian/workspace.json
vendored
@@ -30,6 +30,16 @@
|
|||||||
"source": false
|
"source": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "7b88be3469fd34b2",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "image",
|
||||||
|
"state": {
|
||||||
|
"file": "images/Pasted image 20240421194501.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 1
|
"currentTab": 1
|
||||||
@@ -181,10 +191,13 @@
|
|||||||
},
|
},
|
||||||
"active": "3ed058b7ba32ddc0",
|
"active": "3ed058b7ba32ddc0",
|
||||||
"lastOpenFiles": [
|
"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",
|
"images/Pasted image 20240421224020.png",
|
||||||
"Semester 2/Database Systems/Trimester 2 Assignment.md",
|
"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",
|
"images/Pasted image 20240421190116.png",
|
||||||
"1b.csv",
|
"1b.csv",
|
||||||
"1a.csv",
|
"1a.csv",
|
||||||
@@ -194,9 +207,6 @@
|
|||||||
"images/Pasted image 20240421171345.png",
|
"images/Pasted image 20240421171345.png",
|
||||||
"images/Pasted image 20240421171300.png",
|
"images/Pasted image 20240421171300.png",
|
||||||
"images/Pasted image 20240421171121.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/q2.sh",
|
||||||
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt2.txt",
|
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt2.txt",
|
||||||
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt1.txt",
|
"Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt1.txt",
|
||||||
|
@@ -1,13 +1,14 @@
|
|||||||
| Roll Number | 00677611 |
|
| Roll Number | @00677611 |
|
||||||
| ----------- | -------- |
|
| ----------- | ---------------- |
|
||||||
| ID | CHC119 |
|
| ID | CHC119 |
|
||||||
|
| Name | George Wilkinson |
|
||||||
|
|
||||||
# 1 - Linux Bash
|
# 1 - Linux Bash
|
||||||
|
|
||||||
### 1.1 - If Statements
|
### 1.1 - If Statements
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
### 1.2 - Processing Variable Number of Arguments with While, Using if
|
### 1.2 - Processing Variable Number of Arguments with While, Using if
|
||||||
|
|
||||||
@@ -79,8 +80,6 @@
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
#### bash_history
|
|
||||||
|
|
||||||
# CSI Task 1
|
# CSI Task 1
|
||||||
|
|
||||||
### a)
|
### a)
|
||||||
@@ -89,8 +88,10 @@
|
|||||||
|
|
||||||
#### i)
|
#### 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)
|
#### ii)
|
||||||
@@ -120,7 +121,7 @@ As we can see from the Karnaugh Graph, the output of C is completely irrelevant.
|
|||||||
Boolean Expression:
|
Boolean Expression:
|
||||||
|
|
||||||
```
|
```
|
||||||
OUT = (IN1 ∧ IN2) ∨ ( ¬IN1 ∧ ¬IN2)
|
OUT = (IN1 ^ IN2) ∨ ( ¬IN1 ^ ¬IN2)
|
||||||
```
|
```
|
||||||
|
|
||||||
Logic Circuit:
|
Logic Circuit:
|
||||||
@@ -176,17 +177,19 @@ Here we can detect an error in transmission, since the checksum differs on each
|
|||||||
|
|
||||||
### c)
|
### c)
|
||||||
|
|
||||||
|
( Equations and formulae written with LaTeX )
|
||||||
|
|
||||||
$Baud Rate = \frac{Bitrate}{Bits Per Symbol}$
|
$Baud Rate = \frac{Bitrate}{Bits Per Symbol}$
|
||||||
|
|
||||||
$Bit Rate = 2MBps$
|
$Bit Rate = 2MBps$
|
||||||
$Bits Per Symbol = 8 data + 1 start + 2 stop = 11 bits$
|
$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 * \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
|
# CSI Task 3
|
||||||
|
|
||||||
|
@@ -19,4 +19,4 @@ print() {
|
|||||||
print "$1"
|
print "$1"
|
||||||
print "$2"
|
print "$2"
|
||||||
|
|
||||||
echo "Total number of characters is: $(cat "$1" "$2" | wc -c)"
|
echo "Total number of characters is $(cat "$1" "$2" | wc -c)."
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
1
|
1
|
||||||
2
|
2
|
||||||
3
|
3
|
||||||
|
4
|
||||||
|
5
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
4
|
|
||||||
5
|
|
||||||
6
|
6
|
||||||
7
|
7
|
||||||
8
|
8
|
||||||
9
|
9
|
||||||
10
|
10
|
||||||
11
|
|
||||||
|
BIN
images/Pasted image 20240422002308.png
Normal file
BIN
images/Pasted image 20240422002308.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
BIN
images/Pasted image 20240422002351.png
Normal file
BIN
images/Pasted image 20240422002351.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
images/Pasted image 20240422002617.png
Normal file
BIN
images/Pasted image 20240422002617.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user