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

BS Bank Inc wants to add some additional features in the application. The company asks FIT
technologies for the following additions:
? BS Bank Inc. needs to add modules to provide the following services:
a. Online share and mutual funds trading
b. General insurance for health, car, and travel
The management of AlphaSoft Inc. asks Hayley, a software developer,
to handle the application development requirements of Sharon.
Hayley conducts a meeting with Sharon and notes the following requirements for the application:
Sharon does not have the budget to implement Relational Database Management System
(RDBMS). However, she needs the stock details to be available at all times.Therefore, the
application needs to store the inventory details persistently on Sharon's computer.
The application should allow Sharon to perform the following tasks:
Add details of new items to the stock.
Modify the details of existing items.
View the last modified date of the stock details file.
Question:
Sharon decides to develop the application using C#. Analyze the preceding scenario and answer
the following questions:
Which classes of the .NET Framework should Hayley use to ensure that the stock details are
available to Sharon at all times? Justify your answer along with reasons. [6 Marks]
Hayley conducts a meeting with Sharon and notes the following requirements for the application:
Sharon does not have the budget to implement Relational Database Management System
(RDBMS). However, she needs the stock details to be available at all times. Therefore, the
application needs to store the inventory details persistently on Sharon's computer.
The application should allow Sharon to perform the following tasks:
Add details of new items to the stock.
Modify the details of existing items.
View the last modified date of the stock details file.
Question:
Sharon decides to develop the application using C#. Analyze the preceding scenario and answer
the following questions:
Which classes of the .NET Framework should Hayley use to ensure that the stock details are
available to Sharon at all times? Justify your answer along with reasons. [6 Marks]
Which class of the .NET Framework should Hayley use to enable Sharon to view the file
extension of the stock details file? Describe any four properties of that.





1.
2.
Sharon is the owner of a supermarket. She sells a large variety of grocery items through her
supermarket, such as toothpastes, soaps, and other household items.
Currently, Sharon keeps track of the different items available in stock manually. However, the
number of items sold through the supermarket has increased tremendously. Therefore, Sharon
spends long periods of time to keep track of each and every item.
To ensure easy and effective management of the stock details, Sharon decides to use a
customized application. For this purpose, she approaches the AlphaSoft Inc., which is a software
development organization. The management of AlphaSoft Inc. asks Hayley, a software developer,
to handle the application development requirements of Sharon.
Hayley conducts a meeting with Sharon and notes the following requirements for the application:
Sharon does not have the budget to implement Relational Database Management System
(RDBMS). However, she needs the stock details to be available at all times. T


Hayley has started the application development. She needs to ensure that the application meets
the following requirements:
When the application starts, it should display a message asking the user to enter either option d or
v. The application should execute the following actions for the two options:
d: The application should display the file extension of the stock details.
v: The application should open the stock details file in the read-only mode and display its
contents.
Write the code snippet that Hayley should use to implement the desired functionality in the
application.
In case the user presses any other key, the application should open the stock details file in the
read/write mode, display a message to enter new stock details, and save the details that the user
has entered. Write the code snippet that Hayley should use to accomplish the preceding task. [10
Marks]


Sharon has started to use both the stock details management and the file information viewer
features of the application. However, while using the file information viewer application, she
accidentally enters the path of a folder that does not exist on her computer. This caused the
application to stop responding. In addition, the format in which the stock details are displayed is
not clear. Therefore, she asks Hayley to modify the application so that:
The file information viewer does not stop responding in case a specified folder does not exist.
The stock details management application adds a line break before every stock details entry
whenever a new entry is added to the stock details file.
Write the code snippets that Hayley should use to address the preceding two requirements [10
Marks]



As part of her business activities, Sharon has created a large number of files and folders.
Whenever she needs to view the details of the files stored in a folder, Sharon browses to the folder
using Windows Explorer. However, she finds it cumbersome to browse to each individual folder to
view the desired details. Therefore, she asks Hayley to modify the application to accept the name
of a folder and display the following details of the files located in the folder:
File name
File size
File creation date
Write the code that Hayley should write to create the desired file information viewer application.
[10 Marks]
Write a windows applications presenting room booking. Add XML serialization to the application.Define a class Room that contains private information for the name, the size, the number of people than it can hold, booked/free, and the name of booker.Design GUI that's input information for rooms in a file.Design GUI that asks for a number of people and the booker's name.Read through the file, finding the first room,if any, that is no more than 10% larger than the size required.Report on the booking, if successful.Update the file with a marker that the room is booked and the name of the booker(that room cannot be booked again).
The development team of SoftSols Inc. analyzes the source code of the existing software and
notes the following observations:
The software contains a private class, named bookTickets, that contains the methods used to
perform ticket bookings for various flights.
There is no class or function that can be used to check the maintenance details of FlyHigh's
aircrafts.
Based on the preceding observations, the development team decides to perform the following
tasks:
Reuse the functions of the bookTickets class in a new class, named bookETicket, to add the
feature of e-ticket booking.
Create a new class named viewMaintenance that allows the maintenance personnel of FlyHigh
Airlines to view the maintenance details of aircrafts.
Write the code snippet that the development team should use to accomplish each of the preceding
tasks.
1.
2.
The development team of SoftSols Inc. has revamped the software according to the requirements
of FlyHigh Airlines and is in the process of testing the software. While testing the software, the
team encounters the following issues:
The operations-related data of FlyHigh Airlines is stored in a central database. The software
fails to respond to user inputs, if there is a connectivity problem with the database. Add the code
snippet that the development team should use to ensure that the application shows a userfriendly
message, if such a situation arises in future.[5 Marks]
The application used to calculate the cost of carrying additional luggage results in erroneous
amount, if the weight of the luggage is a fractional number. Help the development team modify
the code snippet so that the cost of carrying additional luggage is calculated correctly. [5 Marks]
LATEST TUTORIALS
APPROVED BY CLIENTS