Trending ▼   ResFinder  

ICSE − Q & A

ICSE
Indian Certificate of Secondary Education (ICSE), New Delhi
+Fave Message

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

Please solve this program
Class MyArray contains any array of n integer (n <= 100) that are already arranged in ascending order. The subscripts of the array elements vary from 0 to n-1. Some of the member functions of MyArray are given below:

Class name	MyArray
arr
n

 - an array of a integers.
 - size of the array.
Members functions/methods:
MyArray()	constructor to initialize n = nm and the
void readArray()	array arr reads n integers that are arranged
in ascending order.
void displayArray()	displays n number of integers from array arr.
int binarySearch(int value)	searches for the value in the array using the binary search technique. It returns the subscript of the array element if the value is found, otherwise it returns -999.

(a) Specify the class MyArray giving the details of the void displayArray() and int binarySearch(int value) only. You may assume that the other functions/methods are written for you. You do need to write the main function.
asked by Anugrahkapoor24 (anugrahkapoor24) 6 years ago
1
Hello, guys!! I thought of posting something here.How are you all doing?? I know that for many of you guys the post board enjoyment as intended, couldn't get executed,right?? At one point in the holidays, I was so much bored that I was thinking that school's better than this. duhh... So, finally the day is gonna come when we'll be able to have a look at the outcome of our hardwork. I know you all will kill it!! If anyone of you guys is too anxious about the results,you don't need to be anymore!! You know why?? This was just a lil' freakin' battle of your life, winning or losing which won't make you king/queen of the whole empire. 10th mark sheets are mainly used for just verifying the individual's date of birth, marks don't matter that much. But if you've won this battle, don't get overconfident, the bigger battle's awaiting(12th and life ahead). Even if you've lost it, remember the bigger battle's awaiting(12th and life ahead). But don't let go of this opportunity of class 12th, it matters much more than class 10th marks. Start toiling from today, prepare for the battle, practice sword-fighting, defending yourself(from silly mistakes), assemble an army of skilled soldiers(army of good words for good score in English),make provisions for water and food before the actual battle starts(assemble 
pens,pencil,eraser,etc in your pencil box for the exams but not right now!!) So guys, this huge spherical ball where you reside, is filled with kingdoms to be conquered, just your performance at the battlefield will matter. If you start early, you will master the art of battling and you'll be standing tall one day, as the king/queen of a huge empire. Decide which kingdom you're most familiar with, which you can easily enter into and conquer(which career option is your stronghold, which you can opt and make a good career in). If you won't prepare for any battle, your ancestors'(or parents) wealth will gradually get exhausted and you'll be left with nothing and by that time, you'll get too old for winning any battle easily and you'll cry over split milk. This is the age of struggle, which when wasted, is gone forever. You all are young warriors, in the best form and shape for fighting even the toughest battle!! So, my motive behind this post was to encourage tensed people here and to make all my resmates realize the importance of this (1/frequency,its easy), life will lay several opportunities in front of you but remember, whatever happens, happens for good, even if you fail, there are tonnes of kingdoms(may be bigger and better) in front of you, waiting to be conquered by someone like you(YES, you,the one reading this!!)Failure is not the opposite of but a part of success.So, I'll stop this philosophical drama, now, I'm sure you guys will rock!!That's all. I won't write ATB(except here), coz what has happened is history now and I've seen too many ATB's(sorry, one more time) here already. Ba-bye!!
asked by Aayush Joshi (aayushjoshi) 6 years ago
6
How much percentage is required in ICSE to get science stream in CBSE?Please answer...I am in tension
asked by Papunkumar (papunkumar) 6 years ago
2
Hi guys! I know you won't recognise me,I was here during our board exams,going through your answers & clearing all my doubts.You guys really helped me a lot by clearing all my doubts without showing any ego of yourself.All of you guys are really invaluable gems whose price cannot be estimated with any instrument.I thought to wish all you guys 'ALL THE BEST' for your results.Special thanks to 'Saksham' bhaiya for his motivational speeches,they really worked as a stress buster for me.May We all come out with flying colours on 14th May.So,once again 'ALL THE BEST' from your not so worthy friend 'monstercat'.
asked by Abhinav Sharma (monstercat) 6 years ago
5
Guys I'm like really so scared..... I don't know what's gonna happen.....but let's hope for the best.
asked by Neha Nagda (neha5234) 6 years ago
3
Hey Guys!
It's been a long time.
The results are out on 14th May at 3:00 p.m. so All The Best to everyone from my side!!
-Aameya Kulkarni
asked by Aameya Kulkarni (aameyak) 6 years ago
3
It's official guys, results to be out on 14th may on 3:00 pm on www.cisce.org 

All the best guys, best wishes from my side!

Hope to see all my ResMates back.

Tumhara ResMitr,
Rahul Bhardwaj :))
asked by RaBh (rahulbhardwaj2002) 6 years ago
5
10 ml of sulphuric acid solution contains 98% by weight of pure acid. Calculate the volume of 2.5 M NaOH solution required to just neutralize the acid.

Help pls.
asked by Shreya Bhagat (hermione02) 6 years ago
2

+ 1 more questions by hermione02  

How to upload a paper in respaper
asked by Seema Maheshwari (keshav3) 6 years ago
1
Does res have class 11, ISC papers?
asked by Aditi Prasad (pp201540) 6 years ago
1

<< Prev

    Page 445    

Next Page >>

ICSE chat

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us