1,534 Answered Questions for the topic computer science
Computer Science Computer Programming
12/05/20
python question
Write a python program using a function to prompt the user for hours and rate per hour to compute gross pay. Pay should be the normal rate for hours up to 40 and two times for the hourly rate for...
more
Computer Science Computer Programming
12/05/20
PYTHON QUESTION
Write a python program using a function to prompt the user for a score between 1 and 100. If the score is out of range, print an error message and exit. If the score is between 0 and 100, print a...
more
Computer Science Data Structures
12/04/20
Write an algorithm
Write an algorithm for converting sorted array to Binary Search Tree(BST).
Computer Science Data Structures
12/04/20
Write an algorithm
Write an algorithm for converting BST to circular doubly linked list with space complexity O(1).
12/03/20
Please help with CS
True or False and explain, Methods can exist inside the main (Runner) class.True or False and explain. The toString() method is unique and defaulted to every object. True or False and explain. You...
more
12/02/20
C++ Help Finish Code Has Error's Encrypt/Decrypt Using Substitution and Caesar Cipher
Here is my code so far please help me fix it.#include<iostream>#include<vector>#include<set>#include<string>using namespace std;class Substitution { int key; string...
more
12/02/20
Need C++ coding Help Encryption and Decryption Using Substitution and Caesar Cipher.
Program Specification:Using the techniques presented during this semester create a complete C++ program to emulate anEncryption/Decryption Machine. The machine will be capable of the following:...
more
11/30/20
Write a C program that implements a simplistic version of the linux cut command.
Write a C program in 3 files as follows:a11.c -main functiona1funcs.c -functions used by maina1funcs.h -prototypes for functions defined in assign2funcs.cYour program implements a simplistic...
more
Computer Science C Programming
11/30/20
Write a C program that implements a simplistic version of the linux cut command.
Write a C program in 3 files as follows:a11.c -main functiona1funcs.c -functions used by maina1funcs.h -prototypes for functions defined in assign2funcs.cYour program implements a simplistic...
more
11/27/20
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:
Q. Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process Burst Time P1 66 P2 33 P3 57 P4 ...
more
11/22/20
Can someone do me this project?-java
The project description:As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospital with the following requirements:• The Hospital has several employees and...
more
11/22/20
Can someone fix my code based on my comment under this question? *java*
My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]...
more
11/21/20
Can someone fix my code based on my comment under this question? *java*
My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]...
more
11/21/20
It has been found that in a certain disk drive about 80% of all requests are for a small...
It has been found that in a certain disk drive about 80% of all requests are for a small, fixed number of cylinders. Which of the scheduling algorithms will you recommend for this situation?...
more
11/18/20
Help!! How to solve these matlab problems?
Problem1:Enter the following data into the Matlab command window.A=[02: 1 4];B=[1 3; 2 6]:What is A*B? What is A.*B?What does A.^-I produce verses A^-1?Problem3:Given the matrix: M=[1 1; 1 3;]; Use...
more
11/17/20
How to write or solve these problems in matlab?
Problem1:Enter the following variables into your command window:A=[1 2 3:];B=[1:2:3];Can you subtract A from B?Can you add A to A?Problem2: Enter the following data into the Matlab command...
more
11/15/20
Understanding Sequential Statements
In this lab, you complete a C++ program with the provided data files. The program calculates the amount of tax withheld from an employee’s weekly salary, the tax deduction to which the employee is...
more
11/15/20
Understanding Operator Precedence and Associativity
In this lab, you complete a partially written C++ program that is provided for you. The program, which was written for a furniture company, prints the name of the furniture item, its retail price,...
more
11/15/20
Declaring and Initializing C++ Constants
In this lab, you declare and initialize constants in a C++ program. The program, which is saved in a file named NewAge2.cpp, calculates your age in the year 2050.Instructions
Declare a constant...
more
11/15/20
Declaring and Initializing C++ Variables
Declare an integer variable named myNewAge.
Declare and initialize an integer variable named myCurrentAge. Initialize this variable with your current age.
Declare and initialize an integer...
more
11/15/20
Compiling and Executing a C++ Program
Modify the program so it displays I'm learning how to program in C++.
Modify the C++ Programming program so it prints two lines of output. Add a second output statement that displays That's...
more
11/15/20
Compiling and Executing a Java Program
Modify the program so it displays "I'm learning how to program in Java.".
Modify the Programming class so it prints two lines of output. Change the class name to Awesome. Add a second output...
more
11/15/20
solving a practice question about finishing a python equation
2. You are considering buying a house and wondering what is the maximum amount of loan you can afford to borrow. Assuming the current interest rate for 30-year term loan is 3.0%, and you can afford...
more
11/15/20
question about programming
What does it mean when you are asked to create a method that will accept one time objects and return true if the two times are the same and false otherwise?
11/14/20
HELP IN JAVA CODE ASAP
Write a JAVA CODE that:
Display all prime numbers less than 50
Display all factors of 50
Display only the prime factors of 50
Determine whether 50 is a perfect square or
Exit the program
Has to...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.