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

using console application, develop an interactive application that can assit a user to learn a multiple table program. the user can choose any number to start with,no database is required on this program and all errors should properly handled.
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]
The application should be able to count the number of automobile parts sold every week
depending upon the number of new entries of parts in the application. If a part is not sold for
more than six months after its date of manufacture, the application should prompt a message,
"Urgent Sale Required"
I am doing a program for school, and I need help.

So basically, this is a test program for science. There is the choice of Chemistry, Biology and Physics. When you click on them, you are taken to another form where the question is asked. When the user answer's the question right, I want him to be taken to another question without the use of another form. How can I accomplish this?
What is the diff between abstraction and abstract?I need an answer with an example





























































/
I need proper syntax to get the price from my inventory table and use it in calculations. Here is the method I have so far but I don't know where to start with the calculation.
public void btnItemEnter_Click(object sender, EventArgs e)
{
/**This event handler will look up the item and get the description
* and the price to display into the lstItemsSold box. It will also
* keep a running total in the total labels while calculatin taxes**/
// double price;
//double tax = 0.07;
//double subtotal = price + tax;
String Item = txtItem.Text;

SqlConnection Sql = new SqlConnection("Data Source=. SAMANTHAWHITAKE\\MYSQL2012; Integrated Security=true");
Sql.Open();
Sql.ChangeDatabase("Inventory");
string ItemNumber = "SELECT ItemNumber * FROM Inventory";
SqlCommand getRecord = new SqlCommand(ItemNumber, Sql);
SqlDataReader invRecord = getRecord.ExecuteReader();
if (Item.Equals(getRecord))
{
string LineItem = "SELECT ItemNumber, ItemName, ItemPrice * FROM Inventory WHERE ItemNumber = '" + Item + "'";
SqlCommand getLine = new SqlCommand(LineItem, Sql);
SqlDataReader invLine = getLine.ExecuteReader();
while (invLine.Read())
{
lstItemsPurchased.Items.Add(invLine.GetValue(0).ToString());
}


}
Sql.Close();



}
Kathy, a software developer in FIT technologies, is assigned the task of optimizing the following
code:
using System;
public class SwapNumber
{
void SwapNum(ref int a, ref int b)
{
int temp;
temp = a;
a = b;
b = temp;
}
static void Main(string[] args)
{
SwapNumber classobj = new SwapNumber();
int Number1, Number2;
Console.WriteLine("Enter the first number");
Number1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the second number");
Number2 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("The value of first number is {0}",
Number1);
Console.WriteLine("The value of second number is {0}",
Number2);
classobj.SwapNum(ref Number1,ref Number2);
Console.WriteLine("Now the value of first number after
swaping is {0}", Number1);
Console.WriteLine("Now the value of second number after
swapping is {0}", Number2);
}
}
Optimize the preceding code for Kathy and find out the errors (if any). What would be the output of
the preceding code, if the first number is 46 while the second number is 37?
A program that should perform the basic operations upon the data Listview save, update and cancel.When the program runs for the first time, the update and cancel button should not appear, only the save button to be visible.When the user double click the student name on the data Listview the update and cancel button should become visible and save button disappear to allow the user to carry out those operations on that data.No database is required on this program


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]
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]
LATEST TUTORIALS
APPROVED BY CLIENTS