Please enter a grocery item (or STOP): milk Please enter a grocery item (or STOP): tea Please enter a grocery item (or STOP): bread Please enter a grocery item (or STOP): peanut butter Please enter a grocery item (or STOP): STOP Your grocery list: milk tea bread peanut butter
Q: How are congestion control and quality of service related?
A:
Q: The message received at the receiver end is 1011011. Assuming even parity from left to right, state…
A: Given received word is 1011011 and assuming even parity. Now we have to detect if given word…
Q: Using python, Write a program that generates a list of 10 valid lottery tickets and then prints out…
A: The following solution to generate a list of valid lottery tickets has been done using Python…
Q: Write a C++ program to calculate a rectangle's area. The program consists of the following function:…
A: Step-1: Start Step-2: Define function getLength to get the length of rectangle and return it Step-3:…
Q: 5. Draw a PDA for the palindromes of odd length over the alphabet {a,b,c} (note the c!). Use X as a…
A: ANSWER:-
Q: An entry in the switching table of a virtual-circuit network is normally created during the setup…
A: Answer: We need to write about the virtual network connection oriented and datagram connection less…
Q: A typical IT infrastructure has seven domains: User Domain, Workstation Domain, LAN Domain,…
A: The answer for the above mentioned question is given in the following steps for your reference.
Q: Q: Does totally ordered multicasting by means of a sequencer and for the sake of consistency in…
A: Answer: We need to write about the order multicasting of sequencer so we will see in the brief
Q: Explain the relative advantages and disadvantages of an embedded OS based on an xisting commercial…
A:
Q: An entry in the switching table of a virtual-circuit network is normally created during the setup…
A: Connection has to be made before the data transfer can take place in the case of a circuit-switched…
Q: Can a screenshot of the code in coral language be added to answer?
A: So, the exact same code I run on an online coral simulator and it worked so nicely. Here is the…
Q: Consider a source alphabet consisting of 16 symbols, each being a 4-bit binary sequence. That is, S…
A: Given: source alphabet consist of 16 symbol. each is 4-bit binary sequence. source entropy is…
Q: What is NAT? How can NAT help in address depletion?
A: ANSWER:-
Q: List RIP shortcomings and their corresponding fixes.
A: Introduction; RIP is incapable of supporting an internal network with more than 15 hops. A router…
Q: What is DSL technology? What are the services provided by the telephone companies using DSL?…
A:
Q: ATLAB program 90
A: I have written MATLAB CODE:
Q: Why is there no need for the ICMPv4 message to travel outside its own network?
A: Answer: We need to write the why ICMPv4 message travel to outside its own network so we will see in…
Q: What is NAT? How can NAT help in address depletion?
A: The answer for the above mentioned question is given in the below steps for your reference.
Q: What is DSL technology? What are the services provided by the telephone companies using DSL?…
A: DSL Technology A communication technology called Digital Subscriber Line is employed to transmit…
Q: Write a program that asks the user to enter an integer consisting of 4 digits only, and check how…
A: C programming language is used below to solve the given problem. Algorithm: Start Initialise the…
Q: An entry in the switching table of a virtual-circuit network is normally created during the setup…
A: In a circuit-switched network, a physical connection is made and severed during the setup and…
Q: What is the relationship between TPS, VPs, and VCs?
A: "The physical link between a user and a switch, or between two switches, is known as a TP…
Q: A stream of data is being carried by STS-1 frames. If the data rate of the stream is 49.540 Mbps,…
A:
Q: Draw the constellation diagram for the following: a. ASK. with peak amplitude values of 1 and 3 b.…
A:
Q: Write a java program that Reads integer values into an array. Print the value in the array that…
A: BELOW ? COMPLETE PROGRAM REGARDING YOUR PROBLEM
Q: What technological innovations in the fields of software engineering and computing have occurred…
A: ANSWER:
Q: Q2/C# Write the functions in the following Program int min ; x = 4; float z = 1; long y = 1; int a =…
A: The question is to write three given functions in C#.
Q: Show how STS-9's can be multiplexed to create an STS-36. Is there any extra overhead involved in…
A: Introduction In this question, we are asked to show how STS 9 s can be multiplexed to create an STS…
Q: Using the domain name www.practice.com, construct the URL for a file called history.html in a folder…
A: The DNS will fetch or access Domain Name i.e www.practice.com Then it will Go to the Root directory…
Q: Draw the constellation diagram for the following cases. Find the peak amplitude value for each case…
A: Introduction: In this question we need to draw the diagram for the given points.
Q: b. What are the first valid host and last valid host of 4th Subnet?
A: The answer is
Q: When cable tv is used for data transfer then upstream data rate is
A: Cable TV provides high speed data transfer as compared to telephonic network. Co-axial fibers are…
Q: Q: Does totally ordered multicasting by means of a sequencer and for the sake of consistency in…
A: Introduction: total order multicast There is a substantial amount of literature on total order…
Q: What kind of error is undetectable by the checksum?
A:
Q: Suppose you are contacted by a software developer to create a hospital patient management system.…
A: Answer the above question are as follows
Q: Make a brief (4-7 sentence) argument for or against starting a cyber forensics division at a real…
A: The above question is solved in step 2 :-
Q: Some examples of information technology, such as the alphabet and the abacus, are more than 2,000…
A: The above question is solved in step 2 :-
Q: What is the relationship between TPS, VPs, and VCs?
A:
Q: What is the minimum number of cells resulting from an input packet in the AALS layer? What is the…
A: The answer to the question is given below:
Q: What is the minimum number of students required in a school to be sure that at least 23 students…
A:
Q: Can the value of a checksum be all Os (in binary)? Defend your answer. Can the value be all 1s (in…
A: The value of a checksum can be all 0s (in binary). This happens when the value of the sum (after…
Q: Find (49.3) -(00110110.0010) 10 BCD - = (?). BCD Y with BCD weight (8421)
A: The conversion of a decimal number to binary coded decimal requires separation of the decimal number…
Q: In this excersie the main function calls Series1 and/or Series2 functions and you are required to…
A: Code is given below #include <iostream> using namespace std; int fact(int n)…
Q: C++ program (5 points) Implement a class with the required data fields, constructor, and…
A: Your C++ program is given below as you required with an output.
Q: hen I tried to do it on my Visual Studio 2022 of what I did on my program code it gave me about 105…
A: JAVA PROGRAM
Q: dont post unnecess
A: We know 8085 Assembly language consists of many instructions and the instruction that calls a…
Q: How many cards must be selected from a standard deck of 52 cards to guarantee that at least four…
A: BELOW COMPLETE SOLUTION REGARDING YOUR PROBLEM
Q: 7. Host A sends a datagram to host B. Host B never receives the datagram, and host A never receives…
A:
Q: Rajesh recently inherited an ancient papyrus that contained some text. Unfortunately, the text was…
A: The first line of the input file will contain one integer, T, representing the number of tests. Each…
Q: Three types of packets may be transmitted using IPv4: Unicast, Multicast, and Broadcast. Describe…
A: The answer to the question is given below:
Write a program using PHYTHON to create a grocery list where the user will add items one at a time until entering the word "STOP".
At that point, the program will print out the items in the grocery list, 1 item per line.
Step by step
Solved in 4 steps with 2 images
- Adding Students to a Club Create an application that displays a list of student names in a ListBox. Use a second empty ListBox to represent the members of a student club. Use a button labeled Addto copy member names from the general list to the club list. Use a button labeled Remove to remove a student from the club list. Keep a running count of the number of names in the club list. The application should perform the following error-checking:• Do not permit the same person’s name to be added twice.• Avoid throwing an exception if the user clicks the Add button before having selected a student name.• Avoid a runtime error if the user clicks the Remove selected member button, without having selected a member name In "Starting out with visual basic 8th edition programming challenge 5"Create a program that stores the names of the user's friends in a list. The program should allow a user to add friends to the list, remove friends from the list, and display the entire list of friends. A menu should be created that displays those options like so: 1 - View all 2 - Add Friend 3 - Remove Friend 4 - Exit The program should continue in a loop until the user selects exit. Hint: Use a function for each menu selection.The mean of a list of numbers is its arithmetic average. The median of a list is its middle value when the values are placed in order. For example, if an ordered list contains 1, 2, 3, 4, 5, 6, 10, 11, and 12, then the mean is 6, and their median is 5. Write an application that allows you to enter nine integers and displays the values, their mean, and their median.
- 6. sum_highest_five This function takes a list of numbers, finds the five largest numbers in the list, and returns their sum. If the list of numbers contains fewer than five elements, raise a ValueError with whatever error message you like. Sample calls should look like: >>> sum_highest_five([10, 10, 10, 10, 10, 5, -17, 2, 3.1])50>>> sum_highest_five([5])Traceback (most recent call last): File "/usr/lib/python3.8/idlelib/run.py", line 559, in runcode exec(code, self.locals) File "<pyshell#44>", line 1, in <module> File "/homework/final.py", line 102, in sum_highest_five raise ValueError("need at least 5 numbers")ValueError: need at least 5 numbers2)At the interactive prompt define a list named L that contains four strings or numbers(eg,L=[0,1,2,3]) a. What happens when you try to index out of bounds (e.g., L[4])?Create a sorted_grades application that can store up to 10 grades in order from highest to lowest in a list. The application should display a menu of options, which include “Enter a grade”, “Delete a grade”, “Display lowest grade”, “Display highest grade”, “Show grades”, and “Quit”. The list should initially contain all zeros (0). The algorithm for entering a grade is similar to: Find the appropriate position for the grade so that all grades are still in order from highest to lowest. Insert the grade Make certain that length of list remains the same The algorithm for deleting a grade is similar to: Find the element containing the grade to delete. If list empty tell user they can’ delete and if grade doesn’t exist, inform user no grade has been found. Use del function. Make certain the length doesn’t change and last element =0 Note: You can use the return to exit your function once you have found your element.
- GirlNames.txt This file contains a list of the 200 most popular names given to girls born in the United States from the year 2000 through 2009. BoyNames.txt This file contains a list of the 200 most popular names given to boys born in the United States from the year 2000 through 2009. Write a program that reads the contents of the two files into two separate lists. The user should be able to enter a boy’s name, a girl’s name, or both, and the application will display messages indicating whether the names were among the most popular. **programming language is python** ** must use a def main(): function** *please include some comments* i aslo have the .txt files but no wya to upload themLaboratory Exercise No. 40 Filename: Lab_exer40 You are tasked to create a program that will get the basic salary of 5 employees from the user and these 5 values should be saved in a list named as basicSalary. The user will then enter the incentive rate (Example. 0.15) The program should compute the net salary. The net salary is computed using the formula basic salary multiplied by incentive rate. Store the computed net salary in another list which will be named as net_salary. Display the values stored in the 2 lists. Example Output: Enter basic salary : 200 Enter basic salary : 300 Enter basic salary : 450 Enter basic salary : 600 Enter basic salary : 750 Enter incentive rate : 0.50 Basic salary [200,300,450,600,750] Net Salary [100,150,225,300,375]a. The mean of a list of numbers is its arithmetic average. The median of a list is its middle value when the values are placed in order. For example, if a list contains 1, 4, 7, 8, and 10, then the mean is 6 and the median is 7. Write an application that allows you to enter five integers and displays the values, their mean, and their median. Save the files as MeanMedian.java. b. Revise the MeanMedian class so that the user can enter any number of values up to 20. If the list has an even number of values, the median is the numeric average of the values in the two middle positions. Save the file as MeanMedian2.java.
- USE JAVA CODE Represent the features of a basic application using the linked list data structure (menu type). The minimum requirement is that the representation of data must be a list of lists but you may further create another list within the inner list. For instance, the menus of IntelliJ IDEA have different headings (File, Edit, View, Navigate, ...) and under each heading are menu options. Show the CRUD basics (create, read, update, and delete). Some options may have sub-options. In this case, there are 3 levels of nested lists. The outer most list will be the menu headings and under each heading will contain a list of options. An option, in turn, can have a list ofsub-options.The code below prompts the user to enter their full name, and then converts the name to a list. Complete the code to output the person's initials. For example, if the user enters 'Adam Jones', then your code will output 'AJ'. If the user enters 'Adam Daniel Jones', then your code will output 'ADJ'. name = input('Enter your full name: ')nameList = name.split()nameListAlert dont submit AI generated answer. please explain in details. Please print fixlist function so it would print out both lists a = [1, 5, 3, 6] b = [3, 5, 3 ,2, 4, 6, 8, 5, 2] def printList(list): for i in range(9): print(list[i]) print("End of List" print list(a) printList(b) Expected output: 1 5 3 6 End of List 3 5 3 2 4 6 8 5 2