Find an Online Tutor Now

390 Answered Questions for the topic computer science

Computer Science Calculus Computer Programming

1d

Calculus trapezoidal and simspsons rule using python programming

this question is to be sovled using python programmingFor each of the integral given below, do the following using Python Programminga)         plot the graph related to Trapezoidal's rule or... more
Computer Science Science Physics

1d

The ball leaves Julie's hand a distance 1.5 meters above the ground with an initial speed of 12 m/s at an angle 47 degrees

Julie throws a ball to her friend Sarah. The ball leaves Julie's hand a distance 1.5 meters above the ground with an initial speed of 12 m/s at an angle 47 degrees; with respect to the horizontal.... more
Computer Science Math Science

1d

Ted Williams hits a baseball with an initial velocity of 120 miles per hour (176 ft/s) at an angle of θ = 35 degrees to the horizontal.

Ted Williams hits a baseball with an initial velocity of 120 miles per hour (176 ft/s) at an angle of θ = 35 degrees to the horizontal. The ball is struck 3 feet above home plate. You watch as the... more
Computer Science Math Calculus

2d

A blue ball is thrown upward with an initial speed of 23.5 m/s, from a height of 0.7 meters above the ground. 2.9 seconds

A blue ball is thrown upward with an initial speed of 23.5 m/s, from a height of 0.7 meters above the ground. 2.9 seconds after the blue ball is thrown, a red ball is thrown down with an initial... more
Computer Science Math Calculus

2d

A tortoise and hare start from rest and have a race. As the race begins, both accelerate forward. The hare accelerates uniformly at a rate of 0.9 m/s2 for 4.5 seconds.

A tortoise and hare start from rest and have a race. As the race begins, both accelerate forward. The hare accelerates uniformly at a rate of 0.9 m/s2 for 4.5 seconds. It then continues at a... more
Computer Science Math Science

2d

A red ball is thrown down with an initial speed of 1 m/s from a height of 27 meters above the ground.

A red ball is thrown down with an initial speed of 1 m/s from a height of 27 meters above the ground. Then, 0.7 seconds after the red ball is thrown, a blue ball is thrown upward with an initial... more
Computer Science General Computer

11d

Explain the following terms Parrallel programming Pipelining

Explain the following terms Parrallel programming Pipelining

Briefly explain the roles of instruction Registers and Program counter

Briefly explain the roles of instruction Registers and Program counter
Computer Science Computer Programming

11d

Give four reason for the account of the use Input and output modules instead of connecting peripheral directly into the system bus

Give four reason for the account of the use Input and output modules instead of connecting peripheral directly into the system bus
Computer Science C++ Computer Programming

20d

Design a class template, Collection, that stores a collection of Objects (in an array), along with the current size of the collection.

Provide public functions isEmpty, makeEmpty, insert, remove, and contains.contains(x) returns true if and only if an Object that is equal to x ispresent in the collection.
Computer Science C++ Computer Programming

20d

Rehashing requires recomputing the hash function for all items in the hash table. Read more.....

Since computing the hash function is expensive, supposeobjects provide a hash member function of their own, and each objectstores the result in an additional data member the rst time the... more

Any help please.

Define a Rectangle class that provides getLength and getWidth. Usingthe findMax routines in implementation, write a main that creates an arrayof Rectangle and finds the largest Rectangle first on... more

Using the quicksort implementation, determine the running time of quicksort for random input, sorted input and reverse-order input.

This is the implementation.template <typename Comparable>void SORT( vector<Comparable> & items ) { if( items.size( ) > 1 ) { vector<Comparable> smaller;... more
Computer Science Java Computer Programming

20d

Java Classes & Objects

How do we calculate the average marks of s, s1, s2 & s3class Test{ public static void main(String args[]){ Student s; s = new... more
Computer Science Computer C++

27d

File Compression and multi-dimensional arrays

"Need a new c++ code done in Dev-C++ 5.11""Compiler set to configure TDM-GCC 4..9.2 64-bit Release"Scenario (need c++ coding)A simple matrix could be used to store data about images by using 1’s... more
Computer Science

28d

what's the easiest way to do file compression and multi-dimensional arrays

Computer Science Computer Organization

29d

Computer Organization Question

Write a set of instructions to evaluate the arithmetic expression given below: X= (A * B)/(C – D + E) + F i)       Using General register computer with two address instructions ii)     Using an... more

06/10/20

Computer coding

What does this function do? float function(int x) { float result = 0.0; float sign = 1.0  for (int n = 1; n <x;n = n + 2) { result = result + sign / n; } return 4.0 *... more

06/10/20

Float function (computer coding)

What does this function do? float function(int n) { float result = 1.0; float factor = 1.0 + 1.0 / n for (int i = 0; i <n; ++i) { result = result * factor } return... more

06/10/20

Computer coding hw question

What sort of runtime error will occur when this program is run? void countdown () {   int i = 100;     int n = 5;   while (i > 0) { i = i -n; n = n / -1; print (i + n) ; Divide by... more
Computer Science Java Computer Programming

06/07/20

I am having difficulty on why my program cannot be outputted. Can you please tell me where I did wrong. My code is pasted below.

import hsa.Console;import java.awt.*;import java.io.*;import java.util.*;public class HangMan{ static Console c; public static void main (String []args) throws IOException { // Main Method. ... more
Computer Science Java Coding

06/07/20

I need to have a functional code that can do the following requirements. My game is hangman. My question is that I don't what to start.

I need a functional program that has all the requirements:Final Programming Assignment.For the selected game, my program must provide the following features: • Player vs Computer format. • A game... more
Computer Science

06/07/20

Data Structures

Are your familiar with Data Structures?
Computer Science C++ Computer Programming

06/07/20

File Compression and multi-dimensional arrays

Scenario (need c++ coding)A simple matrix could be used to store data about images by using 1’s and 0’s to represent darkand light shades of color similar to a bitmap. You will find a file data.txt... more
1 3 4 5 6 7 16

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.