holiday home work –business studies class...

81
HOLIDAY HOME WORK –BUSINESS STUDIES CLASS XI 2016-17 Q1 Name the form of Business organization formed with the motive of welfare of its members. Q2 State the Main document of a company form of organization. Q3 Mention the form of public sector organizations that are accountable to specific Ministries. Q4 Aman started a business on his own. He has his father helping him with the accounts and his brother helps him with looking after customers in the evening. Aman pays a monthly salary to his father and brother. Identify the form of business organization. Q5 What is the investment limit of Micro Enterprise engaged in Manufacturing. Q6 What are Inter-Corporate Deposites? Q7 Rama went to ‘Auchaan’ a store in Gurgaon with her family. While she was buying grocery, her husband bought clothes for himself and children were busy selecting toys. After shopping they enjoyed quick dinner in the restaurant run by the store. They could manage to do everything in three hours ,without wasting time in going from one shop to another. Identify the type of retail outlet. Q8 Mention the name of the document issued by the shipping company as an evidence of accepting the goods for carrying them to the designated destination. Q9 The increasing concerns of women safety prompted Shabana to start Taxi services exclusively for women.She and her husband decided to establish ‘Remain safe Pvt Ltd’. Her friends supported her to her new venture by purchasing shares in the company. She raised Rs10 Lakh by issue of shares and raised another 10 Lakh from bank loan. The company management decided to train 20 women as cab drivers.For this they selected women from different slum colonies and gave them six months aggressive training on driving and basic car repairing. The company pledge to invest 30% profit earned to run a driving school for the lesser priviledge girls. All girls who enrolled for driving lessons were also taught self-defence technique. (a) Identify the form of organization Shabana established. Quote the appropriate line or word in support of your answer. (b) State the two features of this type of organization. (c) State any one value adopted by management of ‘Remain safe Pvt Ltd.’ Q10 A factory owner insures his stock of goods. He fails to make necessary safety arrangements to protect the factory from fire. Later, factory catches fire and

Upload: vuongdan

Post on 07-Mar-2018

364 views

Category:

Documents


1 download

TRANSCRIPT

HOLIDAY HOME WORK –BUSINESS STUDIES

CLASS XI 2016-17

Q1 Name the form of Business organization formed with the motive of welfare of its members.

Q2 State the Main document of a company form of organization. Q3 Mention the form of public sector organizations that are accountable to

specific Ministries. Q4 Aman started a business on his own. He has his father helping him with the

accounts and his brother helps him with looking after customers in the evening. Aman pays a monthly salary to his father and brother. Identify the form of business organization.

Q5 What is the investment limit of Micro Enterprise engaged in Manufacturing. Q6 What are Inter-Corporate Deposites? Q7 Rama went to ‘Auchaan’ a store in Gurgaon with her family. While she was

buying grocery, her husband bought clothes for himself and children were busy selecting toys. After shopping they enjoyed quick dinner in the restaurant run by the store. They could manage to do everything in three hours ,without wasting time in going from one shop to another. Identify the type of retail outlet.

Q8 Mention the name of the document issued by the shipping company as an evidence of accepting the goods for carrying them to the designated destination.

Q9 The increasing concerns of women safety prompted Shabana to start Taxi services exclusively for women.She and her husband decided to establish ‘Remain safe Pvt Ltd’. Her friends supported her to her new venture by purchasing shares in the company. She raised Rs10 Lakh by issue of shares and raised another 10 Lakh from bank loan. The company management decided to train 20 women as cab drivers.For this they selected women from different slum colonies and gave them six months aggressive training on driving and basic car repairing. The company pledge to invest 30% profit earned to run a driving school for the lesser priviledge girls. All girls who enrolled for driving lessons were also taught self-defence technique.

(a) Identify the form of organization Shabana established. Quote the appropriate line or word in support of your answer.

(b) State the two features of this type of organization. (c) State any one value adopted by management of ‘Remain safe Pvt Ltd.’

Q10 A factory owner insures his stock of goods. He fails to make necessary safety arrangements to protect the factory from fire. Later, factory catches fire and

could not be controlled because there were no fire extinguishers in the factory. Will the factory owner receive insurance claim? Justify your answer.

Q11 Name the type of e-business transactions in the following cases: (a) A customer buys a music software through internet. (b) Centralised Inventory management for all stores of Reebok in New

Delhi. (c) Ankita sold her bicycle through quicker.com.

Q12 The Board of Directors of Neha Ltd. proposed to raise funds through the issue of equity shares. The board of Directors were in favour of issuing equity shares because they know that a company has to pay dividend to equity share holders only when it earns profits. Board of Directors decided to record losses for the first three years so that they do not have to pay dividends to shareholders.

(a) Identify any two values being ignored by Directors of the Company. (b) State and explain any other two merits of issuing Equity shares from

the point of view of Company . Q13 Arun is running a café. A shop next to him is on sale. His friend suggested him

to buy the same and expand the business. Arun wants to buy but has no money. His friend offered his the money but wishes to be a partner in the business. Arun refuses the offer. State and explain any three reasons why Arun might have refused his friend’s offer.

Q14 Rohit and Gurvinder are partners selling electronic products. They import the components from China and assemble them in their factory established in a rural area of Jharkhand. Most of the workers are Children and Women. They are paid very less salaries thus owners save on labour cost. They sell their products in nearby countries like Bangladesh, Nepal and Srilanka.

(a) Identify the type of trade Rohit and and Gurvinder were doing. (b) Quote the line from the paragraph which suggest unethical practices

being adopted by Rohit and Gurvinder in their business.. (c) State and explain any two types of problems faced by this type of

business.

Q15 Though a Bank is a financial Institution whose main function is to accept Deposits and lend money, but it offers many other services to attract customers and compete with other Banks. In the light of the above statement explain any four services provided by a commercial bank.

Q16 Angle’s paradise was running as a primary school for last three years. They used to appoint their own staff for all core and non core activities. This year they started off with the secondary section as well. The administrator suggested the Principal to give cafeteria, house-keeping and security contracts to outside agencies. Principal did not seem to be very happy with the idea. She was worried about the quality of work these agencies might do. Explain to the Principal why they can go for contractual services .

Q17 Name and briefly explain the principle of insurance for each of the following statements:

(a) Insured must have economic interest in the subject matter of insurance contract.

(b) Insurer can stand in the position of insured once the claim is settled. (c) The insured is expected to disclose all the important facts related to the

property insured. (d) Insurer is not liable for any uninsured causes or perils.

Q18 Small scale Industries contribute to the economic development of the country by producing 40% of the gross Industrial value added, yet they face financial crisis all the time. State and explain four other problems faced by Small scale Industries in our country.

Q19 Rosy was going for summer holidays. She was waiting for her train at the railway station. She suddenly remembered that she did not have lock for luggage .She looked around and saw a man selling chain locks. She called him and purchased one chain lock from him. She went to the book store at the platform and purchased a magazine to read in the train.

(a) Identify the type of itinerant traders from whom Rosy purchased goods. (b) Give examples of two other traders who sell low priced daily necessity

goods. (c) State the name of the automatic vending machine which is used to

withdraw money or know your balance. State and explain any one limitations of automatic vending machines.

Q20 Commerce is the sum total of activities that remove hindrances in the free flow of goods from producers to consumers. Explain.

Q21 ‘Though profits plays an important role in the success of business but business have become conscious about its social responsibilities. ’ In the light of the above statement explain why business should assume social responsibility ?

Q22 Rehman a fresh graduate decided to establish a small factory in his village. He spoke to his father who guided him about various scheme under MSMED Act. Rehman entered into an agreement with one of the big automobiles manufacturing company for producing components for them with an investment of 50 Lakhs in plant and Machinery. He employed men and women in his factory and pays them fair wages. He ensured that the machines did not create any kind of pollution. He also organized night school for all the illiterate workers.

(a) Identify the type of enterprise formed by Rehman. Quote supporting line for your answer.

(b) State any three incentives provided provided by the government to rural Industries.

(c) State the type of social responsibilities Rehman performed. Q23 Nidhi wants to set up a company for manufacturing toys .Explain the steps

she must take for promotion of her company.

Q24 It is a public sector enterprise established under Indian Companies Act and conducts business in competition with companies in private sector.

(a) Identify the type of public sector Enterprise. (b) What is the minimum investment government has to make in such

companies and who are/is the shareholder in the company? (c) Discuss any two advantages and limitations of such companies.

Q25 “It is better to use our own funds because that costs us nothing”. In the light of this statement bring out the merits and demerits of retained earnings as a source of finance.

Q26 Name the retail organization where same type of commodities are sold in all the shops located all over the country and give an example of this. What are the features of such an organization?

ACCOUNTANCY - CLASS XI 1 What is meant by Generally Accepted Accounting Principles (GAAP)? 2. What are the Liquid Assets? 3. Write any three limitations of accounting. 4 Give Journal entries for the following:

(i) Received only 60 paise in rupee from official receiver of Mr.Vinod who owed Rs.10,000.

