Task 2: Grading A professor will give the number of students and their grades. You need to calculate the number of students whose grade is less than the average. (base) sebasjr@sebasjr-ubuntu:~$ ./a.out how many students do you have?5 Input the grades 1 2 3 4 10 The number of students who fail is 3 (base) sebasjr@sebasjr-ubuntu:~$ ./a.out how many students do you have?8 Input the grades 1 6 3 8 1 5 2 4 The number of students who fail is 4
Q: In Exercise 13.3-2, you found the red-black tree that results from successively inserting the keys 4...
A:
Q: Write a program that groups the customers of a bank into clusters. These clusters help the bank to i...
A: import java.util.*; class KmeansJ { public static void main(String args[]) { int dataset[][] = { {2,...
Q: Your uncle has given you a new computer monitor. When you try to connect it, you discover that none ...
A: Devices are connected via ports. To connect your computer with the new monitor, you can connect with...
Q: In computer network, bus, star, ring, mesh and tree are types of topology why?
A:
Q: ou may use only the instructions we covered in class: add, sub, addi, lw, sw, and the same rules as ...
A: Given You may use only the instructions we covered in class: add, sub, addi, lw, sw, and the sam...
Q: Identify and describe three types of software that are required to support a company's operations.
A: the answer is
Q: What is the mantissa and exponent for 6.75 in 8-bit binary floating point?
A:
Q: What is Enumerated Integer providing an example to illustrate your point? Assure uniqueness, qua...
A: The solution to the given problem is below.
Q: internet {1 36 1} private (4) enterprises (1) cisco hp (11) 3Com Cabletron (9) (43) (52)
A: The Answer is given below step.
Q: Question:: Examine the advantages and disadvantages of various system models.
A: there are many different types of system models. let's see advantages and disadvantages of them
Q: Need help with CS question. Please stop using chegg answers. This question is different.
A:
Q: Compare the Von Neumann Architecture and the Little Man computer. What are the weakness and strength...
A: answer is
Q: Show that the language {amb n | m ≠ n} is context-free.
A: Here in this question we have given a grammer and we have asked to show that the language is context...
Q: program that allows users to generate Chain based the size and entered by the user. Parent Class : "...
A: Please check the step 2 for program and step 3 for output
Q: Vrite a Python program to show the use of the isinstance() function to check whether the value 0.5 i...
A: Please find the answer below :
Q: What is the difference between hardware and software interrupts, and when do they come into play?
A:
Q: Suppose that our network is made of two computers. The computers are connected to each other with th...
A: Here is the first cable reliability is 90%, 2nd cable is 20% of 90% (9/50%), and for 3rd cable, it i...
Q: In this lesson, we spoke about several rewriting and editing strategies. What is your go-to editing ...
A: Introduction: Editing or revising is making changes to the structure, format, and content. Rewriting...
Q: ery the t cis ers si t ey m (er nt te stareal le t s sta. W t che wwth rs es ae ls. a womrante tte r...
A: I have try best for solution Please check step 2 for code & step 3 for output
Q: When utilizing a logic programming language such as Prolog to tackle computing problems, what are th...
A: Prolog is the main protagonist of the rational program, the type of program that announces. In ratio...
Q: Logical Design (Chapter o Convert the University ER Diagram into relational database schema. (Fname ...
A: answer is
Q: 1. T Every database has more than one primary data file. 2. Т Transaction log helps to restore the d...
A:
Q: Make sure you know the difference between fixed and movable slots. What impact may they have on the ...
A: The distinction between leading edge slats and slots is that slats were movable and it can be withdr...
Q: Explain what the memory addressing capacity of the 20-bit address bus will be.
A: The Explanation is given below step.
Q: Name three features of the 8086 that were improvements over the 8080/8085.
A: The microprocessor(MP) would be a computing chip that incorporates information processing functional...
Q: There are 4 paths as follows: Path 1: Start → 1 → 4 → 5 → 6 → 7 → 8 → 9 → 10 → End ...
A: SOLUTION:- 1.1 Activity/event a c b Mean Variance Start 1 5 15 30 16.6666667 158.333333 2 5...
Q: What is the difference between using +/- versus = when setting file permissions? Is there any benefi...
A: +/- is used to add or remove permissions for a file. = is used to specify new permissions and remove...
Q: Examine the advantages and disadvantages of various system models.
A: Introduction: System modeling is constructing abstract models of a system, each of which gives a dif...
Q: There are blank 3 digit counting numbers that are made using only the odd digits 1,3,5,7,9?
A: Here in this question we have we have asked to make 3 digit numbers from 1,3,5,7,9. Note- here nothi...
Q: Is there anything an organisation can do to prevent policy violations or crimes? Discuss.
A: Handling Policy Violations: When an employee violates coverage, certainly one of two things is commo...
Q: Decide whether the given set of sentences are Con Inconsistent. 1. SM -~ C & [U v (- C & B)] C 2. SM...
A: Lets see the solution in the next steps
Q: Describe a cloud storage application and explain how it varies from a traditional client storage sof...
A: Intro Describe a cloud storage application and explain how it varies from a traditional client s...
Q: Write a Python program to show the use of the isinstance() function to check whether the value 0.5 i...
A: Approach: The isinstance() function in Python takes the object and the class as the parameters and r...
Q: Describe the tools and technologies that are uti
A: Describe the tools and technologies that are utilized to enable information technology project manag...
Q: Explain the phrase "balanced scorecard" in just a few words. What role does it play in the operation...
A: So basically this term "balanced scorecard" refers to a strategic management performance metric whi...
Q: Identify and explain the mode of data transfer in which cpu continuously monitor the status register...
A: Let's understand step by step : Mainly there are 3 types of mode of transfer : 1. Programmed I/O...
Q: Instruction: Identify if the following is UNIQUE IDENTIFIER or NOT. Promotion ID File Upload
A: "Promotion ID" is UNIQUE IDENTIFIER because user A's promotion ID will be different from User B's pr...
Q: What is a Native vlan
A: The solution to the given problem is below.
Q: 1. Which of the following best explains the concept of a 'weak signal? a Information that is too wea...
A: Information that is too weak to be of any use in forecasting trends Information that is wrong and ...
Q: 1. Create a class called MyFriends, with the following attributes variables: a. studentArray(Student...
A: Introduction: As per our policy, "Since you have asked multiple questions, we will solve the first q...
Q: How do you make sure each machine utilises its own private key pair while using IPsec?
A: Introduction: Asymmetric (secret-key) and symmetric (public-key) algorithms are the two forms of key...
Q: Perform addition/subtraction on the following pairs of signed binary numbers indicating when overflo...
A:
Q: What is the RAND Corporation's Report? Why was it created? What was in RAND Report R-609?
A: What is RAND report? RAND reports present research findings and objective analysis that address the ...
Q: Write a program (WAP) in c to create an undirected graph using adjacency matrix representation. Numb...
A: The code is given below
Q: Question:: Examine the advantages and disadvantages of various system models.
A: There аre fоllоwing tyрes оf Орerаting systems: Bаtсh Орerаting SystemTime-Shаring Орerаtin...
Q: ote down the advantages of using the Midpoint line drawing algorithm over the DDA algorithm.
A: The Mid Point Line Drawing Algorithm is a well-known line drawing algorithm in computer graphics. T...
Q: What are the benefits of including animation into a presentation?
A: Introduction: A PowerPoint presentation might benefit from animation to make it more vibrant and mem...
Q: Neutral Networking problem: Do not copy-paste anything from google or any previous solves. kindly wr...
A: Neutral Networking problem: Do not copy-paste anything from google or any previous solves. kindly wr...
Q: As a programmer, you want to create a function to arrange the names of the actors and actresses base...
A: 1. loop for each country i. loop for each artist type a. loop for each name ...
Q: A MAC computer can be acquired easily by __________ Imaging RDP Connection to anot...
A: The Remote Desktop Protocol can be used in acquiring the MAC easily.
Please write the code in C
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
- Please do it in c++ as soon as possible. Skip if you don't know. Little Johnny Bubbles appreciates going through hours before his PC playing computer games. His #1 game is Bubble Strike, speedy air pocket shooting internet game for two players. Each game is set in one of the N maps, each having diverse landscape setup. First period of each game settles on which map the game will be played. The game framework arbitrarily chooses three guides and shows them to the players. Every player should pick one of those three guides to be disposed of. The game framework then, at that point, arbitrarily chooses one of the guides that were not picked by any of the players and starts the game. Johnny is profoundly energetic with regards to the game and needs to invest some energy concentrating on maps, in this manner expanding opportunities to dominate matches played on those guides. Nonetheless, he likewise needs to get his work done, so he doesn't have the opportunity to concentrate on every…Question 4: Ask the user for an account balance. Show, in descending order, all the accounts that have a balance greater than what the user input. Each entry is int, string, long, double, boolean (name length, name, credit card number, balance, cashback). File that was given https://bes.hypergrade.com/api/user/file/1923815 NOTE: It has to be printed and sorted by Balance (Higher value on top) =========================================== File one --------------------- public class Person implements Comparable<Person> {private long account;private String name;private double balance;private boolean YN;public Person(String name, long account, double balance, boolean YN) {this.account = account;this.balance = balance;this.YN = YN;this.name = name;}@Overridepublic int compareTo(Person per) {int compare = name.compareTo(per.name);if (compare == 0) {return 0;} else if (compare < 1) {return -1;} else {return 1;}}/*** @return the balance*/public double getBalance() {return…4) You are in charge of writing a JavaScript code to tell the user how well his/her password is as it is typed in. What is the best approach?A) Add onsubmit to submit button. Show message if password is weak and return false. B) Add onsubmit to submit button. Disable update button if password is too weak. C) Add onchange to password field. Update a message as password is changed. D) Add onfocusout to password field. Update a message as password is changed. 5) What event can we use to animate a picture once it is downloaded?A) onchange B) onload C) ondownloaded D) ongranted
- Please answer properly with output screenshot must Where is the error in this code? from telethon.sync import TelegramClientfrom telethon.tl.functions.messages import GetDialogsRequestfrom telethon.tl.types import InputPeerEmptyimport os, sysimport configparserimport csvimport time re="\033[1;31m"gr="\033[1;32m"cy="\033[1;36m" def banner():os.system('clear')print("ok") cpass = configparser.RawConfigParser()cpass.read('config.data') try: api_id = cpass['cred']['id'] api_hash = cpass['cred']['hash'] phone = cpass['cred']['phone'] client = TelegramClient(phone, api_id, api_hash)except KeyError: os.system('clear') banner() print(re+"[!] run python3 setup.py first !!\n") sys.exit(1) client.connect()if not client.is_user_authorized(): client.send_code_request(phone) os.system('clear') banner() client.sign_in(phone, input(gr+'[+] Enter the code: '+re))os.system('clear')banner()chats = []last_date = Nonechunk_size = 200groups=[]result =…(This is for Cengage Mindtap, highly recommend using this. If not available, use devc++ version 5.11 but Cengage will be more precise sometimes.) The following formula gives the distance between two points, (x₁,y₁) and (x₂,y₂) in the Cartesian plane: \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}(x2−x1)2+(y2−y1)2 Given the center and a point on the circle, you can use this formula to find the radius of the circle. Instructions Write a program that prompts the user to enter the center and a point on the circle. The program should then output the circle’s radius, diameter, circumference, and area. Your program must have at least the following functions: distance: This function takes as its parameters four numbers that represent two points in the plane and returns the distance between them. radius: This function takes as its parameters four numbers that represent the center and a point on the circle, calls the function distance to find the radius of the circle, and returns the circle’s…using jgrasp please write the following JAVA code with the following directions, there's an example for your reference as well The total number of apples grown in the last 8 years is 68,700.0The average number of apples grown in the last8 years is 8,587.5The year with the largest number of apples grown is 2019 with 11, 000.0 applesgrown.The year with the smallest number of apples grown in 2015 with 5,300.0 applesgrown.
- The general speed limits in the Philippines in 60 km/h on most highways and 100 km/h on expressways. Your goal here is to compute the speed of automobiles based on distance travelled and time taken to cover this distance. Note: For this problem, you need to format the output to print the appropriate number of decimal places. You need to use System.out.format (Read: https://docs.oracle.com/javase/tutorial/java/data/numberformat.html) Input The input is composed of four positive integers representing the distance traveled in meters, and the 3 other inputs representing the time in hours, minutes, and seconds it took to cover the given distance. 2500·5·56·23 Output Output should contain 3 computed speeds i.e. meters/second, kilometers/hour, and miles per hour (note that a mile is equivalent to 1609 meters) separated by a space. 0.12·0.42·0.26'''Returns a pair consisting of the max value in the AD, and of the set of keys that attain that value. This can be done in 7 lines of code. "" Question 2, please. Also please code in python. Fucus on the def ad_max_items(self):] """ Returns a pair consisting of the max value in the AD, and of the set of keys that attain that value. This can be done in 7 lines of code.""" # YOUR CODE HERE **important** You might have to right-click and open image in a new tab for a clearer imageYou have a group of friends coming to visit for your high school reunion, and you want to take them out to eat at a local restaurant. You are not sure if any of them have dietary restrictions, but your restaurant choices are as follows: Joe’s Gourmet Burgers—Vegetarian: No, Vegan: No, Gluten-Free: No Main Street Pizza Company—Vegetarian: Yes, Vegan: No, Gluten-Free: Yes Corner Café—Vegetarian: Yes, Vegan: Yes, Gluten-Free: Yes Write a program that asks whether any members of your party are vegetarian, vegan, or gluten-free, to which then displays only the restaurants to which you may take the group.
- First you should ask for the number of tasks to perform. Then you should create a list of tasks with that many entries. Ask the user if they have completed each task. Report the tasks that have yet to be completed. linux[0]$ python3 hw3_part1.py How many tasks do you have? 3 Enter next task: Eat Lunch Enter next task: Feed Pupper Enter next task: Write Homework Here are your tasks: 1. Eat Lunch 2. Feed Pupper 3. Write Homework Have you completed "Eat Lunch"? (yes/no) no Have you completed "Feed Pupper"? (yes/no) yes Have you completed "Write Homework"? (yes/no) no A remaining task is Eat Lunch A remaining task is Write Homework linux[1]$ python3 hw3_part1.py How many tasks do you have? 0 That's either negative or zeroBuild Brothers company in C A civil engineering company called Build Brothers has approached you to write a program to help some of their employees with getting their job quicker specially when it comes to calculating different equations in their construction projects. Currently, they use the following PDF to perform all their calculations: http://www.madison-lake.k12.oh.us/userfiles/680/Classes/16192/IED-Review%20Engineering%20Formula%20Sheet.pdf They are willing to develop a small software to calculate all the functions and calculations in the above cheat sheet. They have made this decision to reduce inherent human errors during calculation and improve efficiency. They think that these can be achieved by an “advanced calculator” that allows a user to choose an equation, provide the inputs, and calculate the outputs. Before the company invests on the final product, the have agreed on developing a proof-of-concept first. The idea is that your solution will ‘prove’ that a better…create a script that will parse data from Rotten Tomatoes, a movie reviews website. The work you have to do is identical to what we covered in lectures 4 and 5, albeit for a different website. Please read and follow the instructions below very carefully. Step 1 Your script should begin by defining two variables (after importing libraries, etc) movie a string variable indicating the movie for which reviews will be parsed pageNum the number of review pages to parse For example, to parse the first 3 pages of the Gangs of New York reviews, set movie ‘’gangs_of_new_york” and pageNum = 3. Your code should go to the movie’s All Critics reviews page of rotten tomatoes, and parse the first three pages of reviews. Pagination on rotten tomatoes happens by clicking on the “Next” button. Step 2 For each review contained in each of the pages you requested, parse the following information The critic This should be 'NA' if the review doesn't have a critic’s name. The rating. The rating…