Skip to content

Instantly share code, notes, and snippets.

View a2ys's full-sized avatar
🦥
Downloading more RAM

Aayush Shukla a2ys

🦥
Downloading more RAM
View GitHub Profile
Module Focus Area Marks (Minimum) Weightage Justification
1. Intro to CA & Org Basics, Architectures, RISC vs CISC 10 Conceptual, Definitions
2. Data Representation & Arithmetic Booth’s, Division, Floating Point 15 Problem-heavy, Always asked
3. ISA & Control Unit Addressing Modes, ISA, MIPS 20 Core topic + Problem-based
4. Memory System Cache, RAM/ROM, Access time 15 Numerical & Theory
5. I/O & Interfacing DMA, Interrupts, Buses 10 Conceptual & Diagrams
6. Subsystems RAID, ECC, Disk Structures 10 Mostly theory

Ahh nice, thanks for the extra context! Based on what your teacher said, you're 100% gonna see numericals or logic-based problems on congestion control algorithms — especially TCP congestion control mechanisms like:


🔥 Key Types of Problems You Might See

🧠 1. Additive Increase / Multiplicative Decrease (AIMD)

This is TCP's heart and soul. Expect questions like:

dnsserver.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netdb.h>
#define PORT 8080

Data Structures Assignment Solutions

Question (i): Hashing Techniques Implementation

Implementation of Linear, Quadratic, and Double Hashing for the key values: 3, 2, 13, 18, 11, 6, 73.

Given information:

  • Bucket size = 10
  • h1(Key) = Key % 10
  • h2(Key) = 1 + (Key % 8)

1. Hamming Code – Edge Case Errors

Question:

A 7-bit Hamming code 1011010 is received. Find and correct the error.

Step 1: Identify Parity Bits Positions

  • 7-bit Hamming Code → Positions of parity bits are at powers of 2:
    1, 2, 4

Step 2: Identify Bit Positions:

| Bit Position | Value | Parity Check Involvement |