Sha256: d1c77bdb5a2fa36c9e14101650087d037edb28b50d7ee0951c287043591fde9c

Contents?: true

Size: 1.79 KB

Versions: 59

Compression:

Stored size: 1.79 KB

Contents

# RNA Transcription

Given a DNA strand, return its RNA complement (per RNA transcription).

Both DNA and RNA strands are a sequence of nucleotides.

The four nucleotides found in DNA are adenine (**A**), cytosine (**C**),
guanine (**G**) and thymine (**T**).

The four nucleotides found in RNA are adenine (**A**), cytosine (**C**),
guanine (**G**) and uracil (**U**).

Given a DNA strand, its transcribed RNA strand is formed by replacing
each nucleotide with its complement:

* `G` -> `C`
* `C` -> `G`
* `T` -> `A`
* `A` -> `U`

## Getting Started

Make sure you have read the
[C page](http://exercism.io/languages/c) on the Exercism site. This covers
the basic information on setting up the development environment expected
by the exercises.


## Passing the Tests

Get the first test compiling, linking and passing by following the [three
rules of test-driven development][3-tdd-rules].

The included makefile can be used to create and run the tests using the `test`
task.

    make test

Create just the functions you need to satisfy any compiler errors and get the
test to fail. Then write just enough code to get the test to pass. Once you've
done that, move onto the next test.

[3-tdd-rules]: http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd

As you progress through the tests, take the time to refactor your
implementation for readability and expressiveness and then go on to the next
test.

Try to use standard C99 facilities in preference to writing your own
low-level algorithms or facilities by hand.

## Source

Hyperphysics [http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html](http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
trackler-2.2.1.164 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.163 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.162 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.161 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.160 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.159 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.158 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.157 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.156 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.155 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.154 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.153 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.152 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.151 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.150 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.149 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.148 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.147 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.146 tracks/c/exercises/rna-transcription/README.md
trackler-2.2.1.145 tracks/c/exercises/rna-transcription/README.md