Database Fundamentals and Table Relationships
Database Fundamentals
DATABASE: A collection of information stored in an organized manner. There are different classes of databases:
- Documentary Database: Also called a simple file, it contains information in a single table. Common data across multiple records must be repeated for each of them.
- Relational Database: These use related or linked tables. Thus, you can enter information so that data are tied to one another.
Key Database Components
- TABLES: A data set collected in rows and columns, which are
Graphical Display of Wi-Fi Connectivity with OpenGL
Code to Graphically Display the Wi-Fi Connectivity
This code runs in OpenGL.
#include <iostream.h>
#include <stdlib.h>
#include <GL/glut.h>
#include <math.h>
#define PI 3.1415
float r=0;
int x,y,xx1=0,fl2=0,yy1=0,f13=0,
xx2=0,yy2=2,fl4=0,xx3=0,yy3=0,xx4=0,yy4=0,fl5=0,f14=0,xx5=0,yy5=0,fl6=0,xx6=0,yy6=0,fl7=0;
int fl=0,f2=0,f3=0,lc=0,rc=0;
float spin=0.0;
float col=0.0;
void text(char *,int,int);
void Circle(float X, float Y, float Radius)
{
glColor3f(0,0,0);
float DEG2RAD= Read More
Software Development and Web Technologies: Key Concepts
Software License
A software license is a contract between the developer of a software, subject to intellectual property and copyright, and the user. It precisely defines the rights and duties of both parties. The developer, or the party to whom the developer has assigned the exploitation rights, chooses the license under which they distribute the software.
- Free Software: Software in which the author grants a series of basic freedoms to the user, within the framework of a license.
- Proprietary Software:
Sorting and Graph Algorithms in C
Sorting Algorithms
Quick Sort
#include <stdio.h>
#include <time.h>
void quickSort(int arr[], int low, int high);
int partition(int arr[], int low, int high);
void quickSort(int arr[], int low, int high) {
if (low < high) {
int pi = partition(arr, low, high);
quickSort(arr, low, pi - 1);
quickSort(arr, pi + 1, high);
}
}
int partition(int arr[], int low, int high) {
int pivot = arr[high];
int i = (low - 1);
for (int j = low; j <= high Read More
Understanding Process Management in Operating Systems
What is a Process?
A process is a running program. When a process is in a ready state, the only thing that’s missing is the allocation of the processor.
Process States
The completed state of a process always comes from the state of execution.
Reasons for a Suspended Process State
A suspended state exists to incorporate more ready processes, preventing the internal memory to the processor from being occupied for too long. This increases system productivity by allowing a larger number of processes to be
Read MoreVHDL Code Examples for Digital Logic Circuits
bit ALU
Entity ALU is
Port ( A, B : in STD_LOGIC_VECTOR (3 downto 0);
OP : in STD_LOGIC_VECTOR (1 downto 0);
Result : out STD_LOGIC_VECTOR (3 downto 0));
end ALU;
architecture Behavioral of ALU is
begin
process(A, B, OP)
begin
case OP is
when “00” => Result
when “01” => Result
when “10” => Result
when “11” => Result
when others => Result
end case;
end process;
end Behavioral;
MUX Using When Else Statement
entity MUX41 is
Port ( I0, I1, I2, I3 : in STD_LOGIC;
S : in STD_LOGIC_VECTOR (1 downto 0);
Y
Read More