(ii) Paid Rs.7,300 to Vinod in full settlement of his account of Rs.7,500. (iii) Received cash from Vinod for a bad debt written off last year Rs.500. 5. If the capital of a business is Rs.5,00,000 and liabilities are Rs.1,00,000, Loss Rs.60,000, Calculate the total assets of the business. 6. Explain Historical cost principle and Consistency Assumption of accounting. 7. Distinguish between Reserve and Provision.

8. Prepare Trial Balance from the following information: Prepaid Expense Rs.5,000, Profit & Loss A/c (Profit) Rs.8,000, Outstanding Rent Rs.2,000, Bad Debts Recovered Rs.4,000, Interest on Investment Rs.1,000, Due to Mohan Rs.5,000, Bank overdraft Rs.2,000,Discount Allowed Rs.800, Due from Vinod Rs.1,200, Investment Rs.15,000, Patents Rs.4,000, MachineryRs.6,000, Capital Rs.10,000.

9 A sold goods to B for Rs.4,000 and drew a bill for the amount due. B after giving his acceptance returned the bill to A. A discounted it form his bank for Rs.3,900. On due date, bill returned dishonoured and bank paid Rs.50 as noting charges. After one week B paid the full amount of the bill including the noting charges. Give journal entries in the books of A and B.

10. Prepare Double column Cash Book of Vinod from the following transactions:

2010 Amt.(Rs.) June. 1 Cash in hand Rs. 800, Bank overdraft ................................. 5,700 June. 7 Received a cheque from Bharti ............................................ 3,250 June. 9 Deposited the above cheque into bank. June. 15 Cheque Received from Panna Lal ...................................... 1,200 June. 20 Bharti's Cheque returned dishonoured June. 28 Panna Lal's cheque was endorsed to Kamal June. 30 Income Tax paid by cheque.................................................. 150

11.Prepare a Bank Reconciliation Statement on 31 December 2009 for the following when credit balance as per bank column of cash book is Rs.1,800:

(1) Cheques issued, but not presented for payment Rs.360. (2) Cheque deposited but not collected by the bank.Rs.770 (3) Interest on overdraft charged by the bank Rs.30.

(4) A customer directly deposited in bank Rs.500.

12. Vinod Ltd., purchased a Plant on 1st April, 2005 for Rs.15,000. It purchased another plant on 1st October, 2005 costing Rs.20,000 and on 1st July, 2006 costing Rs.30,000. On 1st January, 2007 the Plant purchased on 1st April, 2005 became useless and was sold for Rs.2,000. Show Plant Account charging 10% p.a. depreciation by fixed instalment method for four years. The plant purchased on 1st October, 2005 was sold for Rs.8,000 on 1st January, 2008. Accounts of the company are closed

on 31st December each year.

13. How will you deal with the Outstanding Salary appearing in the Trial Balance of a sole proprietor?

14. Calculate the missing figure:

Capital at the end 36,000 Drawings 8,000 Loss during the year 2,000 Capital in the beginning 40,000 Capital introduced during the year ?

15 Vinod maintains his account on Single Entry System. Calculate his profit on 31st March, 2013 from the following information: Particulars 1 April 2012 31 March 2013 Cash in hand 6,000 2,000 Bank Balance 18,000 14,000 Furniture 8,000 8,000 Stock 4,000 12,000 Creditors 16,000 12,000 Debtors 12,000 16,000

During the year his drawings were Rs.4,000 and additional capital invested Rs.8,000.

16. How will you treat the following while preparing final accounts: Debtors 80,000 Bad Debts 2,000 Provision for doubtful debts 5,000 Adjustments: Bad Debts Rs.500 and Provision on debtors @ 5%.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

CLASS XI CHEMISTRY

HOLIDAY HOME WORK

THE S-BLOCK ELEMENTS

1. Compare the alkalimetals and alkaline earth metals with respect to i. Ionization enthalpy ii. Basicity of oxides iii. Solubility of sulphates iv. Thermal stability of carbonates v. BaO is soluble is soluble but BaSO4 is insoluble in water.

2. Account for the following i. Caesium rather than Li used in photoelectric cells. ii. Be and Mg do not give colour to the flame where as other alkaline earth metals do so. iii. KO2 is paramagnetic. iv. Li salts are mostly hydrated. v. Solvay process cannot be extended to the manufacture of potassium carbonate.

3. Give four similarities between (i) Li & Mg (ii) Be & Al 4. What happens when

i. Na metal is dropped in water. ii. Sodium peroxide dissolves in water. iii. Chlorine gas is passed through milk of lime. iv. Calcium carbonate is heated to 1200 K. v. Potassium metal dissolves in liquid ammonia. vi. Action of vheat on LiNO3.

5. Complete the following equations. i. Na2O2 + H2O → ii. Mg + N2 → iii. MgNO3 →(heat) iv. BeCl2 + LiAlH4→ v. BeO + C +Cl2→

WINTER BREAK HOME WORK

COMPUTER SCIENCE for CLASS XI

C++ PROGRAMS

Important Note: Write the programs in your Home Work Notebook. Study all the c++ programs too. Study these program well, test paper on Reopenning Day.

1 C++ Programming Code to Find HCF LCM of Two Numbers

/* C++ Program - Find HCF and LCM of Two Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int a, b, x, y, t, hcf, lcm; cout<<"Enter two number : "; cin>>x>>y; a=x; b=y; while(b!=0) { t=b; b=a%b; a=t; } hcf=a; lcm=(x*y)/hcf; cout<<"HCF = "<<hcf<<"\n" cout<<"LCM = "<<lcm<<"\n"; getch(); }

2 Check Leap Year or Not in C++

To check whether the input year is a leap year or not a leap year in C++ Programming, you have to ask to the user to enter the year and start checking for the leap year. To check that the year is a leap year or not, following these rules:

• If year is divided by 4 but not by 100, then it is a leap year. • If year is divided by 100, then it is not a leap year. • If year is divided by 400, then it is a leap year. • And in all other cases, it is not a leap year.

C++ Programming Code to Check Leap Year or Not

Following C++ program ask to the user to enter the year to check whether it is a leap year or not, then display it on the screen:

/* C++ Program - Check Leap Year or Not */

#include<iostream.h> #include<conio.h> void main() { clrscr(); int yr; cout<<"Enter year :"; cin>>yr; if((yr%4==0) && (yr%100!=0)) { cout<<"This is a Leap Year"; } else if(yr%100==0) { cout<<"This is not a Leap Year"; } else if(yr%400==0) { cout<<"This is a Leap Year"; } else { cout<<"This is not a Leap Year"; } getch(); }

3 Check Prime or Not in C++

To check whether the number is a prime number or not a prime number in C++ programming, you have to ask to the user to enter a number and start checking for prime number. If number is divisible by 2 to one less than that number (n-1), then the number is not prime number, otherwise it will be a prime number.

C++ Programming Code to Check Prime or Not

Following C++ program ask the user to enter a number to check whether it is a prime number or not, then display it on the screen:

C++ Programming Example Output: /* C++ Program - Check Prime or Not */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int num,i,count=0; cout<<"Enter a number:"; cin>>num; for(i=2;i<num;i++) { if(num%i==0) { count++; break; } } if(count==0)

{ cout<<"This is a prime number"; } else { cout<<"This is not a prime number"; } getch(); }

4 Check Alphabet or Not in C++

To check whether the entered character is an alphabet or not alphabet in C++ programming, you have to ask to the user to enter a character and start checking for alphabet. To check for alphabet, use ASCII values of character, if character has ASCII values between 65 to 92 or 97 to 122 then it will be an alphabet. Otherwise, it will not be an alphabet. You can also check whether the character is in between a to z(alphabet) or A to Z(alphabet). Otherwise, not an alphabet as shown here in the following program.

C++ Programming Code to Check Alphabet or Not

Following C++ program ask to the user to enter a character to check whether it is an alphabet or not, then display the output on the screen:

/* C++ Program - Check Alphabet or Not */ #include<iostream.h> #include<conio.h> void main() { clrscr(); char ch; cout<<"Enter a character: "; cin>>ch; if((ch>='a'&& ch<='z') || (ch>='A' && ch<='Z')) { cout<<ch<<" is an alphabet"; } else { cout<<ch<<" is not an alphabet"; } getch(); }

5 Check Vowel or Not in C++

To check whether the input alphabet is a vowel or not a vowel in C++ Programming, you have to ask to the user to enter a character and check the character for vowel. The character is vowel, only if it is equal to a, A, e, E, i, I, o, O, u, U. Otherwise the character will not be a vowel as shown here in the following program.

C++ Programming Code to Check Vowel or Not

Following C++ program ask the user to enter an alphabet to check whether it is a vowel or not, then display the result on the screen:

/* C++ Program - Check Vowel or Not */ #include<iostream.h> #include<conio.h> void main() { clrscr(); char ch; cout<<"Enter an alphabet : "; cin>>ch; if(ch=='a' || ch=='A' || ch=='e' || ch=='E' || ch=='i' || ch=='I' || ch=='o' || ch=='O' || ch=='u' || ch=='U') { cout<<"This is a vowel"; } else { cout<<"This is not a vowel"; } getch(); }

6 Check Original Equal Reverse or Not

