Questions: 1 835

Answers by our Experts: 1 539

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

1. Write a menu-driven program to perform the following operations in a single linked list by using suitable user-defined functions for each case.

a) Traversal of the list.

b) Check if the list is empty.

c) Insert a node at a certain position (at beginning/end/any position).

d) Delete a node at a certain position (at beginning/end/any position).

e) Delete a node for the given key.

f) Count the total number of nodes.

g) Search for an element in the linked list.

Verify & validate each function from main method.


2. WAP to display the contents of a linked list in reverse order





Create a C# program that uses array:

that accepts value and display.


Create a console application for a club to record their member information. For each member to need to store the member’s name and merit points. All new members starts with 0 merit points. Implement class Member which has private attributes for Name and Points. You need to create at a constructor method and the class also needs to have the following methods: public string getName() //Returns the name of the member public int getPoints() //Returns the points of the member public void setPoints(int P) //Sets the points of the member In the application class (main method in the program.cs file), do the following:  Create two instances of Member, for John and Susan  Assign merit points to each of them  Use an if statement to display the name of the member with the highest points. 


Create a windows application for a library which will request the user to input the number of books checked out and the number of days they are overdue. Your program should then calculate and displays the library fine, which is 20 cents per book per day for the first seven days a book is overdue, then 50 cents per book per day for each additional day.

Note: when submitting your solution to this task, you will also need to include an image of your form (interface) design. 


Create a console application for a club to record their member information. For each member to
need to store the member’s name and merit points. All new members starts with 0 merit points.
Implement class Member which has private attributes for Name and Points. You need to create at
a constructor method and the class also needs to have the following methods:

public string getName()
//Returns the name of the member
public int getPoints()
//Returns the points of the member
public void setPoints(int P)
//Sets the points of the member
In the application class (main method in the program.cs file), do the following:

 Create two instances of Member, for John and Susan
 Assign merit points to each of them
 Use an if statement to display the name of the member with the highest points.

Write a program that requires you to calculate a shop’s total money in a specific register. All

the different notes should be added to calculate how much money is in the register. The coins

are added together manually and then added to the total. Required input values are:

o The amount of 10 rand notes.

o The amount of 20 rand notes.

o The amount of 50 rand notes.

o The amount of 100 rand notes.

o The amount of 200 rand notes.

o The total of the coins.

The output is the total cash in the register.


Create a windows application for a library which will request the user to input the number of books
checked out and the number of days they are overdue. Your program should then calculate and
displays the library fine, which is 20 cents per book per day for the first seven days a book is overdue,
then 50 cents per book per day for each additional day.
Create a Product-Inventory software (No need of user Input or any other
validations)
Product: (Override Equals or implement IEquatable<T>)
1. Id
2. Price
3. IsDefective
Inventory:
1. Dictionary containing all the products and their respective quantities in
the inventory
2. Total value of the inventory
Methods
1. Add Product
2. Remove Product
3. Update Product Quantity
On change of Product’s Price, Inventory total value should get updated. If a Product
becomes defective, remove it from the inventory. (Handle them through
Create a Program for PSL
It must have a class for each of the 5 teams.
Islamabad United - Karachi Kings - Lahore Qalandars - Multan Sultans - Peshawar Zalmi

There will be a property of total score for each of the 5 classes.

total score will store all the points after winning matches for each of the 5 teams, so there will be a separate total score for kk, lq, ms, pz, iu.

“There will be a property to store current match score.
You will create an object for each match”.

For example:
Karachi vs Lahore

KarachiKings kk = new KarachiKings();
LahoreQalandars lq = new LahoreQalandars();
kk.currentScore +=1;
//current score barhane se karachi kings ka total score bhi barh jana chye automatically.
kk.runrate += 0.75;
lq.runrate -= 0.6;


match 2: multan vs Karachi
match 3: Lahore vs Islamabad
match 4: Peshawar vs multan
match 5: Lahore vs Peshawar
match 6: multan vs Islamabad etc.

Write a brief C# script that multiplies the number of recruits by 5 and stores it as the players score. The script should also deduct points when the number of recruits falls below 10 (assuming that the player is part of the team).


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS