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

As part of her business activities, Sharon has created a large number of files and folders.
When the application starts, it should display a message asking the user to enter either option d or v.
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
Explain any three features that must be implemented by the application that will be created by
WebSoft Solutions Pvt. Ltd. Support your answer with suitable examples. Relate the features
with the real life scenarios.
While entering the information about different automobile parts in the application, the database
administrator enters the prices of some parts incorrectly. The prices are swapped between
various parts. Create an application that can swap the prices of all the automobile parts and can
assign the correct price against a particular automobile part.
The technical team of AutoZig Enterprise wants to develop a feature for the supervisors. Using
this feature, the details of the automobile part can be added but it should not be visible to other
employees of the company. This feature is useful for the automobile parts that are new and are
in the field for a trial run. As a software developer of WebSoft Solutions Pvt. Ltd., develop code
so that the information of a specific automobile part can be hidden from other employees of the
company. If an unauthorized user tries to access the information about a specific part, it should
display the error message, "Unauthorized Access". Develop the code that meets the
requirements given in the problem statement. Use the concept of access specifiers while
developing the code.
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". Help the programmers at WebSoft Solutions Pvt. Ltd. to develop the
code for this feature.
write a program to display family member name using c# language.
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?
Write a program that reads in a number n and then outputs the sum of the squares of the numbers from 1 to n. If the input is 3, for example, the output should be 14, because:
1²+2²+3² = 1 + 4 + 9 = 14.
LATEST TUTORIALS
APPROVED BY CLIENTS