To check that the original number is equal to its reverse or not in C++ programming, you have to ask to the user to enter the number and reverse that number then check that reverse is equal to original or not, before reversing the number make a variable of same type and place the value of the original number to that variable to check after reversing the number as shown here in the following program.

C++ Programming Code to Check Original Equal Reverse or Not

Following C++ program ask the user to enter a number, to find its reverse and then check whether reverse is equal to its original or not, then display the result on the screen:

/* C++ Program - Check Original Equal Reverse or Not */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int num, orig, rev=0, rem; cout<<"Enter a number : "; cin>>num; orig=num; while(num>0) { rem=num%10; rev=rev*10+rem; num=num/10; } if(orig==rev) {

cout<<"Reverse is equal to original"; } else { cout<<"Reverse is not equal to original"; } getch(); }

7 Make Simple Calculator Program in C++

To make a simple calculator in C++ programming which performs basic four mathematical operations (addition, subtraction, multiplicatin, and division) depending on the user's choice, use the switch case to identify the input operator to perform required calculation then display the result as shown here in the following program.

C++ Programming Code to Make Simple Calculator

Following is a simple C++ program which is a menu-driven program based on simple calculation like addition, subtraction, multiplication and division according to user's choice:

/* C++ Program - Make Simple Calculator */ #include<iostream.h> #include<stdio.h> #include<conio.h> #include<stdlib.h> void main() { clrscr(); float a, b, res; char choice, ch; do { cout<<"1.Addition\n"; cout<<"2.Subtraction\n"; cout<<"3.Multiplication\n"; cout<<"4.Division\n"; cout<<"5.Exit\n\n"; cout<<"Enter Your Choice : "; cin>>choice; switch(choice) { case '1' : cout<<"Enter two number : "; cin>>a>>b; res=a+b; cout<<"Result = "<<res; break; case '2' : cout<<"Enter two number : "; cin>>a>>b; res=a-b; cout<<"Result = "<<res; break; case '3' : cout<<"Enter two number : "; cin>>a>>b; res=a*b; cout<<"Result = "<<res; break; case '4' : cout<<"Enter two number : ";

cin>>a>>b; res=a/b; cout<<"Result = "<<res; break; case '5' : exit(0); break; default : cout<<"Wrong Choice..!!"; break; } cout<<"\n------------------------------------\n"; }while(choice!=5 && choice!=getchar()); getch(); }

8 Calculate Arithmetic Mean in C++

To calculate arithmetic mean of numbers in C++ Programming, you have to ask to the user to enter number size then ask to enter the numbers of that size. To calculate arithmetic mean of all numbers, first perform addition of all the numbers, then make a variable responsible for the arithmetic mean and place addition/size in a variable say armean (arithmetic mean), then display the result on the output screen as shown here in the following program.

C++ Programming Code to Calculate Arithmetic Mean

Following C++ program ask to the user to enter the number size (say n), then ask to enter n numbers to calculate and display the arithmetic mean of all the numbers:

/* C++ Program - Calculate Arithmetic Mean */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int n, i, arr[50], sum=0; cout<<"How many number you want to enter ?\n"; cin>>n; cout<<"Enter "<<n<<" Numbers :"; for(i=0; i<n; i++) { cin>>arr[i]; sum=sum+arr[i]; } int armean=sum/n; cout<<"Arithmetic Mean = "<<armean; getch(); }

9 Calculate Grade of Student in C++

To calculate grade of a student on the basis of his total marks in C++ Programming, you have to ask to the user to enter marks obtained in some subjects (5 subjects here). To calculate grade of student, first calculate the mark's sum of all the subjects and then calculate average marks. Now start checking for the grades to display the result as shown here in the following program.

C++ Programming Code to Calculate Grade of Student

Following program ask to the user to enter the marks obtained in 5 subjects to calculate and display the grade of the student:

/* C++ Program - Calculate Grade of Student */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int mark[5], i; float sum=0,avg; cout<<"Enter marks obtained in 5 subjects :"; for(i=0; i<5; i++) { cin>>mark[i]; sum=sum+mark[i]; } avg=sum/5; cout<<"Your Grade is "; if(avg>80) { cout<<"A"; } else if(avg>60 && avg<=80) { cout<<"B"; } else if(avg>40 && avg<=60) { cout<<"C"; } else { cout<<"D"; } getch(); }

10 Print Table of Number in C++

To print table of a number in C++ programming, you have to ask to the user to enter a number and start multiplying that number from 1 to 10 and display the multiplication result at the time of multiplying on the output screen which is the table of the number as shown here in the following program.

C++ Programming Code to Print Table of Number

Following C++ program ask to the user to enter any number to find the table of that number, then display it on the screen:

/* C++ Program - Print Table of Number */ #include<iostream.h> #include<conio.h> void main() { clrscr();

int num, i, tab; cout<<"Enter a number : "; cin>>num; cout<<"Table of "<<num<<" is \n\n"; for(i=1; i<=10; i++) { tab=num*i; cout<<num<<" * "<<i<<" = "<<tab<<"\n"; } getch(); }

11 Print Prime Number in C++

To print all prime number between the particular range in C++ programming, check division from 2 to one less than that number (i.e., n-1), if the number is divided to any number from 2 to one less than that number then that number will not be prime. Otherwise, that number will be prime number as shown here in the following program.

C++ Programming Code to Print Prime Numbers

To print prime number between range for example, to print prime number between 3 to 29, here 3 is the starting number and 29 is the ending number, so following C++ program ask to the user to enter the starting and ending number to find and print all the prime number exists between the given range (here we are including the starting and ending number also if they are prime):

/* C++ Program - Print Prime Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int start, end, i, j, count=0; // to print all the prime number between any range // enter the two number (starting and ending) cout<<"Enter starting number : "; cin>>start; cout<<"Enter ending number : "; cin>>end; cout<<"Prime Number Between "<<start<<" and "<<end<<" is :\n"; for(i=start; i<=end; i++) { count=0; for(j=2; j<i; j++) { if(i%j==0) { count++; break; } } if(count==0) { cout<<i<<" "; } } getch();

}

12 Add n Numbers in C++

To add n numbers in C++ Programming, you have to ask to the user to enter the value of n (i.e., how many numbers he/she want to enter to all the numbers), then ask to enter n numbers to perform the addition of all the n numbers to display the result on the screen as shown here in the following program.

C++ Programming Code to Add n Numbers

Following C++ program first ask to the user to enter the value of n and then ask to enter the n Number to add them. This C++ program add all n numbers entered by the user.

C++ Programming Example Code: /* C++ Program - Add n Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int i, n, sum=0, num; cout<<"How many number you want to enter and add them ?"; cin>>n; cout<<"Enter "<<n<<" number :"; for(i=0;i<n;i++) { cin>>num; sum=sum+num; } cout<<"Sum of all the "<<n<<" number is "<<sum; getch(); }

13 Interchange Numbers in C++

To interchange the numbers in C++ programming, you have to ask to enter the two number to interchange both the number. To interchange the number, make a variable say temp of same type which will help you in interchanging the numbers. Now to interchange the number, place the first number to temp, then place second number to the first and place temp to second as shown here in the following program.

C++ Programming Code to Interchange Numbers

Following C++ program ask to the user to enter two number (value of A and B) to interchange and display the result on the screen:

/* C++ Program - Interchange Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int a, b, temp;

cout<<"Enter value of A and B : \n"; cout<<"A = "; cin>>a; cout<<"B = "; cin>>b; temp=a; a=b; b=temp; cout<<"Number interchanged successfully..!!\n"; cout<<"A = "<<a<<"\n"<<"B = "<<b; getch(); }

14 Count Positive, Negative and Zero in C++

To count the number of positive number, negative number, and zero from the given set of numbers entered by the user in C++ programming, you have to ask to the user to enter some set of numbers (10 numbers here). Now to find occurrence of positive, negative and zero from the given set of numbers, just check all the numbers using for loop whether the number is 0, less than zero or greater than 0 to count the occurrence of positive, negative and zero as shown here in the following program.

C++ Programming Code to Count Occurrence of Positive, Zero and Negative Numbers

Following C++ program ask to the user to enter 10 numbers to check for number of positive number, negative number and zero occurrence, then display the result on the screen:

/* C++ Program - Count Occurrence of Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int countp=0, countn=0, countz=0, arr[10], i; cout<<"Enter 10 numbers : "; for(i=0; i<10; i++) { cin>>arr[i]; } for(i=0; i<10; i++) { if(arr[i]<0) { countn++; } else if(arr[i]==0) { countz++; } else { countp++; } } cout<<"Positive Numbers = "<<countp<<"\n"; cout<<"Negative Numbers = "<<countn<<"\n"; cout<<"Zero = "<<countz<<"\n";

getch(); }

15 Find Largest of Three Numbers in C++

To find the largest number among the three numbers in C++ programming, you have to ask to the user to enter the three numbers, now start checking which one is the largest number. After finding the largest, display that number as the largest number among the three numbers on the output screen as shown here in the following program.

C++ Programming Code to Find Largest of Three Numbers

Following C++ program ask to the user to enter the three numbers to check which one is the largest or the biggest one of the three numbers, then display the result on the screen :

/* C++ Program - Find Largest of Three Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int a, b, c, big; cout<<"Enter three numbers : "; cin>>a>>b>>c; //let a is the biggest big=a; if(big<b) { if(b>c) { big=b; } else { big=c; } } else if(big<c) { if(c>b) { big=c; } else { big=b; } } else { big=a; } cout<<"Biggest number is "<<big; getch(); }

16 Find Factorial of Number in C++

To find factorial of a number in C++ programming, you have to ask to the user to enter the number to find the factorial of the number using the for loop and display the factorial result of the number on the output screen as shown here in the following program.

C++ Programming Code to Find Factorial of Number

Following C++ program ask to the user to enter a number to find its factorial, then display the result on the screen :

/* C++ Program - Find Factorial of Number */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int num, i, fact=1; cout<<"Enter a number : "; cin>>num; for(i=num; i>0; i--) { fact=fact*i; } cout<<"Factorial of "<<num<<" is "<<fact; getch(); }

