Sunday, December 21, 2014

Sorry!

Sorry due to busy schedule I'm unable to update contents of the blog. However, I'm quite active on FB and if you have any query you can post it there. I'll reply as soon as possible. 

Thursday, June 26, 2014

Answers in PDF file

Very soon there will be another option of file format in solutions - PDF.
This will be usually uploaded after all answers in ZIP format and will contain all the answer of the chapter.



Q. Will there be any difference between answers in ZIP File and PDF File ?

A. Yes, the solutions in ZIP file will be coding centric whereas in PDF file only the required answers will be published.

     
    Meaning thereby ZIP file will contain the usual text, source code, executable file irrespective of whether the full source code is required or not whereas PDF file will contain only answers(with questions written) asked by the question.
   Currently answers to only programming based questions will be published. 





Friday, June 20, 2014

Class XII - Chapter 03 Function Overloading

Function Overloading 


Function Overloading is C++'s implementation of OOP's feature polymorphism.

So,
 Here the solutions of this chapter, to the Questions from sections: 'Short Answer Questions'(from Q5 on-wards except Q9) and 'Long Answer Questions'(Q1) . 

Kindly note that solutions from this blog only includes coding part for rest of answer statements you can discuss on our blog'sor choose do it urself.

Click on the 'Download Solutions' link of the correspond question to download the ZIP file.

Q. What is in ZIP file ?
A. The zip file contains following:
  • dotTXT(.txt) format text files in which answer is written.
  • dotCPP(.cpp) file having appropriate coding required to run the functions. Note that many questions in this chapter doesn't require full running coding, only a part or statement is required.
  • dotEXE(.exe) executable file of the cpp code.
*Download link for Solutions of question marked with '*' will be activated soon.*

TYPE A : SAQ


Ques 5. "Here are some desired efects. Indicate whether each can be accomplished with default arguments, with function overloading, with both, or with neither. Provide appropriate prototypes. ..."
       

"Note to Students:- function prototype only means the declaration part, however, I have included a sample definition part too for the desired effects so that you can know how to deal with various situations." 

           (i). "repeat (10, '-') displays......"
Sol. Q5(i) - Download Solution

Q5(ii). "average(4,7) returns int average of two..."
Sol Q5(ii). - Download Solution

Q5(iii). "mass(density, volume) returns the mass of....."
Sol Q5(iii). - Download Solution

Q5(iv). "average(4,7) returns an int average of the two..."
*Sol Q5(iv) - Download Solution

Q5(v). "handle (a-character) returns the reversed case..."
*Sol Q5(v) - Download Solution
------------------------------------------------------------------------------------
Ques 6. "Write function definitions for question 7 on page 119."
*Sol Q6 - Download Solution
------------------------------------------------------------------------------------
Ques 7. "Write function definitions for question 8 on page 119."
*Sol Q7 - Download Solution
------------------------------------------------------------------------------------
Ques 8. "Write definitions for two versions of an overloaded function. This function's 1st version sum() takes an argument, int array......."
*Sol Q8 - Download Solution
------------------------------------------------------------------------------------
Ques 10. "Raising a number n to a power p is the same as multiplying n by itself p times. Write as ....."
*Sol Q10 - Download Solution.
------------------------------------------------------------------------------------

TYPE B : LAQ

Q1. "Given below are incomplete definitions of two classes :
               Class Item ......."
*Download Solution

Friday, June 13, 2014

Class XI - Chapter 06

Here are solutions for Chapter 6 Type B coding related questions.
Questions Ranging from 17 to 27.

Click on the Download Solution link of respective question to get the ZIP file.

Q.What ZIP file Contains:-

  1. It contains the source code in dotCPP(.cpp) format and dotEXE(.exe) executable file and an additional text file containing the same source code as in cpp file.
  2. Sometimes there may be also two different source codes for single question.

Note:- Links to * marked questions will be activated soon. Questions will have full or partial 'question statements' from book for easy identification of question.

Type B :

Ques 17. "Write a program to display the following output using a single cout statement.
               Program = 20
               Documentation = 23
               Logic = 21
               Flow Chart = 18"
Sol: Download Solution

Ques 18: "Write program to read values of w, x, y and z and display the value of P, where
                P=(w+x)/(y-z)."
Sol: Download Solution

Ques 19. "write a C++ program that reads temperature in Celsius and display it in Fahrenheit."
Sol: Download Solution

Ques 20. "Write a program that displays on screen
                 a. the character 'z'
                 b. the name 'Mohan'
                 c. the number 1977 ..."
Sol. Download Solution

Ques 21. "Assuming that there are 7.481 gallons..."
Sol: Download Solution

Ques 22. "Write a program to generate the following table :
    1992 ..."
Sol: Download Solution

Ques 23. "Write a program that generates the following output:
                 5
                 10
                 9 ..."
Sol: Download Solution

Ques 24. "Write a C++ Program that accepts radius of a circle and prints its area."
Sol: Download Solution

Ques 26. "Write a C++ program that accepts marks in 5 Subjects and outputs average marks."
Sol: Download Solution

Ques 27. "Write a C++ program to accept two integers and print their sum."
Sol: Download Solution

