Background All life on this planet is derived from deoxyribonucleic acid (DNA). DNA is made up from four different nucleotide bases: Adenine (A) Thymine (T) Guanine (G) Cytocine (C) In an elegant cellular dance called transcription, your cells create molecules of messenger RNA (ribonucleic acid) that reflect the sequence of nucleotides in your DNA. The purpose of RNA is to create proteins that will perform many functions that keep our bodies going every minute of our lives. Task Create a program that will do the following: 1. Prompt the user for a sequence of DNA (capital As, Ts, Cs, Gs) as well as cellular "garbage" (characters other than A, T, C, G). Note that each character is an element in an array. The DNA sequence is to be stored in an array of 10 characters in length 2. Transcribe the DNA to create the RNA. Transcription follows the following pattern: A transcribes to U C transcribes to G G transcribes to C T transcribes to A Any other character in the DNA should NOT be transcribed The RNA sequence generated should be stored in its own array of 10 characters in length 3. Output both the DNA and the RNA that would be produced. Make sure you properly identify each sequence. Test Cases You should use the following to check that your program works correctly. 1. A CGT TG O A A T 2. T CA G CAT G G C 3. GAT TACA G C C 4. G CT A # 2 3. 4: A

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter6: Computing Components: Processors, Memory, The Cloud, And More
Section: Chapter Questions
Problem 16SG
icon
Related questions
Question
C++ Please use #include And also include a character array
Background
All life on this planet is derived from deoxyribonucleic acid (DNA). DNA is made up from four different
nucleotide bases:
Adenine (A)
Thymine (T)
Guanine (G)
Cytocine (C)
In an elegant cellular dance called transcription, your cells create molecules of messenger RNA
(ribonucleic acid) that reflect the sequence of nucleotides in your DNA. The purpose of RNA is to
create proteins that will perform many functions that keep our bodies going every minute of our lives.
Task
Create a program that will do the following:
1. Prompt the user for a sequence of DNA (capital As, Ts, Cs, Gs) as well as cellular "garbage"
(characters other than A, T, C, G).
Note that each character is an element in an array.
The DNA sequence is to be stored in an array of 10 characters in length
2. Transcribe the DNA to create the RNA. Transcription follows the following pattern:
A transcribes to U
C transcribes to G
G transcribes to C
T transcribes to A
• Any other character in the DNA should NOT be transcribed
The RNA sequence generated should be stored in its own array of 10 characters in
length
3. Output both the DNA and the RNA that would be produced. Make sure you properly identify
each sequence.
Test Cases
You should use the following to check that your program works correctly.
1. A CG TT G C A A T
2. T CA G CAT G G C
3. G AT TA CA G C C
4. G C T A # 2 3
4 :
A
Transcribed Image Text:Background All life on this planet is derived from deoxyribonucleic acid (DNA). DNA is made up from four different nucleotide bases: Adenine (A) Thymine (T) Guanine (G) Cytocine (C) In an elegant cellular dance called transcription, your cells create molecules of messenger RNA (ribonucleic acid) that reflect the sequence of nucleotides in your DNA. The purpose of RNA is to create proteins that will perform many functions that keep our bodies going every minute of our lives. Task Create a program that will do the following: 1. Prompt the user for a sequence of DNA (capital As, Ts, Cs, Gs) as well as cellular "garbage" (characters other than A, T, C, G). Note that each character is an element in an array. The DNA sequence is to be stored in an array of 10 characters in length 2. Transcribe the DNA to create the RNA. Transcription follows the following pattern: A transcribes to U C transcribes to G G transcribes to C T transcribes to A • Any other character in the DNA should NOT be transcribed The RNA sequence generated should be stored in its own array of 10 characters in length 3. Output both the DNA and the RNA that would be produced. Make sure you properly identify each sequence. Test Cases You should use the following to check that your program works correctly. 1. A CG TT G C A A T 2. T CA G CAT G G C 3. G AT TA CA G C C 4. G C T A # 2 3 4 : A
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning