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

in a function named my_sqrt that takes a as a parameter, chooses a starting value for x, and returns an estimate of the square root of a.

while True:
y = (x + a/x) / 2.0
if y == x:
break
x = y

Write a Python program that gets a number using keyboard input. (Remember to use input for Python 3 but raw_input for Python 2.)

If the number is positive, the program should call countdown. If the number is negative, the program should call countup. Choose for yourself which function to call (countdown or countup) for input of zero.

Provide the following.

  • The code of your program.
  • Output for the following input: a positive number, a negative number, and zero.
  • An explanation of your choice for what to call for input of zero.
The following Boolean operator(s) will narrow a search:
1. AND
2. AND; NOT
3. OR; NOT
4. OR
Consider the following sequence. Apply merge sort algorithm to sort the given data and
then apply binary search to find the element 30 in the array.
12, 56, 12, 45, 45, 45, 33, 5, 5, 5, 27, 27, 27, 27,30
Q1.To convert temperature in degrees, Fahrenheit to Celcius, one must subtract 32 from the Fahrenheit figure and multiply the result by. 5/9.for example to convert 50°F to Celcius, you proceed as follow (50-32) ×5/9=10°C. Write a C++ program which will ask the user to input five different temperature values in Fahrenheit and output their equivalent in celcius in tabular form with the headings Fahrenheit to Celcius

Give an example of a class and an example of an object. Describe what a class is, what an object is, and how they are related. Use your examples to illustrate the descriptions.


Student report card system project. It has two section which is for teacher and for public view. For teacher it can create student record, delete record and modify record. For the public view they can view the whole class record and they also can view their own record by input their own roll number.

Write C++ program to take input in variables "n" and "L" from user and print following character pattern

.For reference, ASCII chart is also given below.

Sample inputs and output are shown below

n=5, L=’A’

A

*C

**E

***G

****I

*****K

****I

***G

**E

*C

A


For sample inputs: n=5, L=’a’

a

*c

**e

***g

****i

*****k

****i

***g

**e

*c

a


Discuss the concept of parameters. What are parameters for? What is the difference between formal parameters and actual parameters? Give an example in Java code that illustrates formal parameters and actual parameters.
write a function norep(x:str)->bool:
if the characters appear twice, it should return False, and character length should be at least 6.
LATEST TUTORIALS
APPROVED BY CLIENTS