1,534 Answered Questions for the topic computer science

09/04/20

What is the growth rate function and time complexity of the following code:

Set I=nwhile I>1 J=1 while J<n K=1 while K<n K+=2 J*=2 I/=2
Computer Science Computer Programming

09/04/20

What is the growth rate function and time complexity of the following code:

void fun(int n, int arr[ ]){int i, j, k=0;for(; i<n ;++i) while(j<n && arr[i]< arr[j ]) j++;}
Computer Science

09/03/20

Computer Science java spell out alabama

Write a Java program to spell out ALABAMA using 7x7 block letters. Your program should produce one letter per line spell out the complete vertical word ALABAMA.
Computer Science Python

09/02/20

Python code using an array at GCSE level

Hello, I'm having trouble converting this algorithm into a python code using an array. The algorithm is that: the code asks the user for input (of a integer) for the value of a,b,c,d,m and n. It... more
Computer Science C++ Computer Programming

08/29/20

How to write this in c++ structures language?

Consider that you are given with a database of employee records (at least 5).Each employee record having following information –Emp_id(integer) Emp_name(string) Emp_city(string)Assume that Emp_id... more
Computer Science

08/29/20

What is 2's Complement Notation?

Computer Science Psychology

08/26/20

AP Comp Sci or AP Psyc?

If a student wants to major in business, would it be more beneficial for that student to take AP Comp Sci or AP Psyc in high school?

08/23/20

I want to ask about an sql injection vulnerability. I did't find a way to exploit it.

I wanna know if vulnerability really exists if it exists if it is exploitable. Zap tool give me some info like this.... ' | case randomblob(10000000) when not null then'''' else '''' end But i can'... more
Computer Science Math Computer Programming Maths

08/01/20

Error Calculation of a expression

How do we calculate the(i) absolute error(ii) relative error(iii) percentage error, of the formula, ((y)^(1/2)) + (x/y) + (x*(e^(2x)))if the values of x=0.906 , y=1.036, where the values are... more
Computer Science

07/30/20

Commonly used, shared code libraries that are freely available for anyone to use are called?

In computer science what would this be called in code libraries?
Computer Science

07/30/20

Running python code where you put a set of python statements into a text file with a .py extension is called what mode?

What happens with python statements?
Computer Science

07/30/20

If W = 5.50, what would be the output to this code: print(type(W))

I am looking for the output of this code
Computer Science Algebra 1 Algebra 2 Algebra

07/27/20

How to calculate the minimum amount of time to reach sought value with multiple variables?

A person has two jobs and gets payed $500 per week from one job, and gets payed $1100 every two weeks from the other job. How many weeks does it at least take for the person to gain $10,000?

07/24/20

knowledge in “code of ethics’”

Refer to the guide “ACM Code of Ethics and Professional Conduct” (https://www.acm.org/code-of-ethics)Based on your understanding from this guide, relate and then suggest any 5 FIVE guidelines of... more
Computer Science Computer Programming

07/22/20

Methods and Modularity

Describe the methods and modularity you might use in creating an application.  Is there a process or standardization you can think of to ensure that your application is produced in an appropriate... more

07/20/20

Java Programming - Unclosed Literal

For the following code I'm getting an error message saying :test.java:78: error: unclosed character literal Person p = new Person(1, "G", 12,'female'); ... more

07/17/20

computer sciiii

Computer Science Computer Programming Python

07/17/20

Computer Science (Python)

Computer Science Computer American History Physics

07/14/20

How did old computers run without operating systems?

The first operating systems were discovered in the 1950s. So how did older vacuum tube computers like Z3, Mark 1, ENIAC , EDVAC, etc work in the 1940s and earlier? There were said to be programmers... more

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 Math Science Physics

07/11/20

A cannonball is shot (from ground level) with an initial horizontal velocity of 34 m/s and an initial vertical velocity of 26 m/s.

A cannonball is shot (from ground level) with an initial horizontal velocity of 34 m/s and an initial vertical velocity of 26 m/s.1)What is the initial speed of the cannonball?2)What is the initial... more
Computer Science Science Physics Actuarial Science

07/11/20

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 Physics

07/11/20

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 Physics

07/11/20

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 Physics

07/11/20

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

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.