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

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]






1.
2.
AutoZig Enterprise is a manufacturing unit that manufactures automobile parts. This company was
established in 1980 and since then, the staff of AutoZig Enterprise is keeping the records of
manufactured parts manually. Now, the management of AutoZig Enterprise realizes that
maintaining the records manually is slow and leads to a large number of errors.
After extensive research, the management of AutoZig Enterprise decides that an application is
required to automate the task of maintaining the records of manufactured parts. AutoZig
Enterprise contacts WebSoft Solutions Pvt. Ltd., which is a software development company, to
develop the application. WebSoft Solutions Pvt. Ltd. decides to create the application using C#.
The team of programmers at WebSoft Solutions Pvt. Ltd. conducts an interview with the staff of
AutoZig Enterprise to find out their requirements. They find the following requirements:
The application should allow the supervisors to add or modify records in the database stored in
write a menu driven c-program to read 2 array of 5 number each , merge them & sort it in ascending or descending order
1)insert two array
2)merge
3)exit
Create an application that determines the total due including sales tax and shipping. Allow the user to input any number of item prices. Sales tax of 7% is charged against the total purchases. Shipping charges can be determined from the following chart. Display an itemized summary containing the total purchase charge, sales tax amount, shipping charge, and grand total.
$0-$250.00 $5.00
$250.01-$500.00 $8.00
$500.01-$1000.00 $10.00
$1000.01-$5000.00 $15.00
over $5000.00 $20.00
In a class with unknown number of students, a teacher is keying in the marks of a test. The marks run from 0 to 100. Find the number of students who fail (marks below 40), the number of students who pass, as well as the total number of students. Calculate and display the average mark for the class. Set your own sentinel value to stop the loop.
please show pseudocode.
p.s i just started taking programming. please explain a bit if possible
Write a program that will calculate and output the following:
a) Gross Wage
b) Deductions (15% of gross)
c) Nett Wage
Note: The concept of wages.... inputs
Pete is the Chief Executive Officer (CEO) of FlyHigh Airlines. Over the years, the organization has
expanded its operations to several countries around the world. This has led to a massive growth in
the number of day-to-day transactions that the organization needs to manage, such as ticket
booking, flight planning, and aircraft maintenance.However, the existing software that the organization uses, to manage its operations,is incapable
of scaling up to the increased operational loads. In addition, the software does not have any
provision for the management of new facilities that the organization has introduced for its
passengers, such as booking of e-tickets. This is hampering the efficiency of the organization.Therefore, Pete decides to revamp the existing software to enable it to:
Scale up to the increased operational needs of the organization.
Support new features such as booking of e-tickets.
Pete contacts SoftSols Inc., a software development organization, to revamp the software. The
software development development team analyzes the existing software and draws the following inferences:
As the software is integral to the functioning of FlyHigh Airlines, it needs to be revamped within
the shortest possible time.
The existing software must be reused, whenever possible.
Question:
The existing software is developed using C#. Analyze the preceding scenario and answer the
following questions:
Which features of C# will allow SoftSols Inc. to reuse the existing application code? Describe in
brief.
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. 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 the selected class. [4 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]
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]
LATEST TUTORIALS
APPROVED BY CLIENTS