17 Calculate Area and Perimeter of Square and Rectangle in C++

To calculate area and perimeter of a square and rectangle in C++ Programming, you have to ask to the user to enter length and breadth of the rectangle and side length of the square and make two variable one for area and one for perimeter for each (square and rectangle), to perform mathematical calculation and display the result on the screen as shown here in the following program.

C++ Programming Code to Calculate Area and Perimeter of Rectangle

Following C++ program ask to the user to enter the length and breadth of the rectangle to calculate and display the area and perimeter of the rectangle:

/* C++ Program - Calculate Area and Perimeter of Rectangle */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int len, bre, peri, area; cout<<"Enter length and breadth of the rectangle :"; cin>>len>>bre; area=len*bre; peri=(2*len)+(2*bre); cout<<"Area = "<<area<<"\tPerimeter="<<peri; getch();

}

18 Calculate Area and Circumference of Circle in C++

To calculate area and circumference of any circle in C++ Programming, you have to ask to the user to enter the radius of circle, place the radius in a variable say r and make two variable, one for area and other for circumference, and place 3.14*r*r in area and 2*3.14*r in circumference, then display the result on the screen as shown here in the following program.

C++ Programming Code to Calculate Area and Circumference of Circle

Following program ask to the user to enter the radius of a circle, to calculate and display the area and perimeter of the circle:

C++ Programming Example Code: /* C++ Program - Calculate Area and Circumference of Circle */ #include<iostream.h> #include<conio.h> void main() { clrscr(); float r, area, circum; cout<<"Enter the radius of the circle :"; cin>>r; area=3.14*r*r; circum=2*3.14*r; cout<<"Area of the circle = "<<area<<"\nCircumference of the circle = "<<circum<<"\n"; getch(); }

19 Fahrenheit to Centigrade Conversion in C++

To convert temperature from Fahrenheit to centigrade in C++ programming, you have to ask to the user to enter the temperature in Fahrenheit to convert it into centigrade to display the equivalent temperature value in centigrade as shown here in the following program.

C++ Programming Code to Convert Fahrenheit to Centigrade

Following C++ program ask to the user to enter temperature in Fahrenheit to convert it into Celsius, then display the result on the screen:

/* C++ Program - Fahrenheit to Centigrade Conversion */ #include<iostream.h> #include<conio.h> void main() { clrscr(); float fah, cel; cout<<"Enter temperature in Fahrenheit : "; cin>>fah; cel=(fah-32) / 1.8; cout<<"Temperature in Celsius = "<<cel; getch(); }

20 Centigrade to Fahrenheit Conversion in C++

To convert temperature from centigrade to Fahrenheit in C++ Programming, you have to ask to the user to enter the temperature in centigrade to convert it into Fahrenheit (using fah = (1.8 * cen) + 32) to display the equivalent temperature in Fahrenheit

C++ Programming Code to Convert Centigrade to Fahrenheit

Following C++ program ask to the user to enter the temperature in centigrade to convert it into Fahrenheit, then display the result on the screen :

/* C++ Program - Centigrade to Fahrenheit Conversion */ #include<iostream.h> #include<conio.h> void main() { clrscr(); float cen, fah; cout<<"Enter temperature in Celsius : "; cin>>cen; fah=(1.8 * cen) + 32; cout<<"\nTemperature in Fahrenheit = "<<fah; getch(); }

21 Print ASCII Values of Characters in C++

To print ASCII values of all the character in C++ programming, use the number from 1 to 255 and place the number in the ch variable of char type to convert the ASCII value in equivalent character to print all the ASCII values of the characters as shown here in the following program.

C++ Programming Code to Print ASCII Values of Characters

Following C++ program print all the ASCII values of characters:

/* C++ Program - Print ASCII Values of Characters */ #include<iostream.h> #include<conio.h> void main() { clrscr(); char ch; int i; for(i=1; i<255; i++) { ch=i; cout<<i<<"-> "<<ch<<"\t"; } getch(); }

22 Print Fibonacci Series in C++

To print Fibonacci series in C++ programming, you have to ask from the user to enter total number of terms that he/she want to print fibonacci series upto the required number. Now to print fibonacci series, first print the starting two number of the Fibonacci series and make a while loop to start printing the next number of the Fibonacci series. Use the three variable say a, b and c. Place b in a and c in b then place a+b in c to print the value of c to make and print Fibonacci series as shown here in the following program.

C++ Programming Code to Print Fibonacci Series

Following C++ program ask to the user to enter the limit upto which he/she want to print the Fibonacci series:

/* C++ Program - Print Fibonacci Series */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int a=0, b=1, c=0, limit; cout<<"Upto How many term ? "; scanf("%d",&limit); cout<<"Fabonacci Series : "<<a<<" "<<b<<" "; // first two term c=a+b; limit=limit-2; // decrease the limit by 2. since two numbers already printed while(limit) { cout<<c<<" "; a=b; b=c; c=a+b; limit--; } getch(); }

23 Check Palindrome or Not in C++

To check for palindrome i.e., whether entered number is palindrome or not in C++ programming, you have to first ask from the user to enter a number. Now to check whether the entered number is a palindrome number (if reverse of the number is equal to its original) or not a palindrome number (if reverse of the number is not equal to its original), you have to first reverse the number and check whether reverse is equal to original or not. If it is equal then the number is palindrome, otherwise not palindrome number as shown here in the following program.

C++ Programming Code to Check Palindrome or Not

Following C++ program ask to the user to enter a number to reverse it, then check whether reverse is equal to its original or not, if it is equal then it will be palindrome else it will be not be palindrome:

/* C++ Program - Check Palindrome or Not */ #include<iostream.h> #include<conio.h> void main()

{ clrscr(); int num, rem, orig, rev=0; cout<<"Enter a number : "; cin>>num; orig=num; while(num!=0) { rem=num%10; rev=rev*10 + rem; num=num/10; } if(rev==orig) // check if original number is equal to its reverse { cout<<"Palindrome"; } else { cout<<"Not Palindrome"; } getch(); }

24 Check Armstrong or Not in C++

To check whether a number is an Armstrong number or not an Armstrong number in C++ programming, you have to ask to the user to enter the number (any positive number), now check for the Armstrong number i.e., whether the entered/given number is an Armstrong number or not.

To check whether any positive number is an Armstrong number or not, following is the example:

• Since 153 is equal to 1*1*1 + 5*5*5 + 3*3*3. So 153 is an Armstrong number • Since 12 is not equal to 1*1*1 + 2*2*2. So 12 is not an Armstrong number

After checking for the Armstrong number, print the result on the output screen as shown here in the following program.

C++ Programming Code to Check Armstrong or Not

Following C++ program ask to the user to enter any positive integer to find whether it is an Armstrong number or not, then display the result on the screen:

/* C++ Program - Check Armstrong or Not */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int n, nu, num=0, rem; cout<<"Enter any positive number : "; cin>>n; nu=n; while(nu!=0) { rem=nu%10;

num=num + rem*rem*rem; nu=nu/10; } if(num==n) { cout<<"Armstrong Number"; } else { cout<<"Not Armstrong Number"; } getch(); }

25 Generate Armstrong Numbers in C++

To generate Armstrong numbers in C++ programming, you have to ask to the user to enter the interval to print the Armstrong number between the given interval as shown here in the following program.

C++ Programming Code to Generate Armstrong Numbers

Following C++ program ask to the user to enter the interval, to print the Armstrong numbers in the given interval. Since if you start from 1 then the first Armstrong number will be 153. So enter the interval which contain 153 like enter starting number as 1, 2, 3, 4...... etc. and enter the ending number like 154, 155, 156.......etc. It is just a clue that the first Armstrong number is 153 so to check/print, you can follow it. Generate Armstrong number from the following C++ program, so following C++ program illustrates it:

