Create string that stores DNA sequence in your code

Assignment Help Basic Computer Science
Reference no: EM132904058

1. Write a program that produces the following text (exactly as is) to the screen - using the print function:

What is the difference between

a ' and a "? Or between a " and a \"?

One is what we see when we're typing our program.

The other is what appears on the "console."

Take snap shots of your program and output.

2. Let us perform transcription! Write a program that transcribes DNA to RNA. Create a string that stores a DNA sequence in your code, and then replace all the T's with U's. Display to the screen the DNA and the RNA sequences. Take snap shots to show your work.

3. Write a program that calculates the AT and GC content (i.e. the percentage of G and C, and the percentage of A and T) in a given sequence. You can make up your own dummy sequence and store it in text file (use something like Notepad, not word!). Your program should read in the sequence from the file and calculate the GC and AT content.

Print out the results to a file called DNA_Statistics.txt, the result should look something like this:

The GC content of the DNA sequence given is: 48.5%

The AT content of the DNA sequence given is: 51.5%

Reference no: EM132904058

Questions Cloud

Show the balance sheet and an income statement : Based on the projected revenue growth of 15 per cent, show the balance sheet and an income statement for the 2021-22 financial year.
Effects of an increase in the minimum wage : What effect will this wage increase have on those who live in Louisville specifically and what effect will this have on those who live in Indiana
What is amount of revenue recognized by paradise beverages : What is the amount of revenue recognized by Paradise Beverages for January 2021? Paradise Beverages sold 200 cartons of beer on account at $50 per carton.
How many performance obligations can identify : How many performance obligations can identify and what is the transaction price? Due to COVID-19, the hotel industry prices are slashed to almost half.
Create string that stores DNA sequence in your code : Write a program that transcribes DNA to RNA. Create a string that stores a DNA sequence in your code, and then replace all the T's with U's.
Identifying and analyzing existing and needed knowledge : Identifying and analyzing existing and needed knowledge, as well as preparing and controlling efforts to improve knowledge assets in order
What amount is allocated to the hotel room in the case : What amount is allocated to the Hotel room in the case? Shangri-la Resort recently advertised a package deal for $250 per night for couple (breakfast included).
By what amount should debit inventory : Paradise Beverages sold 200 cartons of beer on account at $50 per carton on 15th January 2021. By what amount should debit inventory?
What is the revenue fletcher steel company should recognize : What is the revenue Fletcher steel company should recognize in year 2? Fletcher steel company is constructing a bridge at a fixed price of $15 million

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd