![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Help Required in coding for these questions in C-URGENT!!PAPER -1
1. WAP for billing of a PSTN containing the details of metering , giving details by call basis for a month . Listing of the outgoing calls if inter-state and international is to be provided. Subscriber number is a structure variable with the following fields Namely, [II][NNN][SSSS] the I-> international country code N-> National code S-> Subscriber code NOTE : (i) The call ratings are uniform for intra state - Re 1.00 (ii) The call ratings for rest of the country - Rs 2.00 (iii) The call ratings for international - Rs 4.99 (Assume storage of these as constants in a centralized database , called CALL_CHARGES) CALL_rates() fetches the call charge depending upon the destination subscriber(s) location. ASSUME : 1 second = 1 pulse for international 30 seconds = 1 pulse for national locals 60 seconds = 1 pulse for local calls CALL_ translate() receives a long integer that is obtained from metering the call (say using timers/ up counters ) which converts and returns the pulse equivalent. The bill has to be printed in the following format : Subscriber Name : Address : Phone number : Bill amount : Listing of all STD/ISD calls for the month of September Date(s) Subscriber number Units Charges 01 0016346616600 20 Rs … So on 2. Design a command line interface for demonstration of 2 operations in the SET theory namely , the Intersection (I) and Union(U) . Consider 2 strings S1[] and S2[] of maximum 80 characters (argv[1],argv[2]) . Implement the following : · S1 U S2 · S1 I S2 · S1 –S2 · S1 + S2 Where ‘U ‘operator collection of those words not redundant but present in both the strings ‘I’ operator is intersection of the 2 strings such that the words that are common to both are listed ‘-‘ operator lists words that are in S1 and not S2 ‘+’ operator is to append the 2 strings USE the standard library functions available in the string.h PAPER -2 1. Design an application for (a) Accept the paper from a user/data entry operators. (b) checking a test paper ‘s suitability . [Define a word has a-z and A-Z any embedded extra character outside this is considered to be invalid ] The suitability for the text is estimated as : %age of count suitability __________________________________________________ __ <80 Not appropriate (use another) >80 Suitable Let the question paper be named as Questionpaper.txt , read each word to authenticate the words. (c) The answer sheet is collected it is corrected , the answers are stored in answers.txt , depending upon the correct answers the applicant is graded as follows : Number of correct answers Grade __________________________________________________ ______________ <60 A >75 A- >90 A+ (d)The results are listed for each candidate as follows Name : Ref number : Grading : 2. Simulate all possible solutions for 8-Queens puzzle. The user places the first queen-in a random position . At the end of the game we should find maximum number of queens on the board. For the second queen’s placement the rules are: · The 2nd queen should not be placed in the same row as first · The 2nd queen should not be placed in the same column as first · The 2nd queen should not be placed in the same right diagonal as first · The 2nd queen should not be placed in the same left diagonal row as first · And so on PAPER -3 1. Write a program which takes a matrix 3 X 3 matrices as input from user. Find inverse of the resultant matrix. After that find sum of all elements of this transpose matrix. This program should be divided in following functions, (a)Read_elements() : Which takes matrix elements as input from user. (b)Transpose() : Which finds transpose of the matrix (c )Cofactor(): which finds the co-factors of the 2x2 sub-matrix (d) Adjoint(): Transpose(cofactor matrix) (e) Determinant(): Which returns the modular value of the matrix (f) Is_det_zero() : Return a error (g) Identity(): returns the unity matrix 2 . WAP - menu driven for user(s) to get information about home loans. The menu should be as follows: 1. User name and his address 2. Land Value 3. Amount of Down payment 4. Duration of repayment 5. Display the details of repayment plan 6. Exit 1.User name and address :- Store the user name and address in a file as an enquiry (Create a file and write this as a record – Inquiry.dbf ) 2.Land value :- Allows the user to key in the current property value and location (from keyboard) . 3.Amount of Down payment :- Accept the amount of down payment and deduce the Net amount – Loan_availing_amount() . 4.Duration of repayment :- Take the time in years , compute the time in months (for quarterly compounding ) . Compute the repayment plan starting from 5/7/10 years with EMI . [ Interest_calulation ()] 5.Display the details of repayment plan :- Display as follows :- Number of years EMI ---------------------------------------- 5 - 7 – 10 - 6.Exit :- This option should display a textual message for quitting the application . (close all the files) I need it asap!! Thanks in Advance!! Regards, Prasanna |
|
#2
|
||||
|
||||
Re: Help Required in coding for these questions in C-URGENT!!Senior members might not reply to this thread if you:
We encourage you to post again once you've done that. __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#3
|
|||
|
|||
Re: Help Required in coding for these questions in C-URGENT!!i tried to solve the problem i posted on the forum.i got the answer for the string & loan problem.i am not able to get u the code and the error messages since i dont have internet connection in home.i am accessing the web thru net centres.could u pls help me in getting the code for problem i have uploaded
|
|
#4
|
||||
|
||||
Re: Help Required in coding for these questions in C-URGENT!!Quote:
Look at the errors, look at the lines with the errors, figure out what is wrong from the error statement. __________________
Age is unimportant -- except in cheese |
Recent GIDBlog
Writing a book by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The