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

Write the code for the following problem using either C or C++. If there are 8 cars with its car number {11,10,34,56,68,89,65,78} parked in a parking area, then you are looking for a car number 68 by checking every car sequentially from the beginning.


Design an algorithm to convert a lower triangular matrix to upper triangular matrix.


Write a java program to throw an exception (checked) for an employee

details

a If an employee name is a number, a name exception must be

thrown

b If an employee age is greater than 50, an age exception must be

thrown. Or else an object must be created for the entered employee details.


Create an array of characters which will be initialized during run time with vowels.

If user enters any consonant, your code should generate a user-defined checked

exception, InvalidVowelException. The description or message of

InvalidVowelException is "character is consonant". Handle the exception by using

try, catch, finally, throw and throws.


Develop an application in Java for automating the Hostel Management

System using packages. Create Hostel class in pkg1, Student class, and

SRA class in pkg2. Perform menu driven operations like SRA Allocation,

List of SRA’s in a Hostel, List of Students under a particular SRA, and

View Student Details from a Test class by importing these two packages.


Create an interface “Academic” with methods: calAcademicCredit(), registerSub(),

assignFaculty(). Create another interface “NonAcademic” with method:

calNonAcademicCredit(), registerClub().

Create an abstract class called “Course” with details such as name, reg_no, subjects,

faculty, non_acad_club etc. Add necessary constructors.

Implement these interfaces and inherit the class in “Student” class to perform the specific

operations.

Demonstrate the operations in a menu driven fashion from a Main class. Write logics in

the corresponding methods.


Develop an interface called “Event” which contains Expenditure (), Prizes () are unimplemented

methods. Also include few specifications given below,

A default method called welcome_msg(),

A static method called Thank_you msg(),

Create another interface called invitation that extends Event which contains design_invitation()

as private member and display_invitation() as public method

create two customized classes called Birthday and Symposium utilize the above structure;


Prompts the user for a password. Check if the password is valid where a valid password has the following criteria. It must be at least 5 characters long. It must start with either a c or a 5. It must contain at least one special character from &,@,# and %


A small business wants to create a file to store its customer information. Each record in the file is to

contain the following data: customer ID number, first name, last name, city, zip code, and account balance.

Write a program to create such a customer file named “customer.txt”. Write the file with space-separated

fields.

Write another program that displays the contents of the file “customer.txt” in column form with

appropriate column headings.



A moving contractor wants you to write a program that he can use to estimate the cost

of moving a residential customer. The charge for moving is based on two factors.

First, the labor cost is estimated by charging $4.00 for every 100 pounds of furniture to

be moved.

Second, the travel charge is $50.00 plus $1.75 for each mile the furniture is to be moved.

The program should prompt the user for the estimated weight of the furniture and the

distance the furniture is to be moved.

Finally, the program should display the labor charge, the travel charge, and the total

charge.



LATEST TUTORIALS
APPROVED BY CLIENTS