Click Here to Download source code text files of all Solutions mentioned above.

Re- Initializing

Here I start it all again!
Now Solutions with direct download links...
Posting Answers Soon !!!

Some Pre - Insight :

  • Link(s) will enable direct downloads i.e. no middle hosting website hassles.
  • The Trend-setter 'Ask Question' Tab will be back(Sorry Old comments will not be published, however I always have their soft-copy with me).
  • Only Members/Followers of blog will be allowed to Comment on POSTS/ASK QUESTION Tab.
  • A new group will be opened on facebook for instant discussions.
  • New pages for enabling easy locating of solutions.
  • Questions will have full or partial 'question statements' from book for easy identification of question.

Saturday, October 27, 2012

Class XI Chapter 9 - Flow of control Type C Questions


As many of you were asking for the answers of type C(long) Questions of Chapter 9 (Class XI).
So here I’m with them, not all but the most asked one, but if you don’t find your answer here, then wait or simply comment in the ASKQUESTION tab:--

Class XI
Chapter 9 – FLOW OF CONTROL
PAGE NO. 315(+)

Instructions : - click the download link of desired question, this will take you to the download page. Download the ZIP file extract the files in it containing two main files : -
  Ø  .cpp file – the source code
  Ø  .exe file – the executable program

Question 1.) WAP to find lowest, higher and highest no.:-


Question 2.) WAP to accept fixed deposit and time and display account balance:-


Question 3.) WAP to accept integer and display its reverse and sum of digits:-


Question 4.) WAP to find LCM and GCD:-


Question  5.) WAP to display truth table for XY +Z:-


Question 6.) WAP to print Fibonacci series upto 10 terms:



Question 12.) WAP to accept age(s) of employees and display total no. of employees in the following group: 
·             26-35 years
·           ◙  36-45 years
·           ◙  46-55 years




Question  14.) WAP to find sum of following series:
              S = 1 + x + x2 + …….. + xn


DON'T FORGET TO +1!

More answers to be posted soon!!!

Tuesday, October 2, 2012

Class XI : Chapter 9 Flow Of Control Solutions

So here I am with the solutions of type B Questions of Chapter 9 i.e. Flow of Control.

I have done Questions from 26 to 37, If you want answer of any other Question or Questions of Type C,   then Please comment in ASK QUESTION section.

There is a link for every question which will direct you to the download page. The file is  a ZIP file containing
1.) a .cpp file and
2.) a .exe file. and a read me file for instructions.

So here are the answers of:-

chapter - 9
on Page 314

# Answer of Q26 : - Click Here

# Answer Of Q27 :- Click here  

# Answer of Q28 : - Click Here

# Answer of Q29 : - Click Here

# Answer of Q30, Part (i) : - Click Here

#Answer Of Q30 , Part (ii) : - Click Here 

# Answer of Q31 : - Click Here

# Answer of Q32 : - Click Here

# Answer of Q34: - Click Here

# Answer of Q35: -
  1. Part (i) :- Click here
  2. part (ii):- Click Here
  3. Part (iii):- Click here



# Answer of Q37:-
  1. Part (i) - Click Here
  2. Part (ii) - Click here
  3. Part (iii) - Click here
* Download all parts Q37 | Alternate link


# Answer Of Q38 : - Click Here    


I've done all questions as per my understanding , there may be more efficient and easy way to write above programs. 
If you want answer of any other Question . then Please Comment on ASK QUESTION tab.

If you find any Broken link pls let me know.
For any suggestion Pls Comment. AND DON't FORGET tO ' +1'.

Saturday, September 29, 2012

Class XI: answer of CH8(TYpe B)

Chapter 8 - Operators & Expressions in C++Question type Bpage no. 246.


Download the RAR file, Extract and use!


<==Answer of Quetion No. 31








Answer of Question No. 29==>










     <=== Answer of Question no. 35









more answers to be posted soon !



Wednesday, August 10, 2011

Chapter 7 Questions



UPDATE : LINKS TO BE UPDATED SOON!!













All questins are of 'Type B Questions' ,starting from the question no.19 to question no. 28

I have done all these questions just according to my understanding, there are many ways to do these problems. So if you didn't liked pls let me know{comment here} and the possible changes. Thank you!

Now, Follow the link to the desired question! Download ZIP / Rar file, unpack it and enjoy!

Links to Q.No.-19
  1. click here for .cpp file
  2. Click here for .EXE file
Links to Q,No.-20
  1. Click here to download Zip file
Links to Q.No.21
  1. Click here to download ZIP file
Links to Q.No.-22

Links to Q.No.-23


Links to Q.no.-24


Links for Q.No. - 25{ I have done it assuming it as two types of question}


Links to Q.No- 25 (type Second)


Links to Q.No - 26


Links to Q.no- 27


Links to Q.No. - 28 (i)


Links to Q.No. - 28 (ii)




The links redirects you to download site. The downloaded ZIP/RAR file contains both Executable file(i.e. .EXE file) and coding file(i.e. .CPP file)


If you don't have any ZIP/RAR extracter click here to download ZIP/Rar extracter.

HOPE YOU WILL LIKE IT!! HURRY SOON!!