Code Definition and 960 Threads

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.

View More On Wikipedia.org
  1. T

    Where is my mistake following this code

    next to every line i commented on what i think it does where is my mistake in understanding of changing the index of the pointer ?? #include <stdio.h> int main() { int *ptr; int arrayInts[10] = {1,2,3,4,5,6,7,8,9,10}; ptr = arrayInts...
  2. M

    MATLAB Conditional statement problem in ODE code in Matlab

    I am new in MATLAB and recently, I have tried coding in matlab. So far, I have been getting error msg "Warning: Failure at t=2.859413e+002. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.015868e-012) at time t." I have referred...
  3. T

    Where is my mistake in undersanding the order of this code

    when i compile it i get perfectly well output without any endless recursion but when i trace this code: #include <stdio.h> int a(int n,int count){ int i; for(i=0;i<n;i++) count =a(i,count); <<<<<<<<<<the problematic line return count+1; }...
  4. S

    MATLAB How to Measure Code Execution Time & Find LDU Factorization of Matrix A

    Alright I have to questions one is on how to measure the time it takes for my computer to solve a particular code I've tried the the "tic toc" and that seems to be dependent on the time frame that I typed in tic and toc. I need something that Is only dependent on the time taken to process and...
  5. Z

    LaTeX Another way to input latex code here using LYX

    Hi everyone, Maybe it's useful for someone who are not familar with latex but want to enter complex formulas. I suggest a new way to insert latex formated equations. I use LYX (www.lyx.org) ,it is a open source Latex WYSIWYG word processor. It will display the the latex code in another...
  6. Q

    Collapse calculation (surce code?)

    Hello, I would like to define (calculate/plot) the radius of collapsing interstellar cloud as a function of temperature, density and presure of the star. I would like to describe the collapse calculations of an originally homogenous cloud of one solar mas, with low initial presure and...
  7. V

    Running a f90 code in f77 compiler

    heys..can anyone tell me..how could i run f90 codes in an f77 compiler..wht changes in the code do i need to make to do that?
  8. J

    Biology: how the wobble effect explains the degeneracy of the genetic code

    Hello, Here's a conceptual question: The wobble effect says that 1 tRNA can be used for more than 1 anticodon, as the nucleotide near the 5' position of the anticodon does not need to follow strict base pairing rules. The degeneracy of the genetic code refers to the fact that more than...
  9. A

    Explore the Poisson Superfish Code

    hello, I want to know that the poisson superfish code uses finite difrerence method or finite element method?
  10. M

    MATLAB The matlab program code about soliton's propagation

    Hello, my friend: Recently, I encounter a MATLAB program problem on the propagation of the soliton in dielectric . I find that many people use a beam propagation method ( split-step fft ) in order to simulate this procedure. But I cann't get incorrect result. I am eager to...
  11. T

    Mathematica Validate Your Mathematica Code with this Handy Checker Tool

    Is there a function or way to check whether your code is correct? i.e like a complier in C where it tells you your errors?
  12. K

    Debunking the Bible Code: Doron Witztum, Eliyahu Rips & Yoav Rosenberg

    Does anyone remember the controversy when this article was published: Doron Witztum, Eliyahu Rips, Yoav Rosenberg (1994). "Equidistant letter sequences in the Book of Genesis". Statistical Science 9: 429–438. Basically it was about a bible code and modern people's names found in...
  13. N

    Easily Decode Cryptic Code: Find Out What this Code Means | Step-by-Step Guide

    Could someone tell me what code this is? I have no idea and I want to decode it. 0w 3b 22t 36 37 2x 382r 33 33 36 2z 2x 32 2v 0w 33 32 0w 2p 0w 37 3d 37 38 2t 31 0w 38 33 0w 31 2t 2p 370w 33 32 0w 34 36 33 2y 2t 2r 38 37 0w 2p 32 2s 0w 38 2w 2t 0w 30 2x 2z 2t 1a 0w 2x 38 13 37 02x 3d 0w 37...
  14. H

    MATLAB Solving Tree Data Problems with Coding: Python/Perl/Java/MATLAB

    I have the following problem: Suppose I have a tree of data as follows (Labels represent the branches of the tree, Nodes represent data "leaves" contained in the branches): Label1 Node1 Node2 Label2 Node3 Label3...
  15. S

    C/C++ Least Squares source code in C++?

    Does anyone know where to find source code for a simple and fast least squares solver written purely in C++?
  16. L

    Fortran How to Write Fortran Code for a Complex Phase Speed

    Hi, We assume Max hBy(y) = α1 for y ε (a1, a2) and Min hBy(y) = α2 for y ε (a1, a2) Where -∞ < α2 ≤ α1 < ∞, and the complex phase speed must lie in the region defined by (CR + α1 )^2 + CI^2 ≤ µγ^2/k^2, if CR <- α1 CI^2 ≤ µγ^2/k^2, if -α1≤ CR ≤-α2, (CR + α2 )^2 + CI^2 ≤ µγ^2/k^2...
  17. B

    C/C++ C++ code not compiling correctly

    I'm pretty sure I wrote the correct code for the quadratic formula and yet Dev-C++ continues to find a problem with my code. I will post the code I've written: #include<iostream.hpp> #include<math.h> int main() { double root1,root2,a,b,c,root; cout << "Enter the...
  18. W

    How could I script A code to synchronise A Specific File On My Pen Drive?

    I frequently Update file on my memory stick and (foolishly) forget to backup(!) could i script an auto run for when i plug my memory stick in it would sync. specific files. Please reply soon I need Help!
  19. D

    LaTeX Troubleshooting LaTeX Code: \frac{1}{q_{2}} = \frac{A q_{1} + B}{C q_{1} + D}

    I'm having some trouble with LaTex. Here is the LaTex code: \frac{1}{q_{2}} = \frac{A q_{1} + B}{C q_{1} + D} And it should produce this: \frac{1}{q_{2}} = \frac{A q_{1} + B}{C q_{1} + D} Here, it's produced just fine. But in TeXnicCenter, it produces this instead...
  20. rohanprabhu

    Windows Vista source code leaked [humour]

    this was one of the funniest [sort of the only] code-parodies I've ever read:
  21. M

    MATLAB Matlab code to calculate minimum distance

    hey guys, i want to wirte a function which takes as its arguments two lists of co-ordinates (the first is a list of customers and the second for possible switch locations), and determines the index of the best switch location to minimise the amount of cable required. I have done the...
  22. W

    Comp Sci How can I fix my Java program to give accurate change?

    I had to write a java program that will give you the change for whatever random number that program picks. I keep having a problem with the pennies. If have to have more than one penny then program will repeat the output until it gets the pennines right. PLEASE HELP! I am not really good at...
  23. S

    How Do Universal Product Codes Avoid Duplication Globally?

    People are coming up with new products all over the world every day. So how is it that no two products ever have the same Universal Product Code (Bar Code) at the same time? Or do they?
  24. N

    Detect and Correct Errors in Modified Error-Correcting Hamming Code

    A 16-bit word is coded in modified error correcting Hamming code and after that is stored into a cell of the main memory. After some time a program reads the cell and the following word is read into the memory data register: 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 1 1 Perform all...
  25. M

    Cracking the Code of Polyatomic Ions: A Chemistry Student's Guide

    Homework Statement I have discovered that in order to suceed in Chemistry, one must learn the polyatomic Ions. My instructor said the best way is to just memorize them, but here is the thing. Ok I can memorize that peroxide is O2, but memorizing the charges is kicking my behind. I was...
  26. A

    Math operation in assembly code

    hi guys, Im having trouble trying to understand calculations of binary numbers. In pic16f84 i assume that a variable can have a value of 0 to 256. If i wanted to have a value larger than 256 i need to add another variable and count the number of overflow. for example when counta overflow then...
  27. A

    C/C++ Troubleshooting C++ Code for Data Processing in Several Files

    Hi everybody. I'm relatively new to C++ and am having an issue. What I need to do is take in several files and then do some data processing in each of them separately. I've tried to do this several ways and nothing has worked so far. Below is my last attempt. Basically, each file is...
  28. J

    Understanding Huffman Code and Symbol Encoding - Explained Simply

    Huffman code?!? Hi there!:smile: Im having abit of trouble getting my head around this question concerning the Huffman code,the average length of an encoded symbol etc... :confused: the full question is attached!...help would be v. much appreciated!
  29. K

    LaTeX Explaining Texmaker Functions for Code Output

    I'm using texmaker, and i need to explain how to use some of the functions. Therefore i need to be able to write the codes in a way so that the reader can see the codes afterwards. Does anyone know how to do that? Because i can't find a way to do it.
  30. A

    Investigating Unexpected Outputs in C Code

    Hi, I tried to assign inputs to a particular output and I've got some funny results. In this code ive change the value of rpm to into the address of arrays that I've set. The adress correspond to the delay time for spark to occur. Heres my c code : #include <stdio.h> void main()...
  31. H

    C/C++ Code : Binary Search Tree C++

    #include <iostream.h> #include <conio.h> #include <stdio.h> void main() { struct znode // binary search tree node { int data; // data type is integer struct znode * left; // left subtree struct...
  32. M

    Town Changes Phone Code: From 666 to 616

    Apologies for posting a religous story - but it's really human nature or cryptography. A town in the USA has managed to have it's phone code changed from 666 http://news.bbc.co.uk/2/hi/americas/7163767.stm Ironically this comes after the discovery that 666 is a typo and it should be 616 -...
  33. M

    Code for Great Circle: Get Phi1 Theta1 to Phi2 Theta2 on Sphere

    wonder if anyone have stumbled across ready code for http://mathworld.wolfram.com/GreatCircle.html" - i.e., the code to get from phi1 theta1 to phi2 theta2 on sphere.
  34. L

    Can WIMS-D5 be run on Windows XP without the source code?

    Hi there, I have a version of WIMS-D5 code which cannot be run on Windows XP. Also I don't have its source code to recompile it. Anybody has a version of WIMS_D5 which can be run on WinXP? Thanks a lot.
  35. L

    Cryptology and codes vigenere code formula

    http://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher I have comprehended how to make a cod using this method. I understand frequency analysis for the most part. But does anyone know how the formula for decoding a vigenere code work. I have read that part of the wikipedia article many times...
  36. N

    LaTeX Convert latex code to fortran code?

    I have very large equations that I need to solve using numerical techniques. The equations are in latex. From these now I need to form matrix in fortran and then continue the solution procedure in fortran. Can anyone advice how I can do this conversion from latex code to fortran code. The number...
  37. U

    VHDL Code: Testing Equality of Vectors

    Hi all, I have the following code: where checkHR and checkMIN are 8 bit vectors (7 downto 0)... and SECL, SECH, MINL, MINH, HRL, and HRH are all 4 bit vectors (3 downto 0). What I'm trying to do is check to see if the first four bits of checkHR is equal to HRH. Can someone tell me...
  38. O

    Why is My Bitmap Manipulating Code in C Not Storing Data Correctly?

    I am taking a beginners programming course and we have to manipulate a Bitmap image with code in C. Currently I am trying to create a function which reads the Bitmap file, and stores the contents (Width,Height,Palette Info, and Pixel Data) into structs, so that it can be accessed by other...
  39. O

    God the Computer; The Universe's Code

    While learning secondary physics in high school I often used the idea of the entire universe being a computer program to help me better understand how some things (Strong atomic forces, for example) would work by visualizing how I would program them should I need to recreate the same effect in a...
  40. S

    PHP  PHP Syntax Error: Unexpected '>' Character

    <?php require("header.php"); $sql = "select entries. * , categories.cat FROM entries, categories WHERE entries.cat_id = categories.id ORDER BY dateposted DESC LIMIT 1;"; $result = mysql_query($sql); $row = mysql_fetch_assoc($result); echo "<h2><a href='viewentry.php?id=" ...
  41. C

    Why does this code not do what it should

    I can't see what is wrong with this code, but for some reason it doesn't work. It compiles, just doesn't do what it should. for(i=0; i<n; i++) { delx[i] = i/n; } I have defined delx as an array, with n elements, and just want to fill the array with evenly spaced...
  42. P

    Creating an Ethical Code of Conduct for Physics Professionals

    Hello, Even though physics is a professional field practiced by licensed professionals there is no document establishing an ethical code of conduct. For instance, a medical doctor cannot just decide that he wants to use 18th century methods and starts treating his patients with bleeding! But...
  43. U

    MATLAB Matlab code looking good? EE_Signals

    Homework Statement Graph of x(t) = 9e^-2t for t>=0 and y(t) = 4e^(-9*pi*t). Is my MATLAB code correct? I did it by hand and I'm getting a different answer, so I don't know which one is the correct one... if my hand one is correctly done or if the MATLAB one is correct. I'm learning MATLAB on...
  44. U

    MATLAB Matlab Code for Convolution is this right?

    Homework Statement A DT system has the unit response h[n] = (0.2(1.3)^n)u[n]. You then input x[n] = sin(n*pi/2)u[n]. Find the convolution. Homework Equations None. The Attempt at a Solution >> n = 0:30; >> h = 0.2*(1.3).^n; >> x = sin(n*pi/2); >> s = conv(h,x); I left out u[n] because we...
  45. L

    Collision with more than two objects at once in code

    Balls A,B,C,D are traveling at V=1 to the right next to each other like a train they hit ball E whom is stationary. At the exact instant ball F is traveling down and hits A, F is traveling at V=1 but down Here is a diagram this is birds eye view: *=collision both collisions have...
  46. B

    The Debate on Code Simplification: What's the Verdict?

    Some find it alright if it simplifies code, while others deem it absolutely unacceptable. So what's the general consensus regarding their use?
  47. R

    Braille code probabilities homework

    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? now i saw this posted somewhere else, they got 63. don't...
  48. P

    PHP Help with php and this part of the code ?

    Ok here is the code below, I need to know what I need to change in this code for it to be able to be a clickable link... I have many layouts and want to add more but with so many pages, its a bit hard to go through 49 pages just to add one page. I already submitted this problem to web design...
  49. J

    Pulse Code Modulation - Understanding Digital Transmission

    Hi everyone:smile:, This is my question: " Describe the concepts of PCM (Pulse Code Modulation) in a computer keyboard which its data are in digital format." This is my justification: How to describe the concepts of PCM ? Isn't PCM a technique used to transmit analog signals in digital...
Back
Top