Question

***** PSEUDOCODE PLEASE****** ***** PSUDOCODE PLEASE****** Program 0 (Warm-up): Deoxyribonucleic acid, or DNA, is comprised of...

***** PSEUDOCODE PLEASE******

***** PSUDOCODE PLEASE******

Program 0 (Warm-up): Deoxyribonucleic acid, or DNA, is comprised of four bases: (G)uanine, (C)ytosine, (A)denine and (T)hymine.  Ribonucleic acid, or RNA, is different than DNA in that it contains no Thymine; thymine is replaced with something called (U)racil.  For this assignment, you will create an array of 255 characters.  You must start by filling the array with random characters of G, C, A and T.   You must then print out the array.  Next, replace all the instances of Thymine with Uracil.  Finally, you must print out the array again.  In your solution, you must write at least one function that contributes to the solution.  You must use the length attribute of the array in your answer.

***** PSUDOCODE PLEASE******

***** PSUDOCODE PLEASE******

Program 1 ( ): Find the Rabbit!  For this assignment, you will write a program that asks the user to find a rabbit in one of 10 holes (0-9).  The holes and guesses are visualized on the screen (as shown below), but as the user guesses, you should not show where the rabbit is hidden.  The rabbit is assigned a random hole each time the program is run.  You must write and use at least two functions for this question (maybe printing as one?).  Further, you should actually use the array to solve this problem (i.e. not “hack your way” through it).   Design (pseudocode) and implement (source code) this program.  Extra credit (5 pts): if the user guesses the correct hole, show the rabbit with the letter ‘R’.

***** PSUDOCODE PLEASE******

***** PSUDOCODE PLEASE******

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The answer is written in pseudocode and contains comments, in case any further clarifications are needed please comment. Thankyou.

ge °20 =4) [e 0,1,2,37 - PROGRAM-0 funelion araign dwal array, 255); Start: 11 a furelion to generate . the ODNA counter to s

stop function main (): start; array [278] < deelare array of size 265 care asign Dwa (array, 255) ہے while Cu< 255): Il print

PROGRAMI furelion initialize Array (array, size): start- Il ceinitialises the array with all ico I value as o while (cis dize

function guess Rabbit (array) : start: guessilsu & Cleer input from keyboard guess N e keeps track of how many guesses o are

function main (): start: array (10) e defines array of size Il canitializes all holes as O. unitialize Array Carray, 0) Il th

Add a comment
Know the answer?
Add Answer to:
***** PSEUDOCODE PLEASE****** ***** PSUDOCODE PLEASE****** Program 0 (Warm-up): Deoxyribonucleic acid, or DNA, is comprised of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Java source code ? Arrays Program 0 (Warm-up. 40 pts): Deoxyribonucleic acid, or DNA, is comprised...

    Java source code ? Arrays Program 0 (Warm-up. 40 pts): Deoxyribonucleic acid, or DNA, is comprised of four bases: (G)uanine, (C)ytosine, (A)denine and (T)hymine. Ribonucleic acid, or RNA, is different than DNA in that it contains no Thymine; thymine is replaced with something called (U)racil. For this assignment, you will create an array of 255 characters. You must start by filling the array with random characters of G, C, A and T. You must then print out the array. Next,...

  • PSEUDOCODE AND JAVA SOURCE CODE PLEASE: Program 1 (60 pts): Find the Rabbit! For this assignment,...

    PSEUDOCODE AND JAVA SOURCE CODE PLEASE: Program 1 (60 pts): Find the Rabbit! For this assignment, you will write a program that asks the user to find a rabbit in one of 10 holes (0-9). The holes and guesses are visualized on the screen (as shown below), but as the user guesses, you should not show where the rabbit is hidden. The rabbit is assigned a random hole each time the program is run. You must write and use at...

  • The deoxyribonucleic acid (DNA) is a molecule that contains the genetic instructions required for the development...

    The deoxyribonucleic acid (DNA) is a molecule that contains the genetic instructions required for the development and functioning of all known living organisms. The basic double-helix structure of the DNA was co-discovered by Prof. Francis Crick, a long-time faculty member at UCSD 0 The DNA molecule consists of a long sequence of four nucleotide bases: adenine (A), cytosine (C), gua- nine (G) and thymine (T). Since this molecule contains all the genetic information of a living organism, geneticists are interested...

  • For this assignment, you will write a program that guesses a number chosen by your user....

    For this assignment, you will write a program that guesses a number chosen by your user. Your program will prompt the user to pick a number from 1 to 10. The program asks the user yes or no questions, and the guesses the user’s number. When the program starts up, it outputs a prompt asking the user to guess a number from 1 to 10. It then proceeds to ask a series of questions requiring a yes or no answer....

  • C++ with Pseudocode in the beginning This assignment will require you to write a program that...

    C++ with Pseudocode in the beginning This assignment will require you to write a program that will create an array of 10 string objects. The array will be initialized with the strings which contain the person’s name and phone number in one string. The following is an example of test data: “Renee Javens, 678-1223”, “Joe Looney, 586-0097”, “Geri Palmer, 223-8787”, “Lynn Presnell, 887-1212”, “Bill Wolfe, 223-8878”, “Sam Wiggins, 486-0998”, “Bob Kain, 586-8712”, “Tim Haynes, 586-7676”, “John Johnson, 223-9037”, “Jean James,...

  • Hello! we are using Python to write this program. we are supposed to use loops in...

    Hello! we are using Python to write this program. we are supposed to use loops in this assignment. I would greatly appreciate the help! Thank you! Write a program that allows the user to play a guessing game. The game will choose a "secret number", a positive integer less than 10000. The user has 10 tries to guess the number. Requirements: we would have the program select a random number as the "secret number". However, for the purpose of testing...

  • Please help with this Intro to programming in C assignment! Intro to Programming in C-Large Program...

    Please help with this Intro to programming in C assignment! Intro to Programming in C-Large Program 3 - Hangman Game Assignment purpose: User defined functions, character arrays, c style string member functions Write an interactive program that will allow a user to play the game of Hangman. You will need to: e You will use four character arrays: o one for the word to be guessed (solution) o one for the word in progress (starword) o one for all of...

  • Overview In this exercise you are going to recreate the classic game of hangman. Your program...

    Overview In this exercise you are going to recreate the classic game of hangman. Your program will randomly pick from a pool of words for the user who will guess letters in order to figure out the word. The user will have a limited number of wrong guesses to complete the puzzle or lose the round. Though if the user answers before running out of wrong answers, they win. Requirements Rules The program will use 10 to 15 words as...

  • Requirement Write pseudocode and translate it to ONE C-program for each the following problems. In your...

    Requirement Write pseudocode and translate it to ONE C-program for each the following problems. In your pseudocode and C-program, use only what you have learned in this class so far. (Menu) Design a menu for question 2 and 3. So far, you use one program to solve all lab questions. But some of you may feel awkward when you want to demo/test only one lab question. To overcome that, your program should show a menu so that the users of...

  • Write a C program to do the following: 1. Write a C function named find that...

    Write a C program to do the following: 1. Write a C function named find that receives a one-dimensional array of type character named arr and its size of type integer. After that, the function must select a random index from the array. The function must find if the character stored in the randomly selected index comes before all the characters to its left alphabetically. Finally, the function prints to the screen the element if the element meets the condition...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT