Digital Media: Formats, Compression, and Processing
Image Format and Compression
Lossless Compression
Huffman-Encoding: Performing a frequency table.
-RLE (Run Length Encode): Replaces sets of repeated values for a key with a numeric indicator (3 * 2).
-LZW (Lempel-Ziv-Welch): When you find a similar sequence to another, it is replaced by a code of two values, corresponding to how many steps are reversed and how much data is repeated (101 # 32). It is used in GIF or TIFF.
Lossy Compression
.- Method fractal: Divided into blocks, scaling, rotation, we can
Read MorePointers and Arrays in C++
Pointers and Arrays in C++
Pointers
Software Testing Techniques: A Comprehensive Guide
Software Testing Techniques
9: Input Domain Partitioning & Boundary Test Cases
Domain Testing
Generate test cases by assigning specific values to input variables based on analysis of the input domain.
- Input Space: x1,…,xn represents an input space where each input corresponds to a single data item. Together, they form the input vector. When the vector takes on a specific value, it is called a test point or test case.
- Input Domain: All points that are allowable input combinations.
- Sub Domain: Subset
Java Programming: Controllers, Servlets, JSPs, and Data Streams
Types of Controllers
There are four different driver bridges or JDBC drivers defined by the JDBC specification from Sun.
Bridge 1
Drivers using the system as a gateway or bridge. One example is the JDBC-ODBC. This is not the best solution because in many cases it is necessary to install specific software on the client, besides being slow to access the database.
Bridge 2
This type of controller is called native API. The driver contains Java code in which calls are made to the native methods of the database
Read MoreA Guide to Administrative Documents and Business Mail
Item 6 – Administrative Documents
1. Definition of Administrative Documents
The hardware used by various administrations to embody or realize their actions.
2. Trades
– 1. Definition
This is the document used by agencies or governments, regional and local authorities to communicate.
– 2. Party of the Trade
- Home:-Letterhead: name of the ministry and agency, S/ref., N/ref., Matter of clear and brief.
- Content: A short and clear statement of what you want to communicate.
- Final: place and locating the agency
Task Scheduling Algorithms in C: Min-Min, Max-Min, Max-Max, Min-Max & More
Task Scheduling Algorithms in C
1. Min-Min Algorithm
#include
#includevoid main() {
int nT, nM; // number of tasks, number of machines
printf("\nEnter the number of machines and tasks: ");
scanf("%d%d", &nM, &nT);// Declare a 2D array of size nM x nT
// Data should be in the following format:
// T1 T2 T3
// M1 | 140 | 20 | 60 |
// M2 | 100 | 100 | 70 |
int min_min[nM][nT];
int tmp[nM][nT];
int makespan = 0;printf("\nFill Data:\n");
for (int i = 0; i < nM; i++) {
for (int j = 0; j < nT;