/* C++ Program - Generate Armstrong Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int num1, num2, i, n, rem, temp, count=0; //enter the interval (enter the two number) cout<<"Enter Starting Number : "; cin>>num1; cout<<"Enter Ending Number : "; cin>>num2; for(i=num1+1; i<num2; i++) { temp=i; n=0; while(temp!=0) { rem=temp%10; n = n + rem*rem*rem; temp=temp/10; } if(i==n) { if(count==0) { cout<<"Armstrong numbers between the given interval are : \n"; }

cout<<i<<" "; count++; } } if(count==0) { cout<<"Armstrong number not found between the given interval"; } getch(); }

26 Find ncR and nPr in C++

To find ncR and nPr in C++ programming, you have to ask to the user to enter the value of n and r to find the ncR and nPr, and display the value of ncR and nPr on the output screen as shown here in the following program.

C++ Programming Code to Find ncR nPr

Following C++ program to ask to the user to enter the two number (and store these two number in variables say n and r), to find its ncR and nPr, then display the result on the screen:

/* C++ Program - Find ncR and nPr */ #include<iostream.h> #include<conio.h> long int fact(int); //function declaration void main() { clrscr(); int n, r; long int ncr, npr; cout<<"Enter the value of n : "; cin>>n; cout<<"Enter the value of r : "; cin>>r; npr=fact(n)/fact(n-r); // calling the function or function calling ncr=npr/fact(r); //function calling cout<<"NPR value = "<<npr<<"\n"; cout<<"NCR value = "<<ncr<<"\n"; getch(); } long int fact(int x) //defining the function or function definition { int i, f=1; for(i=2; i<=x; i++) { f=f*i; } return f; }

27 Decimal to Binary Conversion in C++

To convert decimal number to binary number in C++ programming, you have to ask to the user to enter the decimal number to convert it into binary number to display the equivalent value in binary format as shown here in the following program.

C++ Programming Code Convert Decimal to Binary

Following C++ program ask to the user to enter any number in decimal format to convert it into binary, then display the result on the screen :

/* C++ Program - Decimal to Binary Conversion */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int decnum, rem, quot; int binnum[100], i=1, j; cout<<"Enter any decimal number : "; cin>>decnum; quot=decnum; while(quot!=0) { binnum[i++]=quot%2; quot=quot/2; } cout<<"Equivalent binary value of "<<decnum<<" :\n"; for(j=i-1; j>0; j--) { cout<<binnum[j]; } getch(); }

28 Decimal to Octal Conversion in C++

To convert decimal number to octal number in C++ programming, you have to ask to the user to enter the decimal number to convert it into octal number to display the equivalent value in octal format as shown here in the following program.

C++ Programming Code to Convert Decimal to Octal

Following C++ program ask to the user to enter any number in decimal to convert it into octal, then display the result on the screen :

/* C++ Program - Decimal to Octal Conversion */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int decnum, rem, quot; int i=1, j, octnum[100]; cout<<"Enter any decimal number : "; cin>>decnum; quot=decnum; while(quot!=0) { octnum[i++]=quot%8; quot=quot/8; }

cout<<"Equivalent octal value of "<<decnum<<" is : \n"; for(j=i-1; j>0; j--) { cout<<octnum[j]; } getch(); }

29 Decimal to Hexadecimal Conversion in C++

To convert a number from decimal format into equivalent hexadecimal format in C++ programming, you have to ask to the user to enter the desired decimal number to convert it into hexadecimal number to display the equivalent value in hexadecimal format as shown here in the following program.

C++ Programming Code to Convert Decimal to Hexadecimal

Following C++ program ask to the user to enter any number in decimal to convert it into hexadecimal, then display the result on the screen :

/* C++ Program - Decimal to Hexadecimal Conversion */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int decnum, rem, quot; char hexdecnum[100]; int i=1, j, temp; cout<<"Enter any decimal number : "; cin>>decnum; quot=decnum; while(quot!=0) { temp=quot%16; // to convert integer into character if(temp<10) { temp=temp+48; } else { temp=temp+55; } hexdecnum[i++]=temp; quot=quot/16; } cout<<"Equivalent hexadecimal value of "<<decnum<<" is : \n"; for(j=i-1; j>0; j--) { cout<<hexdecnum[j]; } getch(); }

30 Binary to Decimal in C++

To convert binary to decimal in C++ Programming, you have to ask to the user to enter any number in binary to convert it into decimal, then display the equivalent decimal value on the output screen as shown here in the following program.

C++ Programming Code to Convert Binary to Decimal

Following C++ program ask to the user to enter any number in binary to convert it into decimal form, then display the result on the screen :

/* C++ Program - Binary to Decimal */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int binnum, decnum=0, i=1, rem; cout<<"Enter any binary number : "; cin>>binnum; while(binnum!=0) { rem=binnum%10; decnum=decnum+rem*i; i=i*2; binnum=binnum/10; } cout<<"Equivalent decimal value = "<<decnum; getch(); }

31 Binary to Octal in C++

To convert binary to octal in C++ Programming, you have to ask to the user to enter any number in binary to convert it into octal to display the equivalent value in octal on the screen as shown in the following program.

C++ Programming Code to Convert Binary to Octal

Following C++ program ask to the user to enter any number in binary to convert it into octal form, then display the result on the screen:

/* C++ Program - Binary to Octal */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int binnum, rem, quot; int octnum[100], i=1, j; cout<<"Enter any binary number : "; cin>>binnum; quot=binnum; while(quot!=0) { octnum[i++]=quot%8;

quot=quot/8; } cout<<"Equivalent octal value of "<<binnum<<" :\n"; for(j=i-1; j>0; j--) { cout<<octnum[j]; } getch(); }

32 Binary to Hexadecimal in C++

To convert binary to hexadecimal in C++ Programming, you have to ask to the user to enter any number in binary to convert it into hexadecimal, then display the equivalent hexadecimal value on the screen as shown here in the following program.

C++ Programming Code to Convert Binary to Hexadecimal

Following C++ program ask to the user to enter any number in binary form to convert it into hexadecimal form, then display the result on the screen:

/* C++ Program - Binary to Hexadecimal */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int binnum, rem, quot; int i=1, j, temp; char hexdecnum[100]; cout<<"Enter Binary Number : "; cin>>binnum; quot = binnum; while(quot!=0) { temp = quot % 16; // To convert integer into character if( temp < 10) { temp = temp + 48; } else { temp = temp + 55; } hexdecnum[i++]= temp; quot = quot / 16; } cout<<"Equivalent hexadecimal value of "<<binnum<<" is :\n"; for(j=i-1 ;j>0;j--) { cout<<hexdecnum[j]; } getch(); }

33 Octal to Decimal Conversion in C++

To convert octal number to decimal number in C++ programming, you have to ask to the user to enter the octal number to convert it into decimal number to display the equivalent value in decimal format as shown here in the following program.

C++ Programming Code to Convert Octal to Decimal

Following C++ program ask to the user to enter any octal number to convert it into decimal, then display the result on the screen :

/* C++ Program - Octal to Decimal Conversion */ #include<iostream.h> #include<conio.h> #include<math.h> void main() { clrscr(); long int octnum, decnum=0; int i=0; cout<<"Enter any Octal Number : "; cin>>octnum; while(octnum!=0) { decnum = decnum + (octnum%10) * pow(8, i); i++; octnum=octnum/10; } cout<<"Equivalent Decimal Value = "<<decnum; getch(); }

34 Octal to Binary Conversion in C++

To convert octal number to binary number in C++ programming, you have to ask to the user to enter the octal number to convert it into binary number to display the equivalent value in binary format as shown here in the following program.

C++ Programming Code to Convert Octal to Binary

Following C++ program ask to the user to enter any number in octal to convert it into binary, then display the result on the screen:

/* C++ Program - Octal to Binary Conversion */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int i=0; char octnum[1000];

cout<<"Enter any Octal Number : "; cin>>octnum; cout<<"Equivalent Binary Value = "; while(octnum[i]) { switch(octnum[i]) { case '0' : cout<<"000"; break; case '1' : cout<<"001"; break; case '2' : cout<<"010"; break; case '3' : cout<<"011"; break; case '4' : cout<<"100"; break; case '5' : cout<<"101"; break; case '6' : cout<<"110"; break; case '7' : cout<<"111"; break; default : cout<<"\nInvalid Octal Digit "<<octnum[i]; break; } i++; } getch(); }

35 Octal to Hexadecimal Conversion in C++

To convert octal number to hexadecimal number in C++ programming, you have to ask to the user to enter the octal number to convert it into hexadecimal to display the equivalent value in hexadecimal form as shown here in the following program.

C++ Programming Code to Convert Octal to Hexadecimal

Following C++ program ask to the user to enter any octal number to convert it into hexadecimal number, then display the result on the screen:

/* C++ Program - Convert Octal to Hexadecimal */ #include<iostream.h> #include<conio.h> #include<string.h> #include<math.h> void main() { clrscr(); int a[20], b[20], c[20], rev[20], h, i, j, k, l, x, fra, flag, rem, num1, num3; float rem1, num2, num4, dno; char s[20]; x = fra = flag = rem = 0; rem1 = 0.0; cout<<"Enter any Octal Number : ";

