I have a problem with my code. For example, when I type in something that’s not in the dictionary( for example: G), it prints “invalid input. Retry again” . After I type in (for example: A), it prints “invalid input” again even though it’s in the dictionary. I’m not sure why this happens. Could you fix this code?
Q: hen anything goes wrong or doesn't work as expected, it's called an error. What exactly is a test…
A: The answer is given below: Of course, an error occurs when something goes wrong or unanticipated…
Q: Show the disjoint set after performing union(9,13) on the following disjoint set using union by rank…
A:
Q: what is dada Soroge tchnolagy and How does it work?
A: Data storage means recording the data to obtains then whenever needed by using the computers. There…
Q: What are the names of the short terms used in assembly language?
A: Unlike high-level languages like C and Java, assembly language is quite simple. It is necessary to…
Q: What is the LDAP protocol, and how does it fit into a PKI?
A: Introduction: The acronym Lightweight Directory Access Protocol (LDAP) I Lightweight Directory…
Q: Consider an e-commerce business that wants to keep track of each customer's purchases. Describe how…
A: The E-commerce platform can be used to archive a customer's buying history. Cookies may also be used…
Q: What are some of the challenges and worries that people have when using a disjointed information…
A: An information system is a formal, sociotechnical, organisational system that collects, processes,…
Q: What is a Cloud Technology?
A: INTRODUCTION: Here we need to tell what is a cloud technology.
Q: Assume an application's graphical user interface (GUI) contains a Label control named outputLabel.…
A: A GUI programme is made up of three parts: Components of the Graphical User Interface. Methods that…
Q: Which of the following scheduling techniques is not a preemptive algorithm? What is the reason for…
A: Start: The issue at hand is connected to a scheduling technique in processing, in which many…
Q: which manager in a business is responsible for systems risks and privacy risks
A: System risk can be defined as the risk of breaking down of the complete system and not just the…
Q: Explain why using a packaged data model for a data modelling project differs from beginning with a…
A: packaged data model: The package data model diagram depicts the link between database tables that…
Q: Show the binary tree representation of the following arithmetic expression: x2 + y2 - (1 - 4z2). You…
A: Given arithmetic expression: x2 + y2 - (1 - 4z2) Operator precedence and associativity rule * /…
Q: What is software re-engineering?
A: In the given question, we have have to define the software re-engineering.
Q: Describe the file handle in detail.
A: Introduction: The file handling procedure refers to how we use a software to save the accessible…
Q: Write a Java program to count the number of occurences of a temp_string in a String. Assume the…
A: Here I have taken input from the user for a string and temp string. Next, I used the split function…
Q: 1. . . which consists of one row and several columns or (1xn) elements size. * index array O row…
A: Note :- As per our guidelines we are supposed to answer only one question. Next time kindly post one…
Q: The bandwidth of a periodic signal composed of five sine waves with frequencies of 200, 300, 400,…
A: here in this question we need to find the bandwidth from given information. in the following section…
Q: What kind of firewall software is installed on a computer running Windows Server?
A: Institution: Between a computer or a network of computers and the Internet, firewall software works…
Q: ct the minimum state automata for the following, 1 → A B C. C C B C
A: The Answer is in Below Steps :-
Q: Computers are a kind of electronic device.
A: Interview: Generally speaking, a computer is an electrical machine that processes raw data and…
Q: For this problem you will perform RSA encryption and decryption with p = 13, q = 17, and e = 5 (not…
A:
Q: Explain the data label in a few words.
A: I have provided the answer in step 2.
Q: erty and explain the
A: Introduction: The abbreviation ACID stands for Atomicity, Consistency, Isolation, and Durability,…
Q: What are some of the most typical things that host software firewalls are utilized to safeguard?…
A: Software firewall: Host-based firewalls can catch viruses, spyware, and other hazardous programmes…
Q: C program to get 10 elements of array from user and print average of all elements
A: HI THEREI AM ADDING ASNWER BELOW PLEASE GO THROUGH IT THANK YOU
Q: Make a 3-D surface plot of the function z² = = + 2 sin² (0.7y) in the domain -4 < x <4 , and -3 sy<…
A: x = -4:0.1:4; % create x with step of 0.1 y = -3:(6/80):3; % create y of same length % to match…
Q: Explain the data label in a few words.
A: Introduction: Exit Code returns the exit status of the system process. The exit code may be used in…
Q: Write a Matlab Program that used to read and display the HbAlctest shown in figure below (Using…
A: ANSWER:-
Q: A vector is given by x-[ 9-1.5 13.4 13.3 -2.1 4.6 1.1 5 -6.1 10 0.2). Using conditional statements…
A: Start Accept n value for loop to accept the vector elements Accept vector elements Use outer for…
Q: C program to read 10 characters from user and print it as a string
A: NOTE :- Below i attached the runnable code of that by which you understand it well.
Q: The instruction format for the SHL instruction is: SHL destination, count Working with a 32-bit…
A: SHL destination, count working with 32 bit operand, what are the bounds for the count value
Q: I need help making a basic game using SFML and C++. Ideally, I want it to start from one corner and…
A: Use the following code template. :)
Q: What are the potential risks of employing the SSTF disc scheduling algorithm?
A: These algorithms are used by the disc to decide which requests in the work queue should be dealt…
Q: Explain the cycle of instruction execution in simple terms.
A: The instruction cycle (otherwise called the get interpret execute cycle, or basically the bring…
Q: What does "highly typed" entail in terms of a language? What do you mean, statically typed? What…
A: Introduction: The term "strongly typed" refers to the fact that conversions between kinds are…
Q: Explain the motherboard in simple terms.
A: The motherboard is the primary circuit board inside a computer that connects all of the computer's…
Q: List the four different types of services a transport protocol can offer. Indicate whether the…
A: A transport protocol may offer a wide variety of services. A Transport layer Protocol provides a…
Q: When you're surfing the web and come across some weird info on a seemingly secure website, you know…
A: Digital Certificate: A digital certificate is a kind of internet authentication. It is sometimes…
Q: 1597 1123 1734 1102 1273 1668 2887 0930 2275 2923 1996 2474 2274 2562
A: Post-Order Traversal Of The Tree is Given Below
Q: q1//Write a C++ program to print lan array of 5 integers values and finding multiplication of items…
A: As per our guidelines we are supposed to answer only one question. Kindly repost other question as a…
Q: List the possible values for the SizeMode property of a PictureBox control.
A: The "PictureBox" control has the following values: An ImageBox "is found in the "ToolBox" in the…
Q: Write c program Get 5 numbers from user and print minimum of it
A: HI THEREI AM ADDING C CODE AS PER REQUIREMENT BELOWPLEASE GO THROUGH IT THANK YOU
Q: escribe some examples of data that would be acceptable for three-dimensional presentation?
A: Dimensional presentation: a measurement of something's size in a certain direction, such as length,…
Q: During operation, computers generate heat. Differentiate between the many types of cooling systems…
A: Required: Computers generate heat while they are operating.Distinguish between the various types of…
Q: Explain the Level-1 cache in a few sentences.
A: MEMORY IN THE CACHE: Cache memory is a high-speed memory that is used to maintain synchronisation…
Q: Write a C++ program that asks the user for a file name and a word for which to search. The program…
A: Please find the C++ Program which is made easier to implement the above mentioned functionalities:-…
Q: 1597 1123 1734 1102 1273 1668 2887 0930 2275 2923 1996 2474 2274 2562
A: For the given bst we will find out its post order traversal. I have given tips on how we can find…
Q: Explain why professional software generated for a client is not merely the programmes that have been…
A: Start: Professional software must adhere to particular industry standards in order to be used and…
Q: Explain caching in a few sentences
A: We are going to understand what caching is.
Step by step
Solved in 2 steps
- account.json "1000001": { "accountType": "Chequing", "accountBalance": 0 }, "1000002": { "accountType": "Savings", "accountBalance": 0 }, "1000011": { "accountType": "Chequing", "accountBalance": 0 }, "1000022": { "accountType": "Savings", "accountBalance": 0 }, "1000031": { "accountType": "Chequing", "accountBalance": 0 }, "1000032": { "accountType": "Savings", "accountBalance": 0 }, "1000051": { "accountType": "Chequing", "accountBalance": 13.699999999999989 }, "1000052": { "accountType": "Savings", "accountBalance": 0 }, "1000071": { "accountType": "Chequing", "accountBalance": 0 }, "1000081": { "accountType": "Savings", "accountBalance": 0 }, "1000091": { "accountType": "Chequing", "accountBalance": 0 }, "lastID": "1000091"} ------- var express =…JSON Response example when code = BAHRAIN as follows: { "Country": "Bahrain", "Tenps"il ("day": "SUNDAY", "temp"i {"day": "HONDAY", "temp": 35), ("day": "TUESDAYr, "teng": 39), ("day": "WEDNESDAY", "tenp": 37),. ("day"i "THURSDAY", "tenp": 35), ("day"i "FRIDAV", "temp": 34), ("day": "SATURDAY", "teng": 37) 1. Implement find Templ ) function as follows: Sample Eample This function will be called whenever the user change the value of the pull-down menu. This function should contact Ve the Web Service API, sending the selected country code, to Co display the information (country, daily temperatures in the week and average weekly temperature) inside the div tag whose id -result as shown in the example on the right. Country ahraln In addition, the country name and the average temperatures should be saved as one JS object inside an array in a local storage. Whenever new request is made, the countrylaverage will be saved and added to the array inside the local storage (duplicates is allowed).…Write an Add method that adds the contents of the decPrice variable to the lstPrices control.
- Pendant Publishing edits multi-volume manuscripts for many authors. For each volume, they want a label that contains the author’s name, the title of the work, and a volume number in the form Volume 9 of 9. For example, a set of three volumes requires three labels: Volume 1 of 3, Volume 2 of 3, and Volume 3 of 3. Design an application that reads records that contain an author’s name, the title of the work, and the number of volumes. The application must read the records until eof is encountered and produce enough labels for each work. The flowchart must include a call symbol, at the beginning, to redirect the input to the external data file. create a solution algorithm using pseudocode create a flowchart using RAPTORPendant Publishing edits multi-volume manuscripts for many authors. For each volume, they want a label that contains the author’s name, the title of the work, and a volume number in the form Volume 9 of 9. For example, a set of three volumes requires three labels: Volume 1 of 3, Volume 2 of 3, and Volume 3 of 3. Design an application that reads records that contain an author’s name, the title of the work, and the number of volumes. The application must read the records until eof is encountered and produce enough labels for each work. Design a flowchart and psuedocode Pendant Publishing.1. Look at the following partial code. function checker(x) { var got_an_A = true; if (x >= 90) { got_an_A = true; } else { got _an_A = false; if (got_an_A != true) { document.getElementById("tbx1").value = "Did not get the A"; } else { document.getElementByld("tbx1").value = "Got the A"; } a. What will be the value of the textbox with the id: thxl if we have the following function call: checker(95); b. What will be the value of the textbox with the id: thxl if we have the following function call: checker(85);
- design patterns quetion public double calculatePerimeter(Shapes [] shapes) { double p = 0;for (Shape shape : shapes) { if (shape is Rectangle) { Rectangle rectangle = (Rectangle) shape; p += (rectangle.Width+rectangle.Height) * 2; } else { Circle circle = (Circle)shape; p += 2 * circle.Radius * Math.PI; } } return p; } which design principle is violated in the above code? what is the issue/ limitation of this code? rewrite the code to not violate the design principle you answered in part 1?{"postalCodes": [{"adminC ode2":"013", "adminCode1" : "AZ", "adminName2": "Mari copa","lng":- 111.926144, "countryCode" : "US", "postalCode":"8528 1", "adminName1": "Arizona ", "placeName":"Tempe","l at":33.422675}]} Figure 6.0 Code Block Review Figure 6.0. In the REST web service, data can be restored in various formats. Figure 6.0 Code Block represents which format of restoring the data XML O HTML O JavaScript O JSONAssignment #2 Design an application to search in a database table of employee records. Each employee record consists of an ID, first name, last name, job title. The user interface should look similar to the sketch shown below. A text field is used to input the search query. A combo box is used to choose the search criteria (e.g. search by ID, search by first name, search by last name). By choosing any criteria and clicking on the "search" button, the correct results should be shown on the "results" pane. Search Query Search criteria Search Results Item1 Item2 Item3 otes E Notes Comments 2:38 PM ENG 3/8/202
- Python Data = { "logs": [ { "logType": “xxxxx” }, { "logType": “43435” }, { "logType": “count” }, { "logType": “4452” }, { "logType": “count” }, { "logType": “count” }, { "logType": “43435” }, { "logType": "count" }, { "logType": "count" } ] } So, please count the total of "logType": “count” My desired output: { "count”: 5 }def main(): monthlySales = getSales() printbonus=print_bonus(storeAmount,empAmount) #This function gets the monthly salesdef getSales(): monthlySales = float(input('Enter the monthly sales $')) monthlySales = getSales() #call to get sales salesIncrease = getIncrease(monthlySales) return monthlySales #This function gets the percent of increase in salesdef getIncrease(monthlySales): storeAmount = storeBonus(monthlySales) salesIncrease = float(input('Enter percent of sales increase: ')) salesIncrease = float(salesIncrease) salesIncrease = salesIncrease / 100 return salesIncrease #This function determines the storeAmount bonusdef storeBonus(monthlySales): if monthlySales >= 110000: storeAmount = 6000 elif monthlySales >= 100000: storeAmount = 5000 elif monthlySales >= 90000: storeAmount = 4000 elif monthlySales >=80000: storeAmount = 3000 else: storeAmount = 0 return storeAmount #This function…Customer c1 = new Customer("user", "pass"); c1.setPassword("changeme"); Customer c1 = new Customer("user","pass"); c1.password("changeme"); Customer c1 = new Customer("user", "pass"); c1.password = c1.setPassword("changeme"); Customer c1 = new Customer("user","pass"); c1.password = "changeme";