#Data is given in the order: Serial Number | Item Name | Quantity | Price price_list = [["01","Keyboard",4,200.0],["02","Mouse",4,150.0],["03","Printer",2,300.0]] #Write Code to increase the price of all the items by 50 taka
Q: The volume of any cylinder can be calculated using the following formula: volume = π * radius² *…
A: algorithm:- read value of r and h. if r>0 && h>0 v=3.1416*r*r*h display v…
Q: Is it more challenging to design GUIs using pixel-based coordinates?
A: The solution to the given question is: Most of the elements are controller with a joystick , as flat…
Q: A CPU scheduling algorithm often favors those processes that have used the least processor time in…
A: CPU scheduling decisions can occur under any of the following circumstances, When a process…
Q: Question 10 1. Assume we are using 2 keys: K1 and K2, which of the following schemes is stronger…
A: 1. Assume we are using 2 keys: K1 and K2, which of the following schemes is stronger and why?…
Q: You create a suffix trie out of the string MISSISSIPPI$. Assume that the root is at depth 0, its…
A: Given string : MISSISSIPPI$
Q: 3. Construct npda's that accept the following regular languages: (b) L2= L (aab* aba*).
A: Introduction: Push-down automata are finite automata with additional memory (stack) (PDA). A PDA…
Q: Provide at least two examples of the graph data structure use cases and explain how using this data…
A: Introduction: Consider the most efficient way to address the problem first. The problem would…
Q: Let A and B be two fuzzy sets in the universe of discourse X=(x1, x2, x3, x4, X5, X6) defined as…
A: Solution: Given, A = {0/x+1/x₂+ 0.7/x, +0.4/x, +0.2/xg+0/x6} B={0/x1 +0.4/x2+0.7/x3+0.8/x,…
Q: Table name: DIRECTOR DIR_NUM DIR_LNAME 100 Broadway 101 Hollywoody 102 Goofy Table name: PLAY…
A: The queries for creating the tables and inserting data is given in the below steps along with OUTPUT…
Q: java Compute a table representing the Knuth-Morris-Pratt failure function for the pattern string…
A: Your Java program is given below as you required with an output.
Q: Given a graph G and a vertex x of G, present an O(m+n) time algorithm that uses DFS to compute and…
A: Answer Kosaraju∈TM Strongly connected component algorithm can computes and returns the number of…
Q: Find the dissimilarities between PC OS development and mainframe OS design.
A: There are several distinctions between developing operating systems for mainframe computers and…
Q: You are investigating a malware incident that you believe may be a remote access trojan (RAT). Which…
A: The solution to the given question is: The most likely tool that would show if the malware has an…
Q: Why do hash table collisions occur, and how can they be prevented? Please allow me to illustrate…
A: the issue of collision that occurs in hash tables, and how it may be fixed with an example. When two…
Q: Please note this truth table has 5 columns; you might need to scroll across to see the final column…
A: Given, j k ¬(¬j∧k) j∨¬k ¬(¬j∧k)→(j∨¬k) T T T T F T T T F T F F F T From…
Q: different ways to examine your website, check security with techniques and methods
A: There are several ways to examine your website for security. One method is to use a tool like a web…
Q: You need to store a string Canton in a computer storage device. If it is stored as a piece of…
A: Dear Student, The answer to your question is given below -
Q: Represent the expressions a) (x + xy) + (x/y) and x + ((xy + x)y) using binary trees. Write these…
A: Prefix: A prefix is a group of letters added to the beginning of a word. It changes the meaning of…
Q: is it correct ? Write a function to count how many numbers in one string.. Answer: #include…
A: Answer: Explanation: We have seen your code is correct and because we have given input string…
Q: 1. Given, nCr n! (n-r)!r! Write a function to compute nCr without recursion.
A: Solution: Recursive function Implementation: int nCr(int n, int r){ if(n<r){ return…
Q: A poorly designed hash map has resulted in all values being lumped together (that is, they are all…
A: Introduction: Hash tables are groups of arranged things that make it possible for them to be readily…
Q: A quality engineer establishes and maintains a company's quality standards and tests systems to…
A: Quality engineer is basically responsible for quality of product. Whether that product is working in…
Q: Predefined production reports Adhoc queries and searches Drill down capability to see data details…
A: The following solution is
Q: . Define a Turing Machine that accepts the following language: L = {w ∈ {!, }∗| w = vw'v where v, w'…
A: INTRODUCTION: A mathematical model of computing known as the Turing machine describes an imaginary…
Q: A 2. Among all 8 CBK domains, in which CBK domain do you believe you own the strongest knowledge and…
A: let us see the answer:- Introduction:- The Common Body of Knowledge (CBK) in security is a thorough…
Q: Design a CFG for language L and show how that CFG can be used to derive the string s: L =…
A: Given that:
Q: Which of the following interactions is/are synchronous? Why? A. Remote Control and Television set…
A: Dear Student, The answer to your question is given below -
Q: In class we considered the computational complexity of global localization as a hypothesis…
A: Dear Student, The answer to your question is given below -
Q: Which of the following code snippets correctly traverses the contents of a linked list, from…
A: Here we need to traverse a linked list content from beginning till end. So we will need a current…
Q: 5 7 14 8 11 28 -1.38 -2.01 12.88 Given the original data matrix A = principal components Anew = - […
A: To create a covariance matrix.
Q: C++ Write a function that draws a square as given below.
A: Here is the c++ program of the above problem. See below steps.
Q: Which options can be a service consumer? (choose multiple) 1- JSON 2- CURL 3- postman 4- an HTTP…
A: Introduction: Design and implement integrated business applications and mission-critical software…
Q: Put the following requests in the order they would be handled by the operating system: A program…
A: Operating System:- The operating system acts as an interface between the hardware and the user.
Q: What distinguishes the Internet from the WWW and what similarities do they share?
A: When compared to one another, this question demonstrates how the World Wide Web differs from the…
Q: The use of cloud-based software has several benefits over the more conventional approach of storing…
A: The advantages of a cloud-based programme over a typical client-based storage solution are discussed…
Q: Consider the set of F of the following functional dependencies on relation R(A, B, C, D, E): AB C…
A:
Q: Use D flip-flops to design a counter with the following repeated binary sequence: 0, 4, 2, 6, 10, 8,…
A: Please refer to the following step for the complete solution to the problem above.
Q: It is possible to obtain and execute an instruction
A: Dear Student, The answer to your question is given below -
Q: What command lists all files (not directories) in your current directory? What command lists all…
A: Let's see the answer:
Q: Does a hash table of size m contain exactly m linked lists? To me, a hash function serves no…
A: To distinguish the single item from a collection of related things, hashing is utilised.Hash tables…
Q: All mammals feed their young. Whales feed their young. Therefore, whales are mammals a. True…
A: Introduction: A logical degree of analysis is needed to determine the right answer in aptitude…
Q: Task 1 Construct 8-bit input encoder by using Verilog language and then create appropriate circuit.…
A: Here is the explanation regarding Verilog:
Q: 6 7 8 9 10 11 12 13 14 1234 in 15 16 17 18 66649. 19 20 } 21 } int numi; int num2; int num3; int…
A: Below is the syntax error while running the above code . javac…
Q: QUESTION 1 In ML, which statement is true about the difference between tuples and lists? O a list…
A: The solution is given in the below step with explanation
Q: What are the features of a compiler based PL? Faster run time speed Good for quick prototyping…
A: We have to choose the features of a compiler based PL from the given options.
Q: please explain each one
A: Secure Socket Layer (SSL) Data transit between a web browser and the server is secure with the use…
Q: Place the following operations for converting a context-free grammer into Chomsky normal form in the…
A: The Chomsky normal form stands as CNF. A context-free grammar is in CNF if the production rules…
Q: . Describe and discuss common authentication types. Give examples to support your answer.
A: An authentication factor is information and a process used to verify a person's identity for…
Q: + is my answer correct ? Write a function to convert a given string : Answer: #include #include…
A: Answer:
Q: write java code segment that create a class C and C class inherits from B. The C class contain an…
A: Answer :
#Data is given in the order: Serial Number | Item Name | Quantity | Price
price_list = [["01","Keyboard",4,200.0],["02","Mouse",4,150.0],["03","Printer",2,300.0]]
#Write Code to increase the price of all the items by 50 taka
#Code1
#Write code to add a new item to the list using user input
#Code2
print()
#Print the list using nested loops
#Code3
#Sample output given below:
Enter Serial: 05
Enter Item Name: Monitor
Enter Quantity: 200
Enter Price: 50
01
Keyboard
4
250.0
-----------------
02
Mouse
4
200.0
-----------------
03
Printer
2
350.0
-----------------
05
Monitor
200
50
-----------------
Step by step
Solved in 4 steps with 2 images
- Monthly Sales Create a program that allows you to view and edit the sales amounts for each month of the current year. Example COMMAND MENU add - Add sales for specified month view - View sales for specified month edit - Edit sales for specified month totals - View sales summary for year exit - Exit program Command: add Three-letter Month: jan Sales Amount: 10317 Sales amount for Jan is 10,317.00. Command: add Three-letter Month: feb Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: view Three-letter Month: jan Sales Amount: 14317 Sales amount for Jan is 14,317.00. Command: edit Three-letter Month: jan Sales amount for Jan is 14,317.00. Command: totals Yearly total: 29,610.00 Monthly average: 14,805.00 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Specifications The program should use a list to store the sales data for each month with the three-letter abbreviation for the month (Jan,…In Python, grades_dict = {'Wally': [87,96,70], 'Eva': [100,87,90], 'Sam': [94,77,90], 'Katie': [100,81,82], 'Bob': [83, 65, 85]} Ask user to enter the names of the rows, i.e., indices. You can use: len(grades) to get the number of rows of the DataFrame. In addition, using the sort_index() method, ask user whether they wish to sort by rows or by columns and whether to sort in ascending or descending order (do not use any if-else statements){ "name": "Renata Severson", "dob": "2017-02-22", "address": { }, "street": "4228 Lucy Circle", "town": "Ayr", "postode" : "PL01 3MG" "telephone": "+971-6808-178-469", "score": 10, "email": "brianna71@add.hn", "verified": false, "salary" : 50307 JSON Validation Valid: Yes If no, reason(s) XX
- A computer store uses a database to track inventory. The database has a table named Inventory, with the following columns: ProductID INTEGER PRIMARY KEY NOT NULL ProductName TEXT QtyOnHand INTEGER Cost REAL Also assume that the cur variable references a Cursor object for the database. Write Python code that does the following: Executes a SELECT statement to return all the columns from the rows where Cost is less than 999.99. Assigns all the results of the SELECT statement to a variable named results.prepare a flowchart please # inside data sub subarray[serial, name, amount]; # My data; data = [['01','A',4000],['02','B',8000],['03','C',10000],['04','D',12000],['05','E',16000]] serial = 0 name = 1 amount = 2 #update.... total = 0; for i in data: total = total+i[amount] print(f"The total amount is: {total}"){"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 JSON
- A computer store uses a database to track inventory. The database has a table named Inventory , with the following columns: ProductID INTEGER PRIMARY KEY NOT NULL ProductName TEXT QtyOnHand INTEGER Cost REAL Also assume that the cur variable references a Cursor object for the database. Write Python code that does the following: Executes a SELECT statement to return all the columns from the rows where ProductName contains the string "Laptop" with any characters before or after it. Assigns all the results of the SELECT statement to a variable named results .LOGICAL EXPRESSIONS #15 SURGERY_DATE is a datetime column that stores the dates on which surgeries were performed. The time stored is midnight. Which of the following will return TRUE for surgeries performed in 2016 and FALSE for all other surgeries? SELECT ONE OF THE FOLLOWING A. SURGERY_DATE BETWEEN '31 DEC 2015' AND '31 DEC 2016' B. SURGERY_DATE BETWEEN '31 DEC 2015' AND '1 JAN 2017' C. SURGERY_DATE BETWEEN '1 JAN 2016' AND '31 DEC 2016' D. SURGERY_DATE BETWEEN '1 JAN 2016' AND '1 JAN 2017'Transcribed Image Text A summer camp offers a morning session and an afternoon session. The list morningList contains the names of all children attending the morning session, and the list afternoonList contains the names of all children attending the afternoon session. Only children who attend both sessions eat lunch at the camp. The camp director wants to create lunchList, which will contain the names of children attending both sessions. The following code segment is intended to create lunchList, which is initially empty. It uses the procedure IsFound (list, name), which returns true if name is found in list and returns false otherwise. FOR EACH child IN morningList { <MISSING CODE> Which of the following could replace <MISSING CODE> so that the code segment works as intended? IF (IsFound (afternoonList, child)) { A APPEND (lunchList, child)
- 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.In PYTHON Print values from the Goal column only Print values only for columns: Team, Yellow Cards and Red Cards Find and print rows for teams that scored more than 6 goals Select the teams whose name start with a G Print values only for columns Team and Shooting Accuracy , and only for rows in which the team is either of the following: England, Italy and Spain Find and print rows for teams that scored more than 6 goals and at least 4000 passes Team Goals Shots on target Shots off target Shooting Accuracy Goals-to-shots (perc) Total shots (inc. Blocked) Hit Woodwork Penalty goals Penalties not scored Headed goals Passes Passes completed Passing Accuracy Touches Crosses Dribbles Corners Taken Tackles Clearances Interceptions Clearances off line Clean Sheets Blocks Goals conceded Saves made Saves-to-shots ratio Fouls Won Fouls Conceded Offsides Yellow Cards Red Cards Subs on Subs off Players Used Croatia 4 13 12 0.5 0.16 32 0 0 0 2 1076 828 0.769 1706 60…