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 & Filtering

Write a Java program to do the following, using Object Class and Driver Class

a) Read two-dimensional array (3 x3).

b) Find the diagonal elements of the array.


Write a Java program to obtain transpose of a 4 x 4 matrix. The Transpose of the matrix is obtained by exchanging the elements of each row. With the elements of the corresponding column. using Object Class and Driver Class


Designing module for managing collection of product type data

This solution code should contain definition for product model along with it’s properties. The program should also provide impelementations of CRUD operations for the Product model

This exercise contains project for solution code for Product entity and Product Repository classes

  1. Product model class
  • This class should provide common properties for the Product model.
  • More on properties is provided in boilerplate code
  1. ProductRepository class
  • The primary responsibility of this class to manage CRUD operations for collection of Products
  • The boilerplate contains outline of methods for different CRUD operatoins required to be managed for products
  1. Product Storage
  • The repository class should declare field as a collection object for allowing only the Product items to be added to the collection
  • Choose the collection type basis the fact that product collection should not allow any other type of items.

1.      Suppose end system A wants to send a large file to end system B. At a very high level, describe how end system A creates packets from the file. When one of these packets arrives to a router, what information in the packet does the router use to determine the link onto which the packet is forwarded? Why is packet switching in the Internet analogous to driving from one city to another and asking directions along the way?


Add each element in origList with the corresponding value in offsetAmount. Print each sum followed by a space. Ex: If origList = {40, 50, 60, 70} and offsetAmount = {5, 7, 3, 0}, print: 

45 57 63 70




Sum of the series



Write a program to find the sum



S of the series where S = x - x^3 + x^5 + ....... upto N terms.



Sample Input 1


2


5


Sample Output 1


410



to solve this approch


if i value is even:


result = summation of the term value and then added to the result



else :


result = Subtraction of the term value and then added to the result

1. The manager of the company has informed his assistant to enter the age of all the workers working in production department. Among all he has to find the employee with maximum age employee. Help the manager with C++ program based on the concept of object oriented programming by creating a class employee having members empid, empname, edept,eage and display the name dept. and salary employee whose age is maximum. Store the date of at least 7 employees. Make the data members of class only public.


A Raspberry Pi and a Sense-Hat board are used to capture temperature, humidity and pressure at approximately 10-minute intervals. The Pi then uploads these readings via a Web API that he developed. The data are stored in a MySQL database.



Requirements: Your team is required to do the following



1. Retrieve the data



2. Process the data (as required by your application)



3. Visualise the data or result in a GUI or embedded HMI



Recorded data:



• Temperature, relative humidity and pressure are recorded every ten minutes



• The measurements are uploaded to the database and the date and time of successful upload are logged at the database end. The recorded time is therefore the time of storage.



• Each successful upload is given a unique ID that auto-increments in a sequential fashion.



•The measurement IDs autoincrement. So, the ID reliably indicates the order of measurements.

2. Design a class Account that has the following member: Data Fields: account_id(int type), balance(double type)).


Member Functions-> withdraw(),deposit(),getmonthly_interest() and parameterize constructor to initialize data members. Use this class to print the balance. Use the withdraw () to withdraw money less than Rs 5000 and then deposit more than or equal 1500 using deposit function. (6)


Multiple of 3:


(1) Input: 6 Output: 3

1 9

2 6

3

5

9

6


(2) Input: 4 Output: 3

1 6

3

6

8


LATEST TUTORIALS
APPROVED BY CLIENTS