In communications and information processing, code is a system of rules to convert information—such as a letter, word, sound, image, or gesture—into another form, sometimes shortened or secret, for communication through a communication channel or storage in a storage medium. An early example is an invention of language, which enabled a person, through speech, to communicate what they thought, saw, heard, or felt to others. But speech limits the range of communication to the distance a voice can carry and limits the audience to those present when the speech is uttered. The invention of writing, which converted spoken language into visual symbols, extended the range of communication across space and time.
The process of encoding converts information from a source into symbols for communication or storage. Decoding is the reverse process, converting code symbols back into a form that the recipient understands, such as English or/and Spanish.
One reason for coding is to enable communication in places where ordinary plain language, spoken or written, is difficult or impossible. For example, semaphore, where the configuration of flags held by a signaler or the arms of a semaphore tower encodes parts of the message, typically individual letters, and numbers. Another person standing a great distance away can interpret the flags and reproduce the words sent.
First and foremost, I read CSS & HTML & a bit of XHTML before I asked this question. I read them in 2 sites, DaveSite.com & W3Schools.org
Can somebody help me whether how to code this picture?
I would really appreciate it, thanks!:approve:
( I am trying to make a Skin for Paint.NET for the...
im searching for a C code for verlet leap method, i.e a one the advances the system of particles with accleration,velocities,displacements.
anyone knows where may i find such a code?
thanks in advance.
I have the following linear transformation
http://img162.imageshack.us/img162/3306/hammingcodeex4.gif
with G being a generating matrix for a hamming code and I have to find a matrix B so that the following:
\delta \cdot\gamma(\upsilon) = \upsilon for all \upsilon \in Z^4_2
is true for the...
i was asked to write a code that search for pythogrean triples, my fault in my code is that i don't know where to write the codnition that a<b<c, cause as of now runs duplicates of pyhtogrean's triples.
here's the code:
main()
{
int n,max,a,b,c;
printf("insert the degree you wish to...
i have to write the function gcd for c programme.
here's my code:
int gcd(int m, int n)
{
int s,r,x,y;
if (m>=n)
{
r=m-(m/n)*n;
for(x=m,y=n;r!=0;x=y,y=r)
r=x-(x/y)*y;
}
if(n>m)
{
r=n-(n/m)*n;
for(x=n,y=m;r!=0;x=y,y=r)
r=x-(x/y)*y;
}...
Hey,
How do u arrive at the state diagram for a scale of 10 gray code counter?
I know how to draw all the used states, but the problem comes when the unused states are considered.
The unused states namely are:1100
0100...
I want to build a binary matrix (with 1 and 0 entries) with all possible combinations, say for example if n is the number of entries of one row of the matrix, then 2^n is the total number of different entries in the matrix.
For instance, for n=3, 2^n = 8, so we would have the following matrix...
i was asked to write down a code that calculates via the trapezoid method, the integral f(x)=10x^2-x^3 from x=-2.5 up to x=2, and compares it to the analytic solution. well here's my code, my problem is that it's stuck on numbers such as 20 (number of segments).
can anyone spot my error in my...
Homework Statement http://www2.warwick.ac.uk/fac/sci/physics/teach/module_home/px270/projects/c4s_projects07.pdf
it's the first example
Homework Equations
see aboveThe Attempt at a Solution
right i shouldn't have any probs with the programming but i need to understand the calcs that are put...
I have a very simply MATLAB code. When I try go run it, I get no graph and switching over to the MATLAB command line, I see:
ans =
char
Here is the code:
t = linspace(0,60);
v = 3.22;
for q_0 = [0:1:2007];
q = q_0*exp(v*t);
plot(t,q)
hold on
end
It looks just...
|1|4|6|9|
|D|-|-|-|
|S|K|J|A|
|Y|U|J|-|
|S|G|B|-|
|Q|F|J|A|
|L|H|U|-|
i would love to see anyone break this one i found it on a nothere site that said you could give it away but it took me 5 computer programs that crack encrypted text like that and a few books took me for ever.
The color code for hidden text is #black.
Some of these questions are insanely tough. I'll post the answers after sufficient participation.
1) The first is a picture of a person who starred in a famous American sitcom of the seventies. The second is of a famous director. The third is that of...
I feel justified in making a reusable thread because it is unique to this section. Here's my idea. I take a few sentences or words that make sense and apply simple coding techniques and if anyone cracks it, I move onto the next one. I will not be posting any hints and will not move onto the next...
Hi,
can anyone help me ?
I want code (program) to solve Gaussian Elemination by C++ .
Please Help me and I will really appreciate your time and effort in
helping me in my assignment.
Thanks.
Hi,
I am writing a visual basic databse program, and need a code to open a MS access table which is protected by a password.
It can open the table without password. I need to protect it by password to prevent someone to open and edit it, but I have got a problem to let the visual basic...
A deep code found in Benjamin Franklin's 13 virtues
Graphic representation below:
Discovered after total binge eating, and after hitting a new high of 173 pounds (is me). Sorry my stomach =P
http://uplink.space.com/attachments//627869-benjaminfranklinssecretcodequestion.gif
Two...
write recursive code for the following integer function:
power(x,n) is the exponential or power function x^n, where n is the exponent
For example: power(3,4) evaluates 3^4 which is 3 x 3 x 3 x 3 = 81
Expect the integer result to be large(ie in the millions)
explain how recursive...
Hey I'm new to this java stuff, I am taking my first class in it at the university of pittsburgh, and for my homework I need to write code to make a thing that will generate 10 random insults from a list of words. I have this outline to it and I was wondering if someone could help me fill in the...
Hello everyone.
Again I think I'm not doing this right. The questions asks:
A programmer writes 500 lines of computer code in 17 days. Must there have at least one day when the programmer wrote 30 or more lines of code? why?
Well the first thing that came to mind was to see if he wrote 500...
Hello everyone im' stuck on this problem.
It says:
Each symbol in braille code is represened by a rectangular arrangement of six dots. Given that a least 1 dot of the 6 must be raised, how many symbols can be represented in brail?
I'm thinking I have to use combinations becuase the...
Ok, I'm trying this code in Dev-C++
int main(int argc, char **argv)
{
double **a;
double *b;
// double *m;
int n, iter;
double tol;
b = new double[n];
a = new double*[n];
for (int i = 0; i < n + 1; i++)
a[i] = new double[n];
// m =...
Recently, I was looking for extra help on thermodynamics and had "Googled" for "thermodynamics problems and solutions" or something similar. After looking through the results, I realized one of them was the website for the publisher of my textbook and I clicked on it. I managed to get some extra...
MATLAB code help please...
Hi,
My name is Jennifer.Iam new to Matlab programming.Iam working on reducing the noise content in audio communication.Iam using Hamning codes for the same.I have a sample code with me,which iam uploading in a zip file.Iam unable to understand how it works.Can...
have the following MIPS 32 asm code:
Assuming B is an array of 10 words whose base address is in register $s0, andvariable c and i are in $s1 and $s2, respectively. What is the C statement implemented by the below MIPS assembly code?
add $t0, $s2, $s2
add $t0, $t0, $t0
lw $t1, 0($s0)
lw...
I am presently learning operating system fundamentals.
Can anyone tell me m from where I can get free very small operating system code, in order to understand how it basically works?
It will be big help...(Please exclude Linux :))
Thanks in anticipation/
So my teacher gave me this problem to solve over the weekend for extra credit. I still have yet to solve it. Any clues like equations please? Thanks in advance. :D
I am starting a programing class for scientists and engineers at the end of the month. I wanted to brush up on my C. I used to compile C programs with Visual Studio, but now that no longer seems to work. Even simple example programs in the book generate a litiney of compile errors in Visual...
Stumbled across this and thougth folks around here might find it of interest and perhaps even useful.
USER MANUAL FOR RTE2002
Version 1
A COMPUTER CODE FOR THREE-DIMENSIONAL
ROCKET THERMAL EVALUATION
http://home.manhattan.edu/~mohammad.naraghi//rte/rte.pdf
Page with several other...
Hi!
for (int i=0; i<=9; i++)
{
for (int j=0; j<i; j++)
cout << " ";
for (int j=i; j<=9; j++)
cout << "*"
cout << endl;
}
Can anyone explain me what these lines are doing?
Thank you!
Hello, I am having some trouble with my red and black tree. I made up a parent method which finds the node before the node and then sets an iterator to that node. The code is below:
private RBNode parent(Comparable x, RBNode i) {
RBNode tmp = new RBNode(null,null,null);
if(i==null ||...
There's a funny flash game where one of the puzzles is to guess a four-digit password with digits from 1 to 8. After each guess, the puzzle gives you some number of x's and some number of o's, with the x's indicating how many numbers you guessed correctly and in the right place, and the o's...
the Da Vinci Code and Angels and Demons...what else?
I'm just curious about the opinions of everyone here on the Da Vinci Code, and Angels and Demons, especially concerning the 'scientific' side of the latter. Since many people here are pretty knowledgeable about a lot of the stuff in the...
I've compiled this code in linux by using g++. I also need to compile it bye Turbo C++ (I have version 4.5 of that).
I tried to compile it but there were lots of errors. I tried the documentation and followed the instructions but some errors still exist.
Is there somebody to revise the code...
I went to see the Da Vinci code movie on friday. I would quite wary as the critical reviews were not all that good. However, in my opinion it turned out to be a very good film; I was impressed how much the film actually stuck to the book (although there were a few deviations). I was...
Warning: minor spoilers
I'm sure there are a hundred fora devoted to discussion about The DaVinci code, but, well I'm here.
So, to anyone who's read the book, my question concerns the sequence they use when accessing the Swiss Bank Account - the Fibonacci series ( Chapter 44 - p.204-205 in...
http://www.google.com/davincicode?source=brpp
Who's playing this? None of the challenges are really THAT hard (except for today's, Day 19) I think you win something if you're one of the first 10,000 to beat it (WHo actually read ALL of the rules...?)
Hi, I have downloaded a software to code for guitar sound, it's great, sounds cool but I don't know anything about guitar notes. Do you have any tutorials for aguitar newbie?
Can anyone explain how this simple assembly code is working:
This is specifically for pentium ones
I am actually lacking codes for assembly,,didn;t get any...if you have any please give..
----------------------------------------------------------------
#include<asm/unistd.h>...
hi
can anyone help me with this? i need some materials on encryption using huffman code. is there something useful in the internet? can anyone suggest some link.
thanks in advance to anyone who can help.
Hi, I have a problem to code this:
Image that you have the following file presenting the following decimal values:
2 A 40.0
115.00 1.02842 5.944 10.0528 -1.656
115.00 1.01911 4.678 10.0528 177.078
11 6 100.0
115.00 1.01530 2.392 2.9097 11.933
115.00 1.00338...