Understanding I/O Techniques: Programmed, Interrupt & DMA

Data Transfer Modes with Peripherals

Data transfer to and from peripherals can be handled in three ways:

  1. Programmed I/O
  2. Interrupt-Initiated I/O
  3. Direct Memory Access (DMA)

Programmed I/O

This method relies on I/O instructions within a computer program. Each data transfer is initiated by a specific instruction, typically moving data between a CPU register and memory. Programmed I/O requires the CPU to constantly monitor peripheral devices.

Interrupt-Initiated I/O

This technique utilizes interrupts and commands

Read More

Database Systems: A Comprehensive Guide to Design and Management

Database Systems

Introduction

A database is a structured collection of related data, while a database system (DBS) is the software that manages and interacts with the database. Database systems are essential for organizing and storing large volumes of data across various applications, ranging from small-scale systems to large enterprise solutions.

Data and Database Management Systems (DBMS)

Data represents recorded facts with implicit meaning. A Database Management System (DBMS) is a software package

Read More

Object-Oriented Programming and ASP.NET Development

1. Features of OOP

Encapsulation

Data hiding by wrapping variables and methods within a class. Example: Private members accessible only via public methods.

Abstraction

Simplifies complex systems by providing necessary details and hiding the internal workings. Example: Interface or abstract classes in C#.

Inheritance

Reusing existing class properties and methods by deriving new classes. Example: class Car : Vehicle

Polymorphism

One interface, many implementations—achieved through method overriding and

Read More

Computer Hardware and Software Essentials

Introduction to Storage Devices

Data Storage Basics

Saving information on a computer involves assigning a binary code (0s and 1s) to each character. Early computers had limited processing power and storage capacity, using 8 bits (1 byte). Storage units increase in size: 1000B = 1KB, 1000KB = 1MB, 1000MB = 1GB, and 1000GB = 1TB. For example, 1KB is roughly equivalent to a double-spaced page of text, 1MB to a book, 1GB to a library shelf, and 1TB to a library.

Types of Computer Memory

Computer memory

Read More

BAN668 Cheat Sheet: Data Manipulation & Analysis

BAN668 Cheat Sheet

Notes for Every Dataset

  • Always look at the data info and the starting descriptive statistics.
  • After every altering command, view the changes.

Loading and Describing Data

df = pd.read_csv('bank2.csv', sep='\t') Be able to read different files and know the separator.

Add headers by adding names to the read function.

df.sort_values(), df.describe(stats), df.groupby().value_counts() (qualitative data)

Visualizing Data

import seaborn as sns

# Convert day variable

df['day'] = pd.to_datetime(df[

Read More

Computer Components and Motherboard Guide

Computer Components

Case Types:

  • Slimline: Compact, space-saving design. Expansion cards are installed externally.
  • Mini-Tower: Offers decent expansion possibilities, but the number of bays may be limited.
  • Desktop: Provides ample space for peripherals and expansion cards; sits horizontally.
  • Tower: Excellent expansion capabilities but requires more space and longer cables.
  • Server: Largest housing type, offering maximum expansion possibilities.
  • Barebone: Used in large companies, lacks CD, DVD, or floppy drives.
Read More