Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

A batch of concrete is made using the following materials *cement=30,000kg *Sand=50,000kg *Gravel=17,500kg *Water=3000kg a)Write a C++ program code to calculate and display the amount of sand in a real number and a percentage of the total mass of concrete. b)The amount of water in real number,and a percentage of the amount of cement.​

SHUTDOWN The SHUTDOWN command, which is sent from the client to the server, is a single line message that allows a user to shutdown the server. A user that wants to shutdown the server should send the ASCII string "SHUTDOWN" followed by the newline character (i.e., '\n'). Upon receiving the SHUTDOWN command, the server should return the string "200 OK" (terminated with a newline), close all open sockets and files, and then terminate. A client-server interaction with the SHUTDOWN command looks like: c: SHUTDOWN s: 200 OK

LOGOUT Terminate only the client. The client exits when it receives the confirmation message from the server. A client-server interaction with the LOGOUT command looks like: C: LOGOUT S: 200 OK

Format You may work in a team of no more than two students. You may choose to work by yourself, or with one other person. Not 12 other people. Not 3 other people. Not 2 other people. Teams can be only 2 people.


LOGIN This is the command a client must initiate in order to gain access to anything on the server. It would be in the following format: C: LOGIN john john22 S: SUCCESS Or, if the login information is incorrect (username or password, or both are wrong): C: LOGIN dude dude111 S: FAILURE: Please provide correct username and password. Try again.

LIST Two options for this command: • With no flags, the LIST command returns a list of all the solutions requested by this particular user (e.g., john will only see the contents of john_solutions.txt) • With the -all flag o If the user is root, who is successfully logged in, the command lists all of the solutions requested (including root’s own) from all of the files, organized by username A regular (flagless) interaction might look like the following (see above commands issued under 


You will write two programs, a server and a client. The server creates a socket in the Internet domain the results to the requester. The client will also create a socket in the Internet domain, send requests to the SERVER_PORT of a computer specified on the command-line, and receive responses through this socket from a server. For this assignment, you just need to allow one active client to connect to the server. For this project, you will not allow new user sign-up or deletion of any of the users. bound to port SERVER_PORT (a constant you should define in both programs, you may use 4 digits of your birth year). The server receives requests through this socket, acts on those requests, and returns

Your client operates by sending LOGIN, SOLVE, LIST, SHUTDOWN, LOGOUT commands to the server. You should create a client that is able to send any of the commands above, and allows a user to specify which of the commands the client should send to the server. 


how to transfer data from java txt file to JTable


create a program that accept integer and determine if the integer value is odd or even number


Q1) Create a class with Customer with the following properties CustomerID and CustomerName and in that class only write functions:




a. List<Customer> retriveCustomers() to fill the customer class with objects and retrieve filled details of the customer .




b. FindCustomer (List<Customer> clist1,int custid1) find the customer from the above list of customers by fetching id from the user.




c. Updatecustomer(List<Customer> clist1, int custid1) to update a particular customer when id is given




d. Deletecustomer (List<Customer> clist1,int custid1) to delete the particular customer when id is given .

Apply the mathematical formula to find Fibonacci of the given number


using recursive functions.

Make 3D heart with Happy Valentine's Day inside using python code


Design a flowchart and pseucode for question


A bank in your town updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer’s balance falls below the minimum balance, there is a service charge of $10.00 for savings accounts and $25.00 for checking accounts. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows: * Savings accounts receive 4% interest. * Checking accounts with balances of up to $5,000 more than the minimum balance receive 3% interest; otherwise, the interest is 5%. Write a program that reads a customer’s account number (int type), account type (char) s for savings, c for checking, minimum balance that the account should maintain, and current balance.


LATEST TUTORIALS
APPROVED BY CLIENTS