cin>>s; for(i=0,j=0,k=0; i<strlen(s); i++) { if(s[i]=='.') { flag=1; } else if(flag==0) { a[j++]=s[i]-48; } else if(flag==1) { b[k++]=s[i]-48; } } x=j; fra=k; for(j=0,i=x-1; j<x; j++,i--) { rem = rem +(a[j] * pow(8,i)); } for(k=0,i=1;k<fra;k++,i++) { rem1 = rem1 +(b[k] / pow(8,i)); } rem1 = rem + rem1; dno = rem1; num1 = (int)dno; num2 = dno - num1; i=0; while(num1!=0) { rem = num1 % 16; rev[i] = rem; num1 = num1 /16; i++; } j=0; while(num2!=0.0) { num2 = num2 * 16; num3 = (int)num2; num4 = num2 - num3; num2 = num4; a[j] = num3; j++; if(j==4) { break; } } l=i; cout<<"\nEquivalent Hexadecimal Value = "; for(i=l-1; i>=0; i--) { if(rev[i]==10) { cout<<"A"; }

else if(rev[i]==11) { cout<<"B"; } else if(rev[i]==12) { cout<<"C"; } else if(rev[i]==13) { cout<<"D"; } else if(rev[i]==14) { cout<<"E"; } else if(rev[i]==15) { cout<<"F"; } else { cout<<rev[i]; } } h=j; cout<<"."; for(k=0; k<h; k++) { if(a[k]==10) { cout<<"A"; } else if(a[k]==11) { cout<<"B"; } else if(a[k]==12) { cout<<"C"; } else if(a[k]==13) { cout<<"D"; } else if(a[k]==14) { cout<<"E"; } else if(a[k]==15) { cout<<"F"; } else { cout<<a[k]; } } getch(); }

36 Hexadecimal to Decimal Conversion in C++

To convert a number from hexadecimal format into equivalent decimal format in C++ programming, you have to ask to the user to enter the hexadecimal number to convert it into decimal number to display the equivalent value in decimal format as shown here in the following program.

C++ Programming Code to Convert Hexadecimal to Decimal

Following C++ program ask to the user to enter any number in hexadecimal format to convert it into decimal, then display the result on the screen:

/* C++ Program - Hexadecimal to Decimal Conversion */ #include<iostream.h> #include<stdlib.h> #include<conio.h> #include<math.h> unsigned long convtodecnum(char hex[]); void main() { clrscr(); unsigned long decnum; char hex[9]; // 8 characters for 32-bit Hexadecimal Number and one for ' ' cout<<" Enter 32-bit Hexadecimal Number : "; cin>>hex; decnum = convtodecnum(hex); cout<<"Value in Decimal Number is "<<decnum<<"\n"; getch(); } unsigned long convtodecnum(char hex[]) { char *hexstr; int length = 0; const int base = 16; // Base of Hexadecimal Number unsigned long decnum = 0; int i; // Now Find the length of Hexadecimal Number for (hexstr = hex; *hexstr != '\0'; hexstr++) { length++; } // Now Find Hexadecimal Number hexstr = hex; for (i = 0; *hexstr != '\0' && i < length; i++, hexstr++) { // Compare *hexstr with ASCII values if (*hexstr >= 48 && *hexstr <= 57) // is *hexstr Between 0-9

{ decnum += (((int)(*hexstr)) - 48) * pow(base, length - i - 1); } else if ((*hexstr >= 65 && *hexstr <= 70)) // is *hexstr Between A-F { decnum += (((int)(*hexstr)) - 55) * pow(base, length - i - 1); } else if (*hexstr >= 97 && *hexstr <= 102) // is *hexstr Between a-f { decnum += (((int)(*hexstr)) - 87) * pow(base, length - i - 1); } else { cout<<"Invalid Hexadecimal Number \n"; } } return decnum; }

37 Hexadecimal to Binary Conversion in C++

To convert hexadecimal number to binary number in C++ programming, you have to ask to the user to enter the hexadecimal number to convert it into binary number to display the equivalent value in binary format as shown here in the following program.

C++ Programming Code to Convert Hexadecimal to Binary

Following C++ program ask to the user to enter any number in hexadecimal format to convert it into binary, then display the result on the screen:

/* C++ Program - Hexadecimal to Binary Conversion */ #include<iostream.h> #include<conio.h> void main() { clrscr(); long int i=0; char binnum[100], hexdec[100]; cout<<"Enter any hexadecimal number : "; cin>>hexdec; cout<<"\nEquivalent Binary value is : "; while(hexdec[i]) { switch(hexdec[i]) { case '0' : cout<<"0000"; break; case '1' : cout<<"0001"; break; case '2' : cout<<"0010"; break; case '3' : cout<<"0011"; break; case '4' : cout<<"0100"; break;

case '5' : cout<<"0101"; break; case '6' : cout<<"0110"; break; case '7' : cout<<"0111"; break; case '8' : cout<<"1000"; break; case '9' : cout<<"1001"; break; case 'A' : cout<<"1010"; break; case 'B' : cout<<"1011"; break; case 'C' : cout<<"1100"; break; case 'D' : cout<<"1101"; break; case 'E' : cout<<"1110"; break; case 'F' : cout<<"1111"; break; case 'a' : cout<<"1010"; break; case 'b' : cout<<"1011"; break; case 'c' : cout<<"1100"; break; case 'd' : cout<<"1101"; break; case 'e' : cout<<"1110"; break; case 'f' : cout<<"1111"; break; default : cout<<"\nInvalid hexadecimal digit "<<hexdec[i]; } i++; } getch(); }

38 Hexadecimal to Octal Conversion in C++

To convert hexadecimal number to octal number in C++ programming, you have to ask to the user to enter the hexadecimal number to convert it into octal number to display the equivalent value in octal format as shown here in the following program.

C++ Programming Code to Convert Hexadecimal to Octal

Following C++ program ask to the user to enter any number in Hexadecimal format to convert it into octal, then display the result on the screen:

Here first we will convert the entered hexadecimal number into decimal number then we will convert it into octal number. That is, from hexadecimal to octal.

/* C++ Program - Hexadecimal to Octal Conversion */

#include<iostream.h> #include<conio.h> #include<string.h> #include<math.h> int hex_to_oct(char hex[]); void main() { clrscr(); char hex[20],c; int n; cout<<"Enter Hexadecimal Number : "; cin>>hex; cout<<"Equivalent Octal Value = %d",hex_to_oct(hex); getch(); } int hex_to_oct(char hex[]) { int i,len, dec=0, oct=0; for(len=0; hex[len]!='\0'; len++); for(i=0; hex[i]!='\0'; i++,len--) { if(hex[i]>='0' && hex[i]<='9') { dec= dec + (hex[i]-'0')*pow(16,len-1); } if(hex[i]>='A' && hex[i]<='F') { dec = dec + (hex[i]-55)*pow(16,len-1); } if(hex[i]>='a' && hex[i]<='f') { dec = dec + (hex[i]-87)*pow(16,len-1); } } /* Now dec contains the decimal value of given hexadecimal number. */ i=1; while(dec!=0) { oct = oct + (dec%8)*i; dec = dec/8; i = i*10; } return oct; }

39

C++ Pattern Programs

To print patterns in C++ programming, you have to use two for loops, the outer for loop and the inner for loop. The outer for loop is responsible for rows and the inner for loop is responsible for columns.

Pattern Printing Programs in C++

Following are one by one C++ programs to print different-different patterns using stars(*), numbers, and characters or alphabets:

C++ Pattern Program 1

