NEED HELP, Whenever I Try And Submit My Code To The Automatic Marking System
NEED HELP, Whenever i try and submit my code to the automatic marking system i keep getting this error: Please have a look at my C# code and try and fix. The Question is in Requirements BELOW: MY CODE: using System; using System.Collections.Generic; using System.Text; class Sequence { /*Method is used to find all the possible * substrings of length k from DNA sequence*/ public static string[] Kmers_method(int k, string DNA) { //create List to strore substrings List Kmers = new List(); //find length of the DNA sequence int n = DNA.Length; //find all substrings of length k for (int i = 0; i -1; i–) {//completement the each char in reverse order switch (DNA[i]) { case ‘A’: reverse_str.Append(‘T’); break; case ‘T’: reverse_str.Append(‘A’); break; case ‘G’: reverse_str.Append(‘C’); break; case ‘C’: reverse_str.Append(‘G’); break; } } //assign reversed styring to original DNA DNA = reverse_str.ToString(); } /*This method, Dyad, must take the following parameters: * DNA sequence * optinal integer for minimum */ public static bool Dyad_method(string DNA, int minimum = 5) { //find length of the DNA sequence int n = DNA.Length; //find DNA upstream length int str_len = (n – minimum) / 2; //get substring var strDNA = DNA.Substring(0, str_len); ReverseComplement(ref strDNA); if (strDNA.Equals(DNA.Substring(n – str_len, str_len))) return true; else return false; } static void Main(string[] args) { //Declare DNA sequence as string string DNA = “AGATCGAGTG”; //call method kmers_method string[] Kmers = Kmers_method(3, DNA); Console.WriteLine(“Output for Kmers:”); Console.WriteLine(“orginal DNA sequence: ” DNA); //display all substrings foreach (string i in Kmers) { Console.Write(i ” “); } //for next line Console.WriteLine(); //ReverseComplement method DNA = “AAGCT “; Console.WriteLine(“nnOutput for Reverse Complement:”); Console.WriteLine(“orginal DNA sequence: ” DNA); ReverseComplement(ref DNA); Console.WriteLine(“Reverse Complemented DNA sequence: ” DNA); //Dyad method DNA = “TTACGnnnnnnCGTAA”; Console.WriteLine(“nnOutput for Dyad:”); Console.WriteLine(“orginal DNA sequence: ” DNA); if (Dyad_method(DNA, 6)) Console.WriteLine(“The sequence exhibits Dyad symmetry”); else Console.WriteLine(“The sequence exhibits not Dyad symmetry”); //press enter to exit Console.ReadKey(); } } THE ERROR I AM GETTING: —————— | Make error text: | —————— make: *** [makefile:14: Sequence] Error 1 ————– | Make output: | ————– csc /main:CAB201_AMSTestDriver.TestDriver /out:Sequence.exe C:/Common/Driver.cs *.cs Microsoft (R) Visual C# Compiler version 2.2.0.61624 Copyright (C) Microsoft Corporation. All rights reserved. test.cs(291,46): error CS0117: ‘Sequence’ does not contain a definition for ‘Dyad’ test.cs(307,46): error CS0117: ‘Sequence’ does not contain a definition for ‘Dyad’ test.cs(324,46): error CS0117: ‘Sequence’ does not contain a definition for ‘Dyad’ test.cs(340,46): error CS0117: ‘Sequence’ does not contain a definition for ‘Dyad’ test.cs(356,46): error CS0117: ‘Sequence’ does not contain a definition for ‘Dyad’ test.cs(143,26): error CS0117: ‘Sequence’ does not contain a definition for ‘Kmers’ test.cs(155,26): error CS0117: ‘Sequence’ does not contain a definition for ‘Kmers’ test.cs(167,26): error CS0117: ‘Sequence’ does not contain a definition for ‘Kmers’ test.cs(179,26): error CS0117: ‘Sequence’ does not contain a definition for ‘Kmers’ test.cs(191,26): error CS0117: ‘Sequence’ does not contain a definition for ‘Kmers’
What Is Core Scaling In Cloud Computing And What Is Its Significance In Processors
What is core scaling in cloud computing and What is its significance in processors functioning for modern computing demand
C Programming This Assignment Will Give Opportunity To Demonstrate Understanding Of The Basic Principles
C Programming This assignment will give opportunity to demonstrate understanding of the basic principles of inheritance in Object Oriented Programming. Create the code for two classes. One class will be the base class for the second, derived class. Then you will write a test program that will demonstrate the relationship between the base class and the derived class. The classes you select for the base and derived classes will have a true inheritance (“is a”) relationship. The code you write does not need to be complicated. simpler is better. Each class should have at least one constructor and data fields, accessors, and mutators as necessary. Public and Private access will be used appropriately. You do not need to use the Protected accessibility keyword. The derived class will be more specific than the base class. That is, it will include data fields and functions that the base class does not contain. The code you use in the test program to demonstrate the relationship between the two classes will do so by creating an object of the derived class and using that object to call at least one function inherited from the base class and one function from the derived class. You will produce five C programs as follows; definition and implementation files for both the base and derived classes and the Test.cpp program. The class programs will be named for the objects they instantiate, for example Circle.h or Cat.cpp. Please type code and include screenshots of output of the code. Also code must be well commented.
This Is The Full Code With The Dataset And The Error I Had…
this is the full code with the dataset and the error i had…
Explain About RDBMS. Include Advantages/ Disadvantages. Compare DBMS Vs RDBMS. Explain About Oracle As
Explain about RDBMS. Include advantages/ disadvantages. Compare DBMS vs RDBMS. Explain about Oracle as well. ( Do not copy-paste. please paraphrase) Donot close the question. submit whatever you know along with the topic. this is part of my presentation so that I can Include them as each slide)
IN C# – C-sharp For This Activity, You Will Be Creating The Start Of
IN C# – C-sharp For this activity, you will be creating the start of a card game managing application. The exact game or theme is completely up to your creative mind, or feel free to use a pre-existing game (e.g. Go-Fish, Crazy-Eights, Uno, etc…). The program will feature a dealer and unlimited players. The dealer manages the player’s at the table, the deck of cards, and the dealing of cards to the players. The user creates the cards for the deck, and issues commands to the dealer. Use the following guidelines, with the principles of OOP and structure
What Are Armstrong’s Axioms? Describe Each And Give Examples. Do Not Copy-paste. Do Not
What are Armstrong’s Axioms? Describe each and give examples. Do not copy-paste. Do not close the question, please.
(a) To The Nearest Whole Number, Calculate The Best Upper Bound For M =
(a) To the nearest whole number, calculate the best upper bound for M = A5(6,5) as determined by the Hamming Bound. (b) Show that there exists a 7-ary (8,M,4)-code, where M > 200. To the nearest whole number, calculate the best lower bound for M = A7(8,4) as determined by the Sphere Covering Bound. (c) To the nearest whole number, calculate the best lower bound for M = A11(9,7) as determined by the Gilbert-Varshamov Bound. (d) The General Plotkin bound tells us that A5(11,9) is at most as large as _________________.
For A Given Program, 98% Of Its Code Is Parallelisable. If This Program Is
For a given program, 98% of its code is parallelisable. If this program is executed on a multi-processor system and runs at the same speed on all processors without addational overheads, what is the parallel speed-up on: a) 1) 10 cores. 2)100 cores. 3) 10,000 cores. b) If the serial-part is reduced to 0.2%. what is the parallel speed-up on 10,000 cores c) Discuss why the speedup exhibits the behaviour shown with the help of graph
A Company Wants You To Create A Program To Manage Records And Do Analysis
A company wants you to create a program to manage records and do analysis regarding projects. The company stores all information in a file as follows: The PROJECT file contains project characteristics such as the project name and project code. The EMPLOYEE file contains the employee names, phone number, address, etc. The JOB file contains the billing charge per hour for each of the job types – a biological engineer, a computer technician, and electrical engineer would generate different billing charges per hour. The CHARGE file would be used to keep track of the number of hours by job type that will be billed for each employee who worked on the project. Requirements 1. This problem must be solved using structures and arrays. Create the struct for each file. In the driver program, read the files into the respective arrays. The analysis should happen through these arrays. 2. Your program should do the following: Read the data file and store details in arrays. Create a menu for the user that can do the following: o Exit program o Display all projects handled by the company o Display Employee ID, Employee Name, Job Description and Total amount earned by each employee. Amount can be calculated using CHG_HOURS and JOB_CHARGE PROJ_CODE JOB_CODE EMP_ID CHG_HOURS(Charge.txt) 1 CT 105 16.20 1 CT 110 14.30 1 EE 101 13.30 2 BE 108 17.50 2 EE 101 19.80 3 CT 105 23.40 3 CT 110 11.60 Employee.txt: EMP_ID EMP_LNAME EMP_FNAME EMP_INITIAL EMP_AREA_CODE EMP_PHONE 101 Newson John D 653 234-3245 105 Schwann David F 653 234-1123 108 Sattlemeier June H 905 554-7812 110 Ramoras Anne R 615 233-5568 Job.txt: JOB_CODE JOB_DESCRIPTION JOB_CHARGE BE BiologicalEngineer 55.00 CT ComputerTechnician 62.00 EE ElectricalEngineer 65.00 Project.txt: PROJ_CODE PROJ_NAME 1 Hurricane 2 Coast 3 Satellite IN Dev C PROGRAMMING LANGUAGE The output should allow users to enter choices upon which choices from menu bar must be displayed eg : ………………….(1)…………..Exit the program…………………………………………. ………………….(2)………….Display project txt file …………………………………. ………………….(3)………….Display change.txt file ………………………………… ………………….(4) …………calculate total of all ……………………………………… ………………….(5)…….display all files with respective totals …………………… need coding in Dev C im using Dev-C 5.11 i want the coding to be done in Dev C
NO Plagiarism, Please. Must Be In Your Own Words. What Is The Most Important
NO Plagiarism, please. Must be in your own words. What is the most important concept in security and architecture design?
Please, No Plagiarism. Share A Personal Connection That Identifies Specific Knowledge And Theories In
Please, no plagiarism. Share a personal connection that identifies specific knowledge and theories in security. Demonstrate a connection to your current work environment.
Antonio Masoud In The Parts Department Uses A Desktop Computer (called PARTS1) That Runs
Antonio Masoud in the Parts Department uses a desktop computer (called PARTS1) that runs Windows 10. He saves data on a file named Parts-Info.xlsx which needs to be accessed by Randy Carter the manager. Randy uses a computer (called PC_MANAGER) which has Windows 10 installed. He also maintains a word file called ‘Announcement.docx’ which he wants to share with all employees at Awesome Auto Parts. Anita Igris and Katarina Kopff work in the Sales Department. They each have a POS machine that has FreeBSD installed. We call them POSBSD1 and POSBSD2. Each of these generate a file POS1.csv and POS2.csv respectively that need to be read by Randy. Presently, the computers at Awesome Auto Parts are not networked. They use USB sticks to copy and transfer the data which has become cumbersome. Nate has asked you to clearly specify a solution to Awesome Auto Parts. You are encouraged to test your design by configuring it on a virtual environment (i.e. VirtualBox environment). You need to clearly explain how your solution is implemented/configured and also used by employees of Awesome Auto Parts.
What Is The Peak Computing Speed Of A Supercomputer That Is Comprised Of 104
What is the peak computing speed of a supercomputer that is comprised of 104 racks, each of which contains 32 node boards, each of which contains 16 compute cards, each of which contains 2 chips, each of which contains 2 processors, each of which runs at 2.8 Gflop/s? Give your best estimate in unit of Tflop/s ______. Select one: a. 1192 Tflop/s b. None of them c. 298 Tflop/s d. 596 Tflop/s
Let Us Define A Word To Be A Maximal Nonempty Sequence Of Alphanumeric Characters
Let us define a word to be a maximal nonempty sequence of alphanumeric characters and underscores (i.e. matching BRE [[:alnum:]_]{1,}). Consider the word to name a variable (function, type, etc.) in a programming language. We say that the word is in camel case if the subwords are introduced with an upper case letter (such as MyVerySpecialVariable). The word can start with an upper case character (UpperCamelCase) or a lower case character (lowerCamelCase). For simplicity, we assume underscores are not present in camel case. Another common naming style is snake case which are in lower case only and subwords are separated with underscores (such as my_very_special_variable, snake_case). Your task is to write two scripts which translate one style to another (camel2snake and snake2camel). In particular the scripts work as filters, i.e. they read the standard input and write to the standard output. 1. Script camel2snake translate all words which are in UpperCamelCase or lowerCamelCase are translated to snake case (words containing underscores are left untouched). 2. On the other hand script snake2camel translate every word in snake case into camel case. Default is UpperCamelCase. If option -l is present, then it translates into lowerCamelCase. Words not in snake case are left untouched (those containing capital characters). Please help, thank you!
7. [10] Write A Java Program On Standard Deviation For Sample Sets Of Data-points.
7. [10] Write a Java program on standard deviation for sample sets of data-points. This is different from standard deviation for a population; the difference is in step 5. Step 1: Calculate the mean of the data. Step 2: Subtract the mean from each data point. These differences are called deviations. Step 3: Square each deviation to make it positive. Step 4: Add the squared deviations together. Step 5: Divide the sum by one less than the number of data points in the sample. The result is called the variance. Step 6: Take the square root of the variance to get the standard deviation. Users should be able to enter the data-points interactively. Your program should display Mean, Standard De0v [viation and any other aspects of your choice. Upload your program in the blackboard course-shell and provide the following answers here:
Which Of The Following Can Be Returned From A Java Method (or Function)? Any
Which of the following can be returned from a Java method (or function)? Any primitive type Any class 1-dimensional array Any integer (int) All of the above f) a
Embedded Systems Design With Platform FPGAs By Andrew G. P6.2. Draw The Interface Between
Embedded Systems Design with Platform FPGAs by Andrew G. P6.2. Draw the interface between two components where one is producing data and the second is consuming data. Be sure to follow the Kahn ProcessNetwork model.
This Is A Unix Homework With Bash Script. Write A Script Which Receives Number
This is a unix homework with bash script. Write a script which receives number of seconds sec, a program name prg followed by its arguments. The script runs program prg with its arguments and then waits for it to finish. If the program does not finish within sec seconds, the script sends signal TERM to prg. If after at most another 5 seconds the program still does not finished, the script kills it by sending signal KILL to it. Do NOT use timeout command. here is my attempt with timeout but what I need is something that has the functionality like that of timeout (using logic and codes) #!/bin/sh x=$(($1 5)) timeout -k $x $1 prg -w
Write Program In C To Draw A Hollow Isosceles Triangle Of Height H. Input
Write program in C to draw a hollow isosceles triangle of height h. Input h from keyboard. Eg: Input h=4 * * * * * * * * * * * *
Write Program In C To Draw A Hollow Isosceles Triangle Of Height H. Input
Write program in C to draw a hollow isosceles triangle of height h. Input h from keyboard. Eg: Input h=4
The post NEED HELP, Whenever I Try And Submit My Code To The Automatic Marking System appeared first on Smashing Essays.