Hands-on Activity Movie Time Objective: At the end of the exercise, the students should be able to: • Implement queues in both Java and Python. Software Requirements: • NetBeans IDE Java Development Kit (JDK) 8 Python 3.7 or higher • Procedure: 1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark) 2. Using NetBeans, create a Java project named MovieTime. Set the project location to your folder. 3. Import Scanner, Queue, and LinkedList from the java.util package. 4. Create two (2) Queue objects named movies and snacks. 5. The output shall:
Q: 1. A router receives a packet with destination address (222.186.114.16) Show how it finds the…
A: Introduction: A logical subdivision of an IP network is referred to as a subnetwork or subnet for…
Q: How can you tell if a laptop's operating system has been tampered with?
A: A ransomware message arrives. A false antivirus notification appears. You use malicious browser…
Q: I'd like to take this list and write it to a new txt file. Ignoring the ':' , {}, and words within…
A: Iterate over the given list Then join the values with , Then write to file
Q: The primary jobs of an OS are outlined in the following overview:
A: Dear Student, The answer to your question is given below -
Q: A racing car safety system will automatically applies the cornering degree limit if the car…
A: The question is solved in step2
Q: Write a C++ / CLI program to resolve the following indefinite equation problem: Please draw the…
A: Approach: Draw five circles according to positions in the logo using the function circle(). To…
Q: There are many benefits to using a system with multiple processors, but one of the most notable is…
A: Due to their flexibility, two-dimensional materials may be less brittle since they can be more…
Q: Write the formal 5-tuple definition for the NFA below which is defined over alphabet Σ = {0,1}, then…
A: An NFA is formally defined as a 5-tuple (Q, Σ, δ, q0, F),where 1. The collection of states in Q is…
Q: If you know what could be slowing down my computer's startup time, please explain it in detail.
A: Out-of-date software Insufficient hardware Overheating Hard drive fragmentation Unwanted files and…
Q: Can you tell if it's a hardware or software problem if, after turning on the computer for the first…
A: A computer is a digital electrical device that may be configured to automatically perform series of…
Q: 9. PlWrite a function to gather the following costs from the user: Travel cost: $9,800 Hotel cost:…
A: Explanation: Define the class “Main”. Inside the class, the method “main” is defined. we need The…
Q: Just how come a certain bandwidth has such a bearing? If you can elaborate, that would be great.
A: Bandwidth is actually the volume of information that can be sent from one connection to another in a…
Q: Why are circuit and packet switches still needed in the 21st century, and which is better?
A: The switching techniques used to connect numerous communication devices are circuit switching and…
Q: Even though wired networks are quicker than wireless ones, the best speeds are achieved when using…
A: Wired networks are more quickly than wireless networks. Compared to wifi, a wired connection may…
Q: During a hard real-time system's operation, what is the single most important factor?
A: Introduction: A component of crucial importance in the functioning of hard real-time systemsA piece…
Q: Please fill in the blanks from 26 to 78 in C. /*This program will print students’ information and…
A: Executable Program : //C Program #include<stdio.h>#include<stdlib.h> //Declare a struct…
Q: What are the main advantages of using pre-existing application system components rather than writing…
A: We will first become familiar with both of these notions to get started. Reusing the application…
Q: Write a function to determine the number of bits you would need to flip to convert integer A to…
A: This seemingly complex problem is actually rather straightforward. To approach this, ask yourself…
Q: Would you please provide more information, in particular, on the "principle of non-repudiation"?
A: The guarantee that someone cannot dispute the truth of anything is known as non-repudiation.…
Q: Explain a 3-way TCP/IP Handshake?
A: Three-way handshake The three-way handshake, often known as the TCP 3-way handshake, is a protocol…
Q: Discuss the three main advantages of Wireless Network data processing in comparison to the ethernet…
A: Benefits and Drawbacks of Wireless Networking Wi-Fi, as wireless connections are often referred as,…
Q: What role does morality play in the age of contemporary technology?
A: The following is a list of the key ethical dilemmas that have arisen as a result of innovations in…
Q: According to the results of a super wing-ding diagnostic program that was run on your personal…
A: Due to this: You run a super wing-ding diagnostic programme on your computer, and it informs you…
Q: What is NETBIOS and NETBEUI?
A: Definition: Network Basic Input Output System offers session layer services connected to the OSI…
Q: In what ways is a static picture converted into a series of numbers? When a video is made, what…
A: Video coding: Video coding is a technique for compressing and decompressing digital video. A…
Q: Is there any advantage to using asynchronous programming techniques over more conventional ones? Is…
A: Approaches to asynchronous programming provide the following benefits: 1. Improved responsiveness…
Q: Describe some of the many illegal activities in which Phantom and Dirty engage.
A: The question is solved in step2
Q: Please write a query for dvdrental database. Please list first names of customers starting with…
A: Here is the query for the following question: Query: SELECT DISTINCT first_name FROM customer…
Q: Explain what is the Network Time Protocol?
A: Introduction: A system called Network Time Protocol (NTP) is used to time-synchronize a network of…
Q: .c, which implements the functions in the arrayOptn.h You are already provided with the main()…
A: We need to add the definitions into arrayOptn.h and arrayOptn.cpp
Q: How to ArrayList using list interface program in java
A: The List interface in Java provides a way to store the ordered collection. It is a child interface…
Q: McCain over lunch at the cafeteria. Adele is the senior associate of Spandangle Ltd., a private law…
A: Given : What kind of password attack did she use
Q: Explain a 3-way TCP/IP Handshake?
A:
Q: Write c# code where comments from a page of HTML code are stripped of HTML formatting:
A: code that strips HTML formatting from comments on a page of HTML code given in the next step with…
Q: What does the term "parallel processing" mean in practice?
A: Introduction: Using managerial skills in clinical supervision is referred to as the parallel…
Q: Your company has chosen to spread its product database across multiple servers so that not all…
A: The question is solved in step2
Q: Compilers and assemblers can be programmed to sequence assembly language instructions in a way that…
A: Given:Compilers and assemblers can be made to arrange assembly language instructions in a specific…
Q: Would you please provide more information, in particular, on the "principle of non-repudiation"?
A: The "Principle of Non-Repudiation" states that it is impossible to dispute the veracity of a…
Q: Use text links olease and if possible semantic elements
A: HTML
Q: Is the hardware or software to blame if you turn on your computer for the first time but don't see…
A: Introduction Central Processing Unit, or CPU, is the term for the majority of the computer's…
Q: Define what do you mean by protocol data unit?
A: The above question that is what do you mean by protocol data unit is answered in below step.
Q: We humbly ask that you limit your comments to three or four at most. What does it mean in practice…
A: An abstract framework for human development that is operationally focused on advancing and defending…
Q: Explain what is the Network Time Protocol?
A: Answer : Network Time Protocol (NTP) is a protocol that helps computers synchronize their clocks…
Q: The following network tools that produce a logical topology BUS even though computers have been…
A: The above question that is the deice is used BUS even though computers have been connected to this…
Q: For today's businesses, which firewall design approach has become the standard? Why? Explain.
A: SCREENED SUBNET FIREWALL (WITH DMZ): Screened Subnet Firewalls are the kind of firewalls that are…
Q: Is there a procedure in place to identify potential security flaws in your company's network before…
A: Network Security threats which exactly means that the threat to your network and data systems. Any…
Q: As we discussed, each JVM thread can only execute a single method at a time. What evidence do you…
A: The question is solved in step2
Q: 2. The register that hold the address of the current instruction being executed is called c. Stack…
A: Registers which are a type of computer memory used in order to quickly accept, store, and transfer…
Q: Write a program that can solve for the roots of the quadratic equation of the form ax2+bx+c=0. Use…
A: Here is the MATLAB code for the following one: i. a=2 b=3 c=7 [ roots: -0.75±1.71i ]ii. a=1 b=6…
Q: In many ways, cloud-based software storage solutions are superior to traditional client-based…
A: Cloud storage Cloud storage is a type of storage where we use remote drives to store data at the…
Step by step
Solved in 2 steps with 1 images
- In this exercise, you modify the Grade Calculator application from this chapter’s Apply lesson. Use Windows to make a copy of the Grade Solution folder. Rename the copy Grade Solution-Intermediate. Open the Grade Solution.sln file contained in the Grade Solution-Intermediate folder. Open the CourseGrade.vb file. The DetermineGrade method should accept an integer that represents the total number of points that can be earned in the course. (Currently, the total number of points is 200: 100 points per test.) For an A grade, the student must earn at least 90% of the total points. For a B, C, and D grade, the student must earn at least 80%, 70%, and 60%, respectively. If the student earns less than 60% of the total points, the grade is F. Make the appropriate modifications to the DetermineGrade method and then save the solution. Unlock the controls on the form. Add a label control and a text box to the form. Change the label control’s Text property to “&Maximum points:” (without the quotation marks). Change the text box’s name to txtMax. Lock the controls and then reset the tab order. Open the form’s Code Editor window. The txtMax control should accept only numbers and the Backspace key. Code the appropriate procedure. The grade should be cleared when the user makes a change to the contents of the txtMax control. Code the appropriate procedure. Modify the frmMain_Load procedure so that each list box displays numbers from 0 through 200. Locate the btnDisplay_Click procedure. If the txtMax control does not contain a value, display an appropriate message. The maximum number allowed in the txtMax control should be 400; if the control contains a number that is more than 400, display an appropriate message. The statement that calculates the grade should pass the maximum number of points to the studentGrade object’s DetermineGrade method. Make the necessary modifications to the procedure. Save the solution and then start and test the application.* Question Completion Status: Moving to another question will save this response. Quèstion 5 Simplified form of F=y +x y+y xz is xy + y + x Z xy + y (1 + y z) xy +y (x+y z) xy +y +xz A Moving to another question will save this response.DORM AND MEAL PLAN CALCULATOR A university has the following dormitories: Allen Hall $1,500 per semesterPike Hall $1,600 per semesterFarthing Hall $1,800 per semesterUniversity Suites $2,500 per semesterThe university also offers the following meal plans:7 meals per week $ 600 per semester14 meals per week $1,200 per semesterUnlimited meals $1,700 per semesterCreate an application with two forms. The main form should allow the user to select a dormitory and a meal plan. The application should show the total charges on the second form. For this assignment, you will create two forms (each form is an object). On the first form you will have two list boxes. One will display the Dormitories and the other one will display the Meal Plans. The user will select one Dorm and one meal plan. The user will then click a button the will open up a second form and show the results. I would suggest that you store the Dormitories is a two dimensional array for name and cost. I would suggest that you…
- Function Name: comboLock Parameters: num1 – a positive integer representing the first digit in the combination num2 – a positive integer representing the second digit in the combination num3 – a positive integer representing the third digit in the combination num4 – a positive integer representing the fourth digit in the combination num5 – a positive integer representing the fifth digit in the combination Description: You own a combination lock that only opens when presented with the correct sequence of odd and even numbers that are less than 10. Write a function that takes in 5 integers. Check whether they are in this order: odd, even, odd, even, odd. If they are in the correct order and all below 10, then print the string “You opened the lock.” Otherwise, print “You are locked out.” Test Cases: >>>comboLock(9, 2, 5, 4, 1) You opened the lock. >>>comboLock(1, 8, 3, 6, 8) “You are locked out.” comboLock(2, 2, 5, 6, 4) “You are locked out.” >>>comboLock(9, 8,…Inheritance and Polymorphism This assignment starts with the Account class from Labs 4 and 5. Our new and improved bank has two kinds of accounts, savings, and checking. In addition to an ID and a balance, savings accounts have an annual interest rate and a minimum balance. Checking accounts have a minimum balance and a monthly fee. Withdrawals and deposits can be made to both kinds of accounts. At the end of each month, savings accounts pay interest, but only if the account's balance is above the minimum. Also at the end of each month, a fee is deducted from each checking account, but the fee is waived if the account's balance is over the minimum. Tasks 1. Create a complete UML diagram which shows the relationships between the three classes, Account, Savings, and Checking and all of the fields and methods in each. The only modifications required to the Account class is the addition of two abstract methods called closeMonth and accountString. 2. The closeMonth function performs the…نقطتان )2( what is the output of the following program #include using namespace std; |void p() { Result of 1st expression is : "<<22<Given the formulas in Figure 11, write a program with the following functions to perform the calculations of area of trapezium and volume of cone. The program should include relevant validation processes. Area of Trapezium = ; xh x (a + b) %3D Volume of cone = Figure 11 main() This function will display a simple menu to repeatedly prompt user for calculation options. If the user chosen the option to calculate the area of a trapezium, the program will call the areaofTrapezium() to perform the calculation process. If the user chosen the option to calculate the volume of a cone, then the program will call the volumeOfCone() to perform the calculation. The main() should display the answer of the calculation return from the functions. Sample menu: [A] Area of Trapezium [B] Volume of Cone [Q] Quit Enter your option: areaoffrapezium()No need explanation just give the correct optionDescription: The program starts by asking the user to select either login (L) or sign up (S) feature. Once the user selects a feature, it asks him for (Card Number, then PIN) and after filling the required information for that feature, it shows the above menu for other features. Otherwise, it keeps asking for the required information. Each feature has to be designed using a separate function and it might be called by other functions including the main function. The description of the login feature, sign up feature, and the above features are given below: Sign up Feature – def create(): this feature allows new user to create an account and it saves his information in txt. The required information to be asked in this feature as follows: Card Number: user will enter a card number and should be four digits, each digit is unique and it should not be repeated in the 4-digits card number. This feature will keep running until the user enters the required number with same length and…Q16: select all that applyOverview: Create a coin flip game that allows the user to guess whether the coin will be heads or tails. Save the data associated with the flip. Repeat for a total of 10 guesses/flips. Display result summary and details at end. Technical Requirements: Participant will guess whether a coin flip will result in Heads or Tails Computer will "flip" a coin to determine the side it lands using random generator import random at top of program result = random.randint(x,x) The program will display the results: Guess, Flip, Outcome (Match or No Match) The program will track the results and, when the game is over, display: Summary Detailed result of each turn Use parallel arrays to collect details from each turn that can be displayed as a table when the game is over Use running totals of each result detail to display at endVBA - EXCEL Engine – optional – this indicates the solving method that needs to be used to get to a solution. 1 for the Simplex LP method, 2 for the GRG Nonlinear method, or 3 for the Evolutionary method. This corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box EngineDesc – optional -this is an alternate way of selecting the solving method – here you would type the strings “Simplex LP”, “GRG Nonlinear” or “Evolutionary”. This also corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box What happens when the code demonstrates: Engine:=1, EngineDesc:="GRG Nonlinear" ?SEE MORE QUESTIONS