Write a in C++ Using take while loop from your entered will that पन्ीिनति in string anay input and user check that ज्कूहन्त contain prog Yam the string
Q: What further quandaries do you see emerging when modern technology and/or the epidemic continue to a...
A: Introduction: The Innovators Dilemma is perhaps the most important book on how innovation occurs, an...
Q: # Python question describe two (or three) motivations for using functions in your programs.
A: answer is
Q: Which of the following are true regarding signal processing in C. The list of supported signal...
A: SIGKILL and SIGSTOP are two signals that cannot be captured and handled.
Q: (Creating Custom Exception Class) Write a Password class that stores a password string
A: Here I've written the full code in Java as mentioned in the problem. Have a look -----------------...
Q: lours are provid
A: given - Step-by-step instructions for converting RGB to HIS colours are provided.
Q: How do you determine what test cases are appropriate for automation?
A: The main capability of computers are the automation, save the time and labour. It can explain the co...
Q: Define the term network, and what are the advantages of sharing resources on a network?
A: Definition: A network is made up of two or more computers or other electronic devices that are linke...
Q: 1) Write, compile, and run a C++ program that specifies three one-dimensional arrays named price, a...
A: 1. declare price, amount, total using a single dimensional array 2. Using for loop get values of pri...
Q: 1.Shów thất 200 € O(1) and 200 2. Show that 2n+5 € O(n²) 3. Show that 3 log n + log (log n) 0(log n)...
A: Time complexity: Estimation of cpu computation required to terminate algorithm.
Q: # printfile.py #: Prints a file to the screen. def main(): fname = input("Enter filename: ") infile ...
A: The application will prompt the user to name a file. The contents of the file are read and displayed...
Q: What exactly is the distinction between a reserved term and a user-defined identifier?
A: Introduction: the question is about What exactly is the distinction between a reserved term and a us...
Q: What are your expectations after learning Information technology.
A: The use of computers and information technology-related equipment, programmes, and applications is r...
Q: Select one of the following and prepare a worker-machine chart that describes and activities and tim...
A: Work machine chart is similar to flow chart which contains flow or series of steps one by one. The A...
Q: Data being stolen and exported from a corporate system is called?
A: answer is
Q: 1. Decision tree problem See the following table- Sender Occupation Blood pressure level Diabetes re...
A: A decision tree is a flowchart-like structure in which each internal node represents a "test" on an ...
Q: Describe HADOOP's two primary levels as well as two more supporting modules.
A: Introduction: Hadoop is a free and open-source software framework for storing data and executing app...
Q: Consider the WAN, or wide-area network, as your preferred means of wireless connectivity. What disti...
A: Find the answer given as below :
Q: A software receives data from a file named inputFile.dat and outputs the results to a file called ou...
A: Introduction: A software receives data from a file named inputFile.dat and outputs the results to a ...
Q: def validate_priority(priority): ''' validate the "priority" parameter Returns True if "...
A: 1. In your Program you did call the function and also did not print the result. 2. while checking if...
Q: ers from th
A: Opening a FileIt is done using the open() function. No module is required to be imported for this fu...
Q: What exactly is DBMS? Using a coffee shop as an example, how can we retain data using DBMS? The cof...
A: The DBMS software is used to store and restore user data as well as to implement appropriate securit...
Q: INPUT ORDER OF SQUARES -10 -4 -2 1 5 6 8 9 0 → 1² (-2)² (-4)² 5² 6² 8² 9² (-10)² OUTPUT 14 16 25 36 ...
A: ANS: you did not mention any specific language.So, I had written the code in python. NOTE: please pr...
Q: A company manufactures three products engines, pumps and fans. They give a discount of 10% on orders...
A: I have provided C++ CODE along with CODE SCREENSHOT and also provided OUTPUT SCREENSHO...
Q: 4. Consider the following languages. • ANFAFIN = {(N) |N is an NFA and L(N) is finite} • EREX = {(R)...
A: Answer:- No,All strings of the form 10n are contained in L(N) (in addition to other strings as well...
Q: creenshot a webpage which has a feature that addresses accessibility issue of the user. At the bott...
A: We must take a screenshot of a webpage with a feature that addresses a user's accessibility concern ...
Q: Assume you have access to the caches in your department's local DNS servers. Can you provide a metho...
A: Introduction: The local DNS (Domain Naming Registry) server's cache is available. This is the reposi...
Q: A manager for an outsourcing company has five jobs that can be performed by any of three contractors...
A: Answer : xij=1 when contractor-i is assigned to job-j for i=1,2,3 and j=1,2,...,5 Min Z = 8 x11 + 6 ...
Q: show problem using Hungarian method Min case Table
A: Find Solution using Hungarian method: Work\Job 1 2 3 4 5 A 10 5 13 15 16 B 3 9 18 13 6 C 10...
Q: order for a network to function appropriately and efficiently, what three characteristics must it me...
A: Answer: The major characteristics that network must meet are: 1. Security 2. Consistency 3. Retrieva...
Q: Consider this scenario: An exception is thrown when a function is called. What are the three things ...
A: An exception is thrown when a function is called. Things can do by the function is try-catch, throw...
Q: Write a program to find the largest number between two numbers? Ues if
A: Ans: Code: #include <iostream>using namespace std;int main() { int n1,n2; cout<<...
Q: If a sequential program takes two hours to execute and 1500 cores are available to use, what is the ...
A: I have answer this question in step 2.
Q: Find all textareas and paragraphs, and make a red border around them and set the border to red. HTM...
A: HTML Code : <!DOCTYPE html> <html> <head> <script src="https://code.jquery.com...
Q: Write exactly these 3 functions: power(x,y), print(text, number) function and the main() function. ...
A: The given c++ program will return integer result that is calculated by raising a number x
Q: In tic-tac-toe, assume that a player scores 1, −1, 0 respectively for a win, loss or draw. For the ...
A:
Q: What exactly is globbing? What exactly is a wildcard?
A: Introduction: Here we are required to explain the meaning of Globbing and Wildcard.
Q: Describe how Web caching can shorten the time it takes to get a requested object. Will Web caching l...
A: Introduction: Web caching is defined as the temporary storage of data such as photos, video files, a...
Q: Refresh your C++ skill Using function with 2D array 1. Create a global variable 2 dimensional array ...
A: Step-1: StartStep-2: Declare a global variable of 2-D array of size [3][5]Step-3: Call function init...
Q: What exactly is a race condition? What exactly is synchronisation?
A: Answer: 1. Race condition: A race condition is a problem that occurs when a system attempts to perf...
Q: How to implement BitTorrent protocol and do a file transfer between client and server. (Any Coding l...
A: How to implement BitTorrent protocol and do a file transfer between client and server.
Q: Create relationships between the tables. Create Form to enter, update, delete user data from the Ta...
A: /* one-to-one: User has one address */ CREATE TABLE addresses ( user_id int, -- Both a primary a...
Q: Explain what the remove() algorithm does and what you have to do to actually remove the specified el...
A: In programming, the process of hiding details of an object or function. Information hiding is a powe...
Q: In order for a network to function properly and efficiently, what three characteristics must it meet...
A:
Q: What is the maximum number of valid subnets one will have from the network 172.22.63.115/19?
A: The question is find the maximum number of valid subnets one will have from the network 172.22.63.11...
Q: 2. This involves a .txt file with one thousand rows of random numbers (between 1-1000) Using Py...
A: 1. File Input/OutputFile Input/Ouput (IO) requires 3 steps: Open the file for read or write or both...
Q: What are the points you may put in your abstract to create your own operating system?
A: Introduction the question is about What are the points you may put in your abstract to create your o...
Q: The user enters information of a student (ID, first, and last name). The user has the option to dele...
A: # code to delete a particular # data from a file # open file in read mode with open("sampl...
Q: Enumerate some action plans that will handle election related garbage
A: There various kinds of garbage produced during election from banner wastage to the electronic media...
Q: To 3 7 $ 3 6 %24 2.
A:
Q: Problem 3B (harder) In this version, assume the two input strings can be of same or different length...
A: The Answer is
Step by step
Solved in 2 steps
- Upsampling an Image using Interpolation TechniquesThere are a number of techniques that can be used to upsample an image.In this assignment, you are expected to implement Interpolation methods (such as Lagrangian Interpolation, Divided Difference, etc.) for three different images and compare the results. Example Code Python: orgImage = cv2.imread("dene.png")w, h, d = orgImage.shapexResized = int(w * scale);yResized = int(h * scale);....cv2.imwrite("resizedImage.png", resizedImage) Example Code Matlab:I = imread('pen.png');figure;imshow(I); [w, h, d ]= size(I)R = I(:,:,1);G = I(:,:,2);B = I(:,:,3); %for cubic spline write findcoefficients method[ax,bx,cx,dx ] = findCoefficients(R);[ay,by,cy,dy ] = findCoefficients(G);[az,bz,cz,dz ] = findCoefficients(B); ....R_new = ax(i)*i_d.^3 + bx(i)*i_d.^2 + cx(i)*i_d + dx(i);G_new = ay(i)*i_d.^3 + by(i)*i_d.^2 + cy(i)*i_d + dy(i);B_new = az(i)*i_d.^3 + bz(i)*i_d.^2 + cz(i)*i_d + dz(i);Write in C Language Spilitology Yosef is a peculiar fellow. He introduced the idea to study a string by splitting it into two, and he called it Splitology. Why split a string? We do not know. Didn’t we say that Yosef is a weird one? Yosef is interested in one particular type of string, a palindrome. A palindrome is a string that is the same for both forwards and backwards. Example of palindrome strings are “ada”, “taat”, and “radar”. On the other hand, string such as “taman” is not a palindrome; notice that “taman” becomes “namat” if read backwardsand it’s not the same as “taman”. As the idea of Splitology is still new, Yosef is investigating whether a string can be split into two non-empty strings such that each string is a palindrome. For example, the string “malamini” can be split into “malam” and “ini” while both of them are palindrome. Another example is “ababab”. It can be split into “aba” and “bab”, and both of them are palindrome. Note that “ababab” can also be split into…import java.util.Scanner; class Main 1- 2 3- 4 public static void main(string[] args) 5- Scanner input = new Scanner(system.in); System.out.println("Enter a sentence, or type "quit' to end."); String phrase 1nput.nextl ine(); while (phrase != quit) System.out.printin(phrase. toUpperCase()); 6 10 11 12 // Your code goes here 13 14 } 15 java version "1.8.0 31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 61-Bit Server VM (build 25.31-b07, mixed mode)
- insuraned date a dlmitted name Pid Patieats M 2. D.-Patient test.log MA 1. Lid test doclors (test nome dale docid peickralion) lime hemre Convert the tollosing ER model int Roatord medeleeringQ&A LibraryCreate a java program 1. Broken Record Looping strings works like playing a broken record – it repeats something over and over again. But what's great about loops is that we can define as to how many times it will repeat something with proper code, and that's what we're about to do now using while() loops. Instructions Scan a positive integer and store it in a variable. Using while() loop, repeatedly print out "CodeChum is awesome" for the same number of times as that of the inputted integer. Each outputted string must be separated in new lines. Don't forget to make an increment variable that will increase its value per iteration so as to not encounter a forever loop and have errors, okay? Input Format A line containing an integer. Input Sample 4 Output Format Multiple lines containing a string. Output Sample CodeChum·is·awesome CodeChum·is·awesome CodeChum·is·awesome CodeChum·is·awesome Create a java program 1. Broken Record Looping strings works like playing…Given one Input String and Pattern Library as follows: Input Strings:TATTTCTGGTCCACCTGATTAATAAGCTTCCTCTACAA TAGAATTTGTCAGGTAGGAATGTGTGTAGACTATAAAGGTCCATGTGTGTAGACTATAAAGGTCCTCACTTCTCTTTATCTACCCT Pattern libraries:TGCGATATGTGAAAGCCTCTAAGG Searching for a pattern in an input string can be done with a certain algorithm and by using the aho-Corasick string-matching algorithm, several patterns at once in the library can be detected in an input string.How to make a finite state machine for the pattern library above?
- CODE IN PYTHON Colouring Book Having spent the last couple of hours grading assignments, I decide it’s time for a break. I take out my favourite colouring book, turn to a random page I haven’t coloured in yet, and lay it on my desk. I then take out all my n crayons and line them up on the desk (it’s a very long desk). The colour of the ith crayon is a string c[i] (e.g. "blue"). Many of the crayons have the same colour. In fact, no matter how many crayons I have, there are at most 30 distinct colours amongst them. To start colouring, I always take a sublist (see Q1 for a definition) of the crayons laid on the desk and put away the rest (too many options can be overwhelming and can lead to indecision). I take a look at the line art in front of me and wonder, “How many different colours do I need to make this look great? One? Two? Maybe three?”. Now you understand my dilemma and are fully aware of my indecision. You kindly decide to help me out by telling me for every number k, if I were…Removing vowels. Create a program that reads an strings, and produces a new string containing all but the vowels of the input string. Example: forinput "terrific” the output shall be ”trrfc”. Hint: use a loop to iterate over the string and concatenate into an output string variable those characters that are not vowels (“aeiou”)python wap to generate a random string of length 20 and conatins uppercase lowercase digits puncutation in it
- Python The Dan Cipher works like this: shift the first lowercase character to the right by 1, the second lowercase character to the right by 2, and so on. Characters that are not lowercase characters are not changed. Write a program that takes a string and prints the result of applying the Dan Cipher.Rust Write a program for given that a number is given and then typecast to string and also verify that the it becomes the string.and print the string and resultsI ASKED THIS QUESTION TWICE DONT COPY FROM ANOTHER ANSWER Main task is improve this code using StringBuilder Text reading is an integral component in our counting algorithms, and it is also ubiquitous in daily applications. Thefollowing is a very bad algorithm for reading from a text file, although it is correct and straightforward. It reads froma file line by line, and concatenate them into text. Then we split it using a regular expression. The split part isfast in linear complexity (we will learn it in Comp-2140), hence that is not our concern. Note that trim() is neededto remove empty strings. //You need to improve this codestatic String [] readTextBAD ( String PATH ) throws Exception {BufferedReader br =new BufferedReader (new FileReader ( PATH ) ) ;String text ="";String line ="";while (( line = br . readLine () ) != null )text = text +" "+ line . trim () ;String tokens []= text . trim () . split ("[^a-zA -Z]+") ;return tokens ;}