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 MoreComputer 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 MoreBAN668 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[
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.
Spatial Analysis Functions and Data Management in GIS
Spatial Analysis Functions
Focal Functions
Focal Sum
Assigns the sum of values of a subject variable within a cell’s neighborhood in the input layer to each position in the output layer. Requires a minimum interval input layer and outputs a proportion variable. Useful as an intermediate step for determining local densities.
Focal Percentile
Assigns the percentage of cells with lower values within a cell’s neighborhood in the input layer to each output cell. Applicable to ordinal variables and higher.
Read MoreIntroduction to Computer Networking: Multiplexing, Switching, and Layering
Multiplexing Techniques in Circuit Switching
What are the two most common multiplexing techniques used in circuit switching?
One is frequency division multiplexing (FDM), which partitions the bandwidth in a link using frequency bands, such as in FM radio. Another is time division multiplexing (TDM), which partitions time in a link with a revolving frame, giving each connection the same slot in the revolving frame.
Circuit Switching vs. Packet Switching
a. Suppose that all of the network sources send