This C++ program prints the half pyramid using stars (*).

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j; for(i=0; i<5; i++) { for(j=0; j<=i; j++) { cout<<"* "; } cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce this output (half pyramid of stars):

C++ Pattern Program 2

This C++ program prints the pattern of stars (*).

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, k=1; for(i=0; i<5; i++) { for(j=0; j<k; j++) { cout<<"* "; } k=k+2; cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following result:

C++ Pattern Program 3

Following C++ program will print the pattern of stars (*).

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, k=8; for(i=0; i<5; i++) { for(j=0; j<k; j++) { cout<<" "; } k=k-2; for(j=0; j<=i; j++) { cout<<"* "; } cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following result:

C++ Pattern Program 4

Prints the pattern of stars (*).

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, k=16, tim=1; for(i=0; i<5; i++) {

for(j=0; j<k; j++) { cout<<" "; } k=k-4; for(j=0; j<tim; j++) { cout<<"* "; } tim=tim+2; cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following output:

C++ Pattern Program 5

This C++ program will print (half pyramid) pattern of natural numbers.

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, n=1; for(i=0; i<5; i++) { for(j=0; j<=i; j++) { cout<<n<<" "; n++; } cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following result:

C++ Pattern Program 6

This C++ program prints the half pyramid using numbers.

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, num=1; for(i=0; i<5; i++) { num=1; for(j=0; j<=i; j++) { cout<<num<<" "; num++; } cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following output (half pyramid using numbers):

C++ Pattern Program 7

Following C++ program ask to the user to enter the number of rows to print the pyramid of stars (*):

#include <iostream.h> #include<conio.h> void main() { clrscr(); int i, space, rows, k=0; cout<<"Enter the number of rows : "; cin>>rows; for(i=1; i<=rows; i++) { for(space=1; space<=(rows-i); space++) { cout<<" "; } while(k!=(2*i-1)) { cout<<"* "; k++;

} k=0; cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following output (pyramid of stars):

C++ Pattern Program 8

Print half pyramid using continuous characters starting from 'A'.

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j; char ch='A'; for(i=0; i<5; i++) { for(j=0; j<=i; j++) { cout<<ch<<" "; ch++; } cout<<"\n"; } getch(); }

When the above C++ program is compile and run, it will produce the following output:

C++ Pattern Program 9

This C++ program prints the triangle of characters or half pyramid using characters.

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j; char ch='A'; for(i=0; i<5; i++) { for(j=0; j<=i; j++) { cout<<ch<<" "; } cout<<"\n"; ch++; } getch(); }

When the above C++ program is compile and executed, it will produce the following output (half pyramid using characters):

C++ Pattern Program 10

This C++ program prints the inverted half pyramid using stars (*).

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j; for(i=0; i<5; i++) { for(j=5; j>i; j--) { cout<<"* "; } cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following output (inverted half pyramid using stars):

C++ Pattern Program 11

This C++ program prints the inverted half pyramid using numbers.

#include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, num=1; for(i=0; i<5; i++) { for(j=5; j>i; j--) { cout<<num<<" "; num++; } cout<<"\n"; num=1; } getch(); }

When the above C++ program is compile and run, it will produce the following output (inverted half pyramid using numbers):

C++ Pattern Program 12

/* C++ Pattern Program of Numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr();

int i, j, num=1, incr=1; for(i=0; i<5; i++) { for(j=0; j<incr; j++) { cout<<num++<<" "; /* in the above statement * first num printed their * previous value, then * incremented by 1 */ } cout<<"\n"; incr=incr+2; } getch(); }

The sample run of this C++ program is :

C++ Pattern Program No. 13

/* This C++ program prints pattern of numbers */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, k, num=1, decr=8, count=0, temp; for(i=0; i<5; i++) { // this loop is to print spaces for(k=0; k<decr; k++) { cout<<" "; } // this loop is to give the required value to num for(j=0; j<i; j++) { count++; } num = count; temp = num; // this loop is to print the numbers for(j=0; j<i; j++) { cout<<num--<<" "; /* from the above statement,

* num is first printed, then * decremented by 1 */ } cout<<"\n"; num = temp; decr=decr-2; } getch(); }

Here is the sample run of the above C++ program:

C++ Pattern Program No. 14

/* This C++ program prints the alphabet * patterns on the screen */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, incr=1; char ch = 'A'; for(i=0; i<5; i++) { for(j=0; j<incr; j++) { cout<<ch<<" "; ch++; } cout<<"\n"; incr = incr + 2; } getch(); }

Below is the sample run of this C++ program :

C++ Pattern Program No. 15

/* Now this C++ program also prints the * pattern of alphabet but in different * order */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int i, j, k, decr=8, count=64, temp; char ch='A'; for(i=0; i<5; i++) { for(k=0; k<decr; k++) { cout<<" "; } for(j=0; j<i+1; j++) { count++; } ch = count; temp = ch; for(j=0; j<i+1; j++) { cout<<ch--<<" "; } cout<<"\n"; ch = temp; decr=decr-2; } getch(); }

Here sample run given of this C++ program:

40 Print Diamond Pattern in C++

To print diamond pattern of stars in C++ programming, you have to ask from the user to enter the number of rows (upto which he/she want to print the diamond patter) for dimension of diamond. Now to print diamond pattern of stars, use six for loops. The first for loop (outer for loop which contains two for loops. One to print spaces and the second to print stars) is to print pyramid pattern of stars. The second for loop (the second outer for loop which also contains

two for loops. One to print spaces and second to print stars) is used to print reverse pyramid of stars. Which wholly makes a diamond pattern of stars as shown here in the following program.

C++ Programming Code to Print Diamond Pattern

Following C++ program ask to the user to enter number of rows for diamond dimension to print the diamond pattern, then display the result on the screen:

/* C++ Program - Print Diamond Pattern */ #include<iostream.h> #include<conio.h> void main() { clrscr(); int n, c, k, space=1; cout<<"Enter number of rows (for diamond dimension) : "; cin>>n; space=n-1; for (k=1; k<=n; k++) { for(c=1; c<=space; c++) { cout<<" "; } space--; for(c=1; c<=(2*k-1); c++) { cout<<"*"; } cout<<"\n"; } space=1; for(k=1; k<=(n-1); k++) { for(c=1; c<=space; c++) { cout<<" "; } space++; for(c=1 ; c<=(2*(n-k)-1); c++) { cout<<" "; } cout<<"\n"; } getch(); }

When the above C++ program is compile and executed, it will produce the following result:

Winter break english tasks

1)time for groundWork for multi-disciplinary project.

refer net for poems,stories ,articles,quotes,parables

and essays relating to the multi-disciplinary project

project topic.

copy it in the english hoe Work notebook.

2)kV pangode go global With Winter break

Dear Students, becoming globally aware is part of the student enrichment drive.

Spent the next twenty minutes with images of important days of commemoration

and have fun completing the fun work sheets that follow. Copy the completed tasks in your English Home work note book.

Here are a few days of commemoration in the form of posters. Note the day and date .Complete the worksheets given at the end .

16 TH NOVEMBER International Day for Tolerance

17 November (third Thursday in November) World Philosophy Day

International Day of Commemoration and Dignity of the Victims of the Crime of Genocide and of the Prevention of this Crime

18 December

Dear Student, Three levels of worksheets are given below.Depending on your individual capacity you may attempt all the three levels or any one level. ).The questions have been designed by class XI C.

Level 1 15 WORDS ARE HIDDEN DIAGONALLY, HORIZONTALLY, BACKWARD AND VERTICALLY. HAVE FUN FINDING THEM.

R I S H I T A N U T A N U J A D O E X P L O I T A T I O N F I H M M S K A S A N A N I K A S O C I A L A K E S H I V A Y H M A O O H R R I G H T S I V

Q K L Y M I D S W A T H Y V B B A I A S E U M O U N T A I N A R V H I A R N A V K H U S I Z A I H N D H A N U O R A P K V I C T I M S I H S Q T X H I I S H O A A A R D U S S O I L O H A I Z N H A M I L U M L G L W K L H S K A L I Y N O O A E A O E T J A A A Y I A S S N N R R T A T N A R G I M W O G C Y D R N R A S T H A I A P A E A U A U S H L O K N D R H B B S C O R R U P T I O N A Y S A N J A L I S U C H I T H A C

MATCH THE FOLLOWING

1) END IMPUNITY TOWARDS JOURNALISTS 7 DEC

2) DIABETES DAY 10 NOV

3) SOIL DAY 1 DEC

4) AIDS DAY 17 NOV

5) DAY FOR PEACE AND DEVELOPMENT

19 NOV 6) PHILOSOPHY DAY 25 NOV

7) CIVIL AVIATION DAY 2 NOV

8) TELEVISION DAY 14 NOV

9) ELIMINATION OF VIOLENCE AGAINST

WOMEN 5 DEC

10) TOILET DAY 21 NOV FILL THE GAPS WITH HELP OF THE FOLLOWING CLUES 1A 2T 1E N 3T 2S

3 E

CLUES DOWN 1. Second largest and second populous continent 2. A large ocean wave usually caused by an

underwater earth quake or volcanic explosion 3. “Why is there a need to visit the _______ after

every period?”

ACROSS 1. A word which means ‘surroundings’. 2. The study about this is known as ‘PEDOLOGY’. 3. This is known as “THE IDIOT BOX”.

ANSWER KEY

DOWN 1. AFRICA 2. TSUNAMI 3. TOILET

ACROSS 1.ENVIRONMENT 2. SOIL 3. TELEVISION

LEVEL-2

1.THE FOLLOWING WORDS ARE HIDDEN IN THE PUZZLE:

AWARENESS,PALESTINIAN,AVIATION,DIABETES,

VOLUNTEER,VICTIMS,AFRICA,SLAVERY,TELEVISION

A D B O Q B T D D O Q P Y Z A S B M L A A E V O L R E N N W L I D P V O L U N T E E R C A A Z G G H H E F D M T I N G R I W P K V C V D D O S L K V E O Q A J E R I P O S Y Z R S N E Q L V J A S L A V E R Y P E V P E U B F I L Y I U G E O S L I S E K R O M I C E R M J S E N T E U I N M O T S X Z U S Y E I S J C C X N I Q G K W N S M N L O A P X Z M Y S Q L Y O Q I Z N Y Q W M S F H E Q T N Z A P I O N P L N V R R L T X L N M M A V A I T I O N K R

2.REARRANGE THE JUMBLED WORDS.

NLIUSROTJAS 2 DEC

ERNASWSAE 5 NOV

OTNAXLOPEIIT 6 NOV

DPTNEMEELOV 10 NOV

ABSEDTIE 14 NOV

REELTNOAC 16 NOV

YPLOHSIHPO 17 NOV

TLTOEI 19 NOV

RACAIF 20 NOV

LIVREUSNA 20 NOV

SMIICVT 20 NOV

ONIVISEETL 21 NOV

IMATONILEIN 25 NOV

ESPALIANNIT 29 NOV

DWLOR 1 DEC

YVERLAS 2 DEC

DBTIELISISAI 3 DEC

LEETRUOVN 5 DEC

LSIO 5DEC

