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

Unite Family

Given three objects

father, mother, and child, write a JS program to concatenate all the objects into the family object using the spread operator.Input

  • The first line of input contains an object father
  • The second line of input contains an object mother
  • The third line of input contains an object child

Output

  • The output should be a single line string with the appropriate statement as shown in sample outputs

Constraints

  • Keys of the objects should be given in quotes

Create a class named Bitkaar. Take the number 65535. Create functions to print in binary, decimal, and hexadecimal. Print number in binary by using the algorithm discussed in the class. For Decimal and Hexadecimal build a logic by your own thinking.


Create a class named as Bitkaar. Take a number 65535. Create functions to print in binary, decimal and hexadecimal. Print number in binary by using the algorithm discussed in the class. For Decimal and Hexadecimal build a logic by your own thinking.


Write a program that computes the area of a circular region (the shaded area in the diagram), given the radii of the inner and the outer circles, ri and ro, respectively.




While executing the above code, when I am giving the input as ("correct","wrong"). I am getting the output as r. And the expected output is No overlapping.


Please suggest the changes.


Create a Java ArrayList of String type “fromCity”, use “Add()” method to add three elements: “Los Angeles”, “San Francisco”, and “Portland”. Create another Java ArrayList of String type “toCity” with three elements: “Seattle”, “Denver”, and “Chicago”. Make two-dimensional array of int type named “distance” whose elements are from table. Be sure to make the elements using the index of [from][to].

4x4 Table:

fromCity \ toCity | 0 | 1 | 2

0 | 1135 | 1016 | 2015

1 | 807 | 1250 | 2128

2 | 174 | 1240 | 2121


Ask user to enter the name of city to “travel from”, use “indexof()” method to find the index of the given city in the “fromCity” ArrayList.

Ask user to enter the name of city to “travel to”, then use“indexOf()” method to find the index of the given city in the “toCity” ArrayList. Find “distance” array and display it.


Write a program using two-dimensional arrays that computes the sum of data in rows and sum of data in columns of the 3x3 (three by three) array variable n[3[3].


Sample input/output dialogue:

5 9 8 = 22

3 8 2 = 13

4 3 9 = 16

---------------

12 20 19


Add two polynomials

Given two polynomials A and B, write a program that adds the given two polynomials A and B.


Sample Input

4

0 5

1 0

2 10

3 6

3

0 1

1 2

2 4

Sample Output

6x^3 + 14x^2 + 2x + 6


Sample input

4

0 5

1 0

2 10

3 6

4

0 -5

1 0

2 -10

3 -6

Sample Output



Sample Input

5

0 2

1 0

2 1

4 7

3 6

5

2 4

3 3

4 5

0 1

1 0

Sample Output

12x^4 + 9x^3 + 5x^2 + 3




How to calculate the value of 6%4 .with explanation


In a digital transmission, the sender clock is 0.2 percent faster than the receiver clock.

How many extra bits per second does the sender send if the data rate is I Mbps?


LATEST TUTORIALS
APPROVED BY CLIENTS