Question

 

1. Code structure Pseudo code instructions, with comments for a recursive algorithm which will take a string from a small set of words as input and return the string in Larrakia.

Eg: Input: “I name water” Output: “Ngana ya kara”

 

2. Big O complexcity for below

  1. f(n)  =  30 + 2n^4 - 20n^2 + n

 

 

  1. f(n)  =  7n^5/7 + 2n

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Engineering

Programing

Related Computer Engineering Q&A

Find answers to questions asked by students like you.

Q: Provide the type, assembly language instruction, and binary representation of instruction described ...

A:    Here the given elements are: op->(operation code or opcode) =0 rs-> first source register n...

Q: Study the following program and then answer the questions below   A: What is the output of this prog...

A: Given program: #include <iostream> using namespace std; int main() {   int counter, first, las...

Q: Why would a systems programmer create a back door if he or she has access to the program in his or h...

A: A back door would be created by a systems programmer even though if he or she has access to the prog...

Q: In our discussion of the SSTF disk scheduling algorithm, we stated that the problem of starvation “i...

A: The Shortest Seek Time First (SSTF) is a disk-scheduling algorithm that operates with the concept of...

Q: What keyword can be specified within a boot loader to force the system to boot to SingleUser Mode?a....

A: Single User Mode: Single user mode provides root access without the need for the root password. The...

Q: Can anyone help me with this problem ? It is C programming    Thank you a lot

A: Program code: #include <stdio.h> int main(void) { int num=0; printf("\nnumber\t\tsquare\t\tcu...

Q: write aC++ program list of drinks and their prices using indicators?

A: List of Drinks Drinks are liquids that can be consumed. In a commercial setting, drinks, other than ...

Q: How would you use SQL to change a table’s structure? What general types of changesare possible? Whic...

A: Introduction of SQL SQL stands for the structured query language. It is a database query language us...

Q: Question # 12: Write a program to check whether a number entered by a user is prime number, even num...

A: Note: Below is the required program in the C++ language. Programming Approach: Using necessary head...

Q: Outdoor Tools sells a line of high quality wood-working tools online, to the public. When customers ...

A: Context diagram: A context diagram is said to be the least detailed data flow diagram, which will p...

Q: What is the acronym for computer output that is written directly to optical media rather than paper ...

A: Acronym for computer output Computer Output to Laser Disk is a computer output that is directly wri...

Q: A computer system has a main memory consisting of 2M 32-bit words. It also has an8K-word cache organ...

A: We have,Main Memory size = 2M wordsAddress bits = log22M                     = log2221              ...

Q: Given the scenario and requirements in Problem 2, answer the following questions:a. What recommendat...

A: NOTE: - Hey, the problem contains multiple parts, as per the guidelines I will solve only the first ...

Q: SAP PS- Project Builder In project, P/9000 which WBS element has the highest number of activities? S...

A: Step 1:- Introduction:- SAP PS:-PS stands for Project System which is one of the key modules of SAP....

Q: Write a C++ code for the problem below.  Problem: Write a class called profileID, which has data me...

A: A required C++ program is as follows, File name: “main.cpp” #include <iostream> #include<st...

Q: Identify how modern network applications can handle multiple concurrent connections at the same time...

A: Opening several persistent TCP or Transport Control Protocol connections is popular for connected-we...

Q: Create a four-function calculator for fractions by using following formulas: a) Multiplication: a/b ...

A: Note: Programming language is missing in the question. So we will answer this program in C++ languag...

Q: Hello,  I'm working on a lab and trying to execute the following code below but keep receiveing an "...

A: EXPLANATION: In some languages like C, Java, C++ uses indentation to looks the program pretty and e...

Q: A shopkeeper offers10% discount on the printed price of a mobile phone.how ever the customer pays 9%...

A: PROGRAM: #Getting the price of the mobile phone amount=float(input("Enter the printed price of a mob...

Q: Change the check digit to make the following a valid UPC number 1 37849 89420

A: Explanation: Universal Product Code(UPC) is used to identify a particular product. These are printe...

Q: The simplified expression for (A+A.B'+A.B'.C'+A.B'.C+C'.B.A) is equal to АВ BC'

A: The simplified expression for A+A.B'+A.B'.C'+A.B'.C+C'.B.A is equal to A.  

Q: What is the output of this program? #include int main() { char str[5]= "ABC"; cout << str[3]: cout ...

A: The character array str is defined as having "ABC" as the value with which it is initialized. The ou...

Q: Please check the image and answer quickly. Thanks

A: Step 1:- In the question, a function prototype is given that why I am using c language here. The fun...

Q: Write a c++ Program which: a) Take number of column and rows of two matrices from user.b) Take eleme...

A: Program: #include&lt;iostream&gt; using namespace std;   int main(){     int row1, col1,row2,col2,ma...

Q: Perform the following base conversions using subtraction ordivision-remainder:1. a) 458 = _________3...

A: (a) Converting 458 base 10 to base 3 using subtraction method: Step 1: Check the possibility of m...

Q: Write a MARIE program to allow the user to input eight integers (positive, negative, or zero) and th...

A: First, input all the numbers and store them from A to H. Then start comparing and store the highest ...

Q: What are the differences between do..while statement and for statement in C? Give examples to show w...

A: Looping statements in C language : The loop contains a set of the statement(s) and it executes the s...

Q: Give three reasons which constitute the prime motivation for layering in computer networks. Howis vi...

A: Using layering in computer networks Layering provides flexibility for modifying and developing netw...

Q: Write a program to prompt for inputting an integer N, then enter N integers (a loop is needed), prin...

A: Click to see the answer

Q: Please program must be done on python for beginners with step by step explanation.

A: Objective: This program should receive user input for the number of lines to display a pattern. The ...

Q: Describe how sequence files may be analyzed by computer programs.

A: Explanation: Sequence files contains the information in binary format that is the data are stored i...

Q: Write a program that prompts for an integer N, and allows the user to enter the last names of N cand...

A: PROGRAM: //Adding the required header file import java.util.Scanner;   //Defining the class class Ma...

Q: Add one to the inverted bits of a binary integer number and you will get its absolute value. twos co...

A: Adding one to the inverted bits of a binary integer number Two's complement is the way computer cho...

Q: Describe seven general access rights that can be assigned to a user for a file in a multi-user envir...

A: Access control is an important concept in a multi-user environment. The Important files are stored a...

Q: Answer the questions considering the following case - Best-East University is at present in need of ...

A: INTRODUCTION ABOUT ER DIAGRAM: An Entity–relationship model (ER model) depicts the structure of an i...

Q: Program has to be on python for beginners

A: Program approach: Declare basic price. Declare basic price for Frederick. Declare senior citizens d...

Q: How can I get the codes for this problem by using GNU Octave?

A: Matlab: Matlab is a mathematical scripting language that is used to write matrix manipulations, adv...

Q: Given the radius, in inches, and price of a pizza, design an algorithm to find and display the price...

A: Introduction to Algorithm In Computer Science, an Algorithm is a finite sequence of well defined, co...

Q: A) Write a program that inputs temperature and display a message according to the following data: Te...

A: Program: #include &lt;iostream&gt; using namespace std; int main() {   float temp;     cout &lt;&lt;...

Q: Please answer (a)  with all the subparts

A: The depth-first search is a recursive algorithm and also uses the idea of Backtracking. This does se...

Q: x=99; if (x++ < 100) cout <<" it's true \n "; else cout < <" it's false ";

A: Answer is : it's true

Q: 1. Answer the following question.

A: Bipartite Graph: Suppose a given graph has a set of vertices with given connections among them. If w...