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

Given a sentence S, write a program to print the frequency of each word in S. The output order should correspond with the word's input order of appearance.


Create a class named Rectangle. Make 4 2-D points. Create the following function: -

1)Input Function.

2)Area Function. (In this function area will be calculated and returned).

3)IsRectangle (This will return Boolean i.e. if it is a rectangle, it will return true else it will return False)

4)Output Function.

5) Length Function.

6) Height Function.

7) Perimeter Function.

8) Diagonal Function.


Create a class named as RightAngleTriangle. In a right Angle Triangle, there are 3 points, which are 2-D points. There will be 3 members(vertices) i.e. Point2DA, Point2DB, Point2DC. Create the following function:-

1)Input Function.

2)Area Function. (In this function area will be calculated and returned).

3)IsRightAngleTriangle (This will return Boolean i.e. if it is a right angle triangle it will return True else it will return False)

4)Output Function.

5) Base Function. (It will return the length of Base).

6) Perpendicular Function. ( It will return the length of Perpendicular).

7)Hypotenuse Function. (It will return the length of Hypotenuse).

8)Alpha Function. ( It will return the angle between Base and Hypotenuse).

9)Beta Function. ( It will return the angle between Hypotenuse and Perpendicular).


Write a program to print the absolute difference between the two given numbers. (Absolute difference is the difference without the negative sign)


Make two 3D-points in a 3-Dimensional space. Calculate the distance between these two points. Instead of integer data type, use any other datatype for x,y,z values. Create an object pt, and call distance function as pt.Distance(pt2), which will calculate the distance between two 3-D points.


Make two 2D-points, points in cartesian plane. Calculate the distance between these points.


String Slicing

Given two strings

inputString and subString as inputs, write a JS program to slice the inputString if it includes the subString. Slice the inputString starting from the subString to the end of the inputString.Input

  • The first line of input contains a string inputString
  • The second line of input contains a string subString

Output

  • The output should be a sliced string or inputString (if the inputString does not include the subString)

Write a function to add two 1D array elements. Use call by reference and return the sum array elements to the main function to printWrite a function to add two 1D array elements. Use call by reference and return the sum array elements to the main function to print


Implement a C++ program to perform addition and multiplication on two numbers, where the first number has to declare in namespace named as “window” and the second number has to declare in namespace named as “wind”.


Question 1: In your own idea, what is padlike device?

Question 2: In your own opinion and knowledge, how are you going to do the overall design process of HCI?


LATEST TUTORIALS
APPROVED BY CLIENTS