Web and Mobile Security worksheet All worksheet 1 to 10

## SIKSHAPATH Latest Questions

Create a student class object array of size four having attributes name, designation and salary. Let the student class have appropriate getter/setters methods for accessing these attributes. Initialize these attributes through the setter methods. Store this object into a file ...Read more

Find minimum spanning tree using prim and kruskal’s algorithm:

Which algorithm is more efficient in constructing the minimum spanning tree of a given graph: Prim’s Algorithm or Kruskal’s Algorithm and why?

Analyse the algorithm (in terms of both time and space) of subset sum problem using dynamic programming technique. Also write down the part of mentioned algorithm that contributes most towards the time and space complexity.

A networking company uses a compression technique to encode the message before transmitting over the network. Suppose the message contains the following characters with their frequency: Read more

Solve the activity selection problem by sorting the activities according to increasing finish times:

Solve using fractional knapsack: M=20, n=4 P= (3, 10, 15, 5) W= (5, 13, 12, 8).

For each of following Divide and Conquer algorithms, state the corresponding recurrence relation, and state a runtime bound (using O) (you do not need to show work for solving the runtime recurrence). A. If you solve 7 sub-problems of size n /7 ...Read more

Problem Solving through Programming In C week 12 assignment answers are given below:Read more