Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

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

6.2. Write a program using string functions that accepts a coded value of an item and display its equivalent tag price. The base of the key is: 0 1 2 3 4 5 6 7 8 9 ----- X C O M P U T E R S Sample input/output dialogue: Enter coded value: TR.XX Tag price: 68.00


Write a program using standard string functions that accepts a price of an item and display its coded value. The base of the key is: X C O M P U T E R S 1 2 3 4 5 6 7 8 9 Sample input/output dialogue: Enter price: 489.50 Coded value: PRS.UX


Create a class named as car with 

data members as 

carcompany,cost of car,number 

of airbags. Create a file and write 

the array of objects into file. 

Search the data by carcompany

from the stored file and display

the result . 


Create a class called Matrix having the following data members int rows; int cols; int mat[][]. Write a program to implement the following operations (the ones mentioned in comments) on Matrix. The main() function of the above program is as below: int main() { Matrix m1(3,3); // it will initialize rows and cols m1.getdata(); //accept the data in matrix Matrix m2=m1; //copy one matrix contents into another m2.putdata(); // display the contents of matrix Matrix m3; m3.putdata(); } 


For the given data frame DF shown above we want to get all the records with toef1 score greater than 105 but smaller than 115 which of the following expressions is incorrect to perform the same


create a class names as car with data member as carcompany,cost of car,number of airbags.create a file and the write a array of object into file.search the data by carcompany from the store file and display the result.


In this exercise, you’ll implement a generic PriorityQueue<T> class that is parameterized by the type of object it contains. The priority queue will be used as a container of objects of type T. Implement Priority Queue in the following three ways

Create a small console application which provides a demo of various operations and its effect on the PriorityQueue object. There is no need for the application to be user interactive.

 




you are creating a small game for school kids. Game has multiple steps:

1Display following message to user: “Enter any number from 1-5"

2User enters an option from 1-5, show the exact message to user for the number selected

1Enter even number

2Enter odd number

3Enter a prime number

4Enter a negative number

5Enter zero

for e.g. if user has selected 1, then show “Enter even number”,

If user does not enter correct number from 1-5 show error message. and then -> GOTO step 1

3.If user has entered correct number, then show success, else show error. -> after this GOTO step 1

 

To validate type of user input, there should be a validation method, which will return true if user input is correct, else validation method will throw different exception for different failure scenario.

Create a CustomException class.

Also, when user has played this game for 5 times, show a message to user you have played this game for 5 times. Handle this also using exception.

 


Get all the files from a given directory and perform the following actions

1.       Return the number of text files in the directory (*.txt).

2.       Return the number of files per extension type.

3.       Return the top 5 largest files, along with their file size (use anonymous types).

4.       Return the file with maximum length


Get all the files from a given directory and perform the following actions

1.       Return the number of text files in the directory (*.txt).

2.       Return the number of files per extension type.

3.       Return the top 5 largest files, along with their file size (use anonymous types).

4.       Return the file with maximum length


LATEST TUTORIALS
APPROVED BY CLIENTS