diff --git a/.1b.csv.swp b/.1b.csv.swp deleted file mode 100644 index 43ba1b1..0000000 Binary files a/.1b.csv.swp and /dev/null differ diff --git a/.obsidian/app.json b/.obsidian/app.json index 1a00668..56f7091 100644 --- a/.obsidian/app.json +++ b/.obsidian/app.json @@ -8,7 +8,7 @@ "pageSize": "A4", "landscape": false, "margin": "0", - "downscalePercent": 78 + "downscalePercent": 64 }, "readableLineLength": false, "alwaysUpdateLinks": true, diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 5a07705..4bb96d3 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -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", diff --git a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/Trimester 2 Assignment.md b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/Trimester 2 Assignment.md index e5ee5cd..25849f6 100644 --- a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/Trimester 2 Assignment.md +++ b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/Trimester 2 Assignment.md @@ -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 diff --git a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1.sh b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1.sh index b145cdb..304e832 100644 --- a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1.sh +++ b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1.sh @@ -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)." diff --git a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt1.txt b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt1.txt index 01e79c3..8a1218a 100644 --- a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt1.txt +++ b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt1.txt @@ -1,3 +1,5 @@ 1 2 3 +4 +5 diff --git a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt2.txt b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt2.txt index f7e554b..1e1140b 100644 --- a/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt2.txt +++ b/Semester 2/Computer Systems Internals & Linux/Trimester 2 Assignment/q1txt2.txt @@ -1,8 +1,5 @@ -4 -5 6 7 8 9 10 -11 diff --git a/images/Pasted image 20240422002308.png b/images/Pasted image 20240422002308.png new file mode 100644 index 0000000..b1ea470 Binary files /dev/null and b/images/Pasted image 20240422002308.png differ diff --git a/images/Pasted image 20240422002351.png b/images/Pasted image 20240422002351.png new file mode 100644 index 0000000..7aaa014 Binary files /dev/null and b/images/Pasted image 20240422002351.png differ diff --git a/images/Pasted image 20240422002617.png b/images/Pasted image 20240422002617.png new file mode 100644 index 0000000..d6a7d29 Binary files /dev/null and b/images/Pasted image 20240422002617.png differ