1,518 Answered Questions for the topic computer science

06/28/17

what is the problem with this code

def new password=str(input("Please enter your new password ")) password2=str(input("Please re-enter your password")) if password==password2: print ("Password completed") if password2:... more

06/26/17

Need help writing a code in Java.

I am asked the following.   Write a program that determines change to be dispensed from a vending machine using the least number of coins. An item in the machine can cost between 25 cents to a... more

06/26/17

Trouble with a code segment in Java

  What's wrong with the following code segment?final double TAX_RATE = 0.08;TAX_RATE = 0.0875;   This question is confusing. When I copy this into my Java IDE, it can't compile and i'm left with... more
Computer Science Java

06/26/17

I don't understand this question. Anyone care to help?

I am asked   What are the difference among 1, 1.0, '1', and "1"?   And I don't understand the question at all. Can anyone explain to me or help me with this question? This question pertains to... more
Computer Science

06/13/17

How is security threatened at a University if the computer infrastructure is not kept up to date?

Explain. Would University be in a better or worse situation than a bank, library or a technical company like Microsoft? Explain in comparison to each of the three businesses mentioned.
Computer Science

05/25/17

calculating average access time of a magnetic disk

A magnetic disk has 2000 cylinders, 8 tracks per cylinder, 64 sectors per track, and 2KB per sectors. The rotation time is 25msec, maximum seek time is 600 msec, and switching between adjacent... more
Computer Science Math Technology Google Sheets

05/24/17

Logical IF Function & Google Sheets Confusion

I have to use the logical if function for the following situation.If a student's exam grade is better than their calculated final grade, use the exam grade as their final mark. I have to use the... more
Computer Science C++ Computer Programming

05/19/17

Please help with this C++ programming question

Using pseudo code algorithms! c++ only 1- Detect if three angles can make a triangle. (1) • Hint: In a triangle, the sum of all angles is 180. 2- Switch the value of two numbers (1) • If a=2... more
Computer Science

05/17/17

Comparable comp=new Comparable

Why is this method incorrect?
Computer Science

04/22/17

Operating systems

Race conditions are possible in many computer systems. Consider a banking system with two methods: deposit (amount) and withdraw (amount). These two methods are passed the amount that is to be... more

04/03/17

I need some help with variables.

So, I m in an online coding class and I have been stumped by this challenge. Here are my starting variables:     var x = 5; var y = 11; var z = 4;   I need my output to be: x = 2 y = 6 z... more

03/26/17

Why is it important to document the lines of a batch program and how might you do that and why should you?

A batch file question dealing with command lines
Computer Science

03/21/17

Explain the importance of being able to master the command line in Linux rather than relying on the GUI.

computer tech
Computer Science I.t

02/23/17

I need help with ym computer science I.T Homework Discription Below

The following is the relation notation of a table for a veterinary office. VETERINARY_OFFICE (PetID, PetName, PetType, PetBreed, OwnerID, OwnerLastName, OwnerFirstName, ServiceDescription,... more
Computer Science

02/21/17

Are Group accounts beneficial to other users besides the System Administrator? Explain your reasoning.

Are Group accounts beneficial to other users besides the System Administrator? Explain your reasoning.
Computer Science

02/21/17

what are the applications of calculus in software engineering

i don't know what is description so please give me the answer of my question?  
Computer Science Computer Programming

02/16/17

Please show me the code for this

TasksWrite a program that printsProject 1 written by YOURNAMEand calls two methods:1.The first method should print a sequence of text boxes. The drawBox methodon p. 32 prints one text box, but your... more
Computer Science

01/22/17

What is the final value of the string output given the following Visual Basic code fragment?

Dim counter As Integer = -4 Dim num As Integer = 1 Dim output As String = " "   While counter < 0       num = num + 2       output = output & Convert.ToString(num)       counter =... more
Computer Science

01/22/17

What is the final value of the string output given the following Visual Basic code fragment?

Dim counter As Integer = -4 Dim num As Integer = 1 Dim output As String = "ABC"   While Counter < 0       num = num + 2       output = output & Convert.ToString(num)       counter =... more
Computer Science

01/22/17

What is the final value of the string output given the following visual Basic code fragment?

Dim counter As Integer = 5 Dim num As Integer = 1 Dim output As String = " " While counter < 10 num = num + 2 output = output & Convert.ToString(num) counter = counter + 1 End While
Computer Science

01/01/17

State and prove redundant law of boolean algebra.

Statement and proof
Computer Science

01/01/17

What is the postfix notation of a*b/c+d.

Without any brackets.

12/22/16

If Statements (CS) Visual Basic

1.  intX = 129 intY = 200 intCount = 1   If (intX > 120 And intY < 30) Then intCount = intCount + 1 Else intCount = -1 End If   intCount = ?????   Can someone please explain this... more
Computer Science

12/14/16

What are the first errors in a program that you should try to fix during the debugging process? (They are the most common)

Im just filling this in so I can ask my question.

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.