TIINVAOA 7 DEC

DCEIENGO 9 DEC

TNERANINOITLA 9 DEC

NHAUM 10 DEC

NMNUOAIT 11 DEC

SGRTNAIM 18 DEC

TDYSOLIRAI 20 DEC

3. FIND ME.

a) I am a seven letter word.

My first letter is S.

I am a condition in which people are treated as animals.

Abraham Lincoln and Nelson Mandela fought to eradicate me.

When I existed, people were sold for money.

Who am I?

b) I am a ten letter word.

My first letter word is T.

People like to watch me.

J.L .Baird is my father.

I show movies, news and other entertainment programs.

Who am I?

c) I am a seven letter word.

My first letter is T.

I am a dangerous natural disaster.

I occur in the sea.

I cause serious damage to life and property.

Who am I?

d) I am a four letter word.

My first letter is S.

I sustain life on earth.

I differ from region to region.

I am of different colors.

Who am I?

e) I am a four letter word.

My first letter is A.

I am a dangerous disease.

I am caused by a virus.

December 1 is observed globally to make people aware of me.

Who am I?

4. FIND THE MISSING LETTERS.

J- - R-A-I-T 2 NOV

PH-L- - O-H- 17 NOV

I-D-S- -IL-S-T-O- 20 NOV

-O-ID-R- -Y 29 NOV

S-A- -R- 2 DEC

D-SA-I-I-Y 3 DEC

A-A-T-O- 7 DEC

C-M- -M-RA-I-N 9 DEC

Level 3

15 WORDS ARE HIDDEN DIAGONALLY, HORIZONTALLY, BACKWARD AND VERTICALLY. HAVE FUN FINDING THEM.

P K D F R O M W S H I L P A O K R H A I P E A C E S R K V T C X F I I P G I I V O C E H U G C O M G S L S F H N I R N T A N U J M M H H O O G B D A R A O Q O Y E M I J I S O L A I T U R I W A F C E E K L O M O R A I P B D D G H U M A N W P C Y U O O T M K Z S O I O A I M H Z T S W N I E A B Z R D R N M L Y D I O Z U O M C B C E M A F I E G U R I L F N E T E L I O T V S M D H A L A E K R V I R A T I N H O H I D F K O R L W X D L R O W A V O N I J L L M A S A K Z M N S G A N O L M I N D U N W Y A D O R N V I P O H I S T U V C A B S P Q A W Q R S E T E B A I D E C U A T G X

MATCH THE FOLLOWING

1) REMEMBERANCE 2 NOV 2) AVIATION 9 DEC 3) TELEVISION 20 NOV 4) COMMEMORATION 10 DEC 5) INDUSTRILIZATION 29 DEC 6) SOLIDARITY 21 NOV 7) MOUNTAIN 20 NOV 8) HUMAN RIGHTS 7 DEC 9) ANTI-CORRUPTION 9 DEC 10) JOURNALISTS 20 NOV

JUMBLED WORDS

1) TYIRADILOS 2) TAIONAVI 3) TAINUOMN 4) NSGTIRMA 5) ZATIONAIRTSUDNI 6) VEUNISALR 7) MBMRERCENA 8) LEVITEONIS 9) OPTENLDMEEV

10) SEANRAWES

3) Can you figure out the given words in the square given below.

d a d c g h j k d l s

o

l

i

d

a

r

i

t

y

3) Try using any 10 words from the above list in sentences.

A slightly challenging task for class 10&11

Write 5 sentences on what each one of these observances mean to students.You may make it in the form of colourful mind maps .

CLASS XI PHYSICS (REVISION) MODULE 1

1. PARALLAX METHOD- distance of a planet, size of a planet 2. Molecular size of oleic acid 3. Classification of errors with causes and methods to minimise- systematic, random , least

count errors 4. Error of a SUM/DIFFERENCE, PRODUCT/QUOTIENT, POWER(Xn) 5. RULES FOR FINDING SIGNIFICANT FIGURES 6. Applications of dimensional analysis 7. The KE of rotation depends on angular momentum and moment of inertia Derive the

expression dimensionally 8. If E = ax + bx2 Find the dimension of a X b where the symbols have their usual meaning 9. The period of a pendulum is measured to be 2 seconds. The time for 100 oscillations is

measured using a stop watch of 0.1s The length of the string is about 100cm measured using a metre scale Find the error in determining g

10. Equations of motion by graphical method 11. Shapes of x-t,v-t &a-t graph for uniform motion,uniformly accelerated,non uniform motion 12. Parallelogram law of vectors- to find resultant in magnitude and direction for two vectors A

& B inclined to each other 13. What is resolution, rectangular resolution in two dimensions- applications (any two) with fig 14. Prove that the path of a projectile is parabolic 15. Deduce (i) Maxm height (ii) Time of flight (III) Horizontal range (iv) Maximum range (v)

TE at the maxm height (vi) Same range for two angles of projection 16. Centripetal acceleration – explanation and diagram - derive the expression 17. Derive expression for relative velocity Draw graph fortwo bodies with (i) rel vel=0 (ii)rel

vel>0 Module 2

18. Newton’s laws of motion- Derive F=ma 19. Law of conservation of momentum- proof with example 20. Impuse momentum theorem with pratical applications- Buffers are provided between boggies

/China wares are wrapped in thermocole/Cricketer lowers his hands while catching a ball (give reasons)

21. Acceleration of connected system of masses ( both horizontal and vertical with a string and pulley

22. Motion in a lift (i) uniform motion (ii) freefall (iii) uniform accn up/down 23. State laws of friction/ Body on an inclined plane free body diagram/derive µ= tanθ 24. What is banking/deduce expression for maximum safe velocity on (i) an unbanked road at a

turn (ii) banked road at a turn (iii) A cyclist lean while taking a turn Why? 25. State law of conservation of energy for a freely falling body/ a mass attached to spring and

placed on a smooth horizontal surface 26. Motion in a vertical circle – Velocity at (i) the lowermost point (ii) velocity at the top of the

circle (iii) at a point midway between the two for looping the loop 27. Draw force – displacement graph for a spring loaded with a weight and hence derive PE of

the spring Also derive work energy theorem for a variable force/constant force 28. Distinguish between elastic and inelastic collision Show that two bodies of equal masses

interchange their velocities after elastic collision

29. Explain elastic collisionin two dimension with diagram 30. Prove that KE is lost in a perfectly inelastic collision define coefft of restitution and on the

basis of its value explain different types of collision Module 3

31. Define centre of mass derive the same for a two particle system 32. Find the centre of mass of three masses 100g,200g,300g respectively , located at the three

vertices of an equilateral triangle of side 0.5m 33. Explain the concepts of moment of a force and moment of momentum and deduce a relation

between the two 34. What is moment of a couple- deduce conditions for mechanical equilibrium of a rigid rod of

mass m supported by two knife edges placed at l/4 and 3l/4 from one end. 35. What is the physical significance of moment of inertia On what factors does it depend Derive

a relation for MI 36. State theorems of M.I Give any one practical application of each with fig 37. State law of conservation of angular momentum Using the law obtain geometrical meaning of

angular momentum taking planetary motion as an example 38. Derive equations of rotational motion from first principles 39. Compare linear motion with rotational motion 40. State and explain Kepler’s laws of planetary motion 41. Obtain Kepler’s laws from Universal law of Gravitation and vice versa 42. Define accn due to gravity How does it vary with (i) altitude (ii) depth Represent the

variation graphically 43. Define GPE & G P Deduce the relations At what heigh its value is maxm /minm/ When a

body is raised to a height h above the earth how does GP vary 44. Derive expressions for (i) Orbital velocity (ii) escape velocity (iii) Time period 45. What are the energies possessed by an orbiting satellite Derive its Total energy at any height

h 46. Polar & Geostationary satellite and applications 47. Prove that energy is required to transfer a satellite from a lower orbit to a higher orbit 48. A body weighs 63N on the surface Find its weight at (i) height= ¾ Re (ii) depth =Re/2 49. What are the factors on which (i) g depends Escape speed depend (iii) Prove that ve= √2 vo 50. State Shell theorem What is its significance

CLASS XI HOLIDAY HOMEWORK DECEMBER 2016

1. Explain why? a) water flows faster than honey

b)Rain water falling under gravity do not acqiure very high velocity.

c) Machine parts are jammed in winter.

d) Two row boats moving parallel to each other are pulled towards each other.

e) The coolant in a nuclear plant should have high specific heat.

f) Steam produces more severe burn than boiling water.

2. Calculate the energy evolved when 8 droplets of water of radius 0.5mm each combine into one.

3.How does angle of contact change with increase in temperature?

4. Two wires of same length and material but of different radii are suspended from a rigid support. Both carry the same load. Will the stress, strain and extension in them be the same or diffferent?

5. Define triple point of a substance.

6. Define coefficient of cubical expansion. How is it related to the coefficient of linear expansion.

7. Plot the variation of coefficient of cubical expansion of copper with temperature.

8. Explain anomalous expansion of water.

9.Define specific heat capacity of a substance. Give its SI unit.

10. What is regelation? Give 2 examples

11. Define thermal conductivity of a substance. Give its SI unit.