Posts

SYNTHESIS OF SENTENCES Exercise- 2

Image
Join the following sentences without using 'and', 'but', 'so' or 'because': 1- I believe the dealer to be honest. I bought a TV from him. 2- I have engaged a private tutor. He will coach my daughter in Mathematics. 3- Aurangzeb got his brothers killed. Hewas the son of Shahjahan. 4- The sun set. We stopped for the night. 5- The train is very late. This is unusual. 6- My uncle was elected president. There was very strong opposition to him. 7- The day became hot. I went home soon. 8- The king gained a victory. The king ruled over Mewar. 9- Come in the garden. Pick some flowers. 10- He inherited a large property. He never enjoyed peace of mind. 11- Pollution levels are increasing. Many children are getting sick. 12- Dick met me. I gave him the document. 13- The injury was not serious. She went on leave for a week. 14- She slipped out of class. The professor was delivering a lecture. 15- Professor noticed that Beenu was confu...

SYNTHESIS OF SENTENCES Exercise- 1

Image
Join the following sentences without using 'and', 'but', 'so' or 'because': 1- My mother was very much delighted. She had heard of my father's safe arrival. 2- It was a very busy day. I could not find time to have a talk with my friend. 3- I gave him a rupee. He blessed me.  4- He refused to listen to their proposals. His refusal was firm. 5- The Sikh power fell to pieces. Ranjit Singh's reign was over. 6- Many are interviewed. Few are chosen. 7- We heard that the enemy was approaching. This news alarmed us. 8- The nation cannot be poor. Truth is valued there above everything else. 9- The wolf fell. He died there at once. 10- John is a clever child. The other children are not so clever. 11- Humayun was defeated. He fled from the battle on his horse. 12- Julius Caesar was murdered. He was a great Roman general statesman. 13- Swati received my note. She sent her reply within a week. 14- Ronit is intelligent. His frie...

SWITCH CASE Program- 1

Image
Write a menu driven program in JAVA to perform the following operations 1-Palindrome number  A palindrome number is a number that reads the same backwards as forwads For example: Forwards -5556555 Backwards- 5556555 2-Perfect number A perfect number is a number that is equal to the sum of its proper divisors. For example: 28 Sum of proper divisors : 1+2+4+7+14 = 28

PATTERN Program- 4

Image
Write a program in JAVA to print the following pattern 12345 12341 12312 12123 11234

PATTERN Program- 3

Image
Write a program in JAVA to print the following pattern 54321 5432 543 54 5

PATTERN Program- 2

Image
Write a program in JAVA to print the following pattern 1 12 123 1234 12345

PATTERN Program- 1

Image
Write a program in JAVA to print the Floyd's Triangle. 1  2 3  4 5 6  7 8 9 10  11 12 13 14 15  16 17 18 19 20 21  22 23 24 25 26 27 28