Think Dream Create Inovate

Monday, September 12, 2011

Apple iCup

iCup is an innovative concept specially designed for Apple. It’s key point that you can heat up any drink inside the cup by connecting it with the user’s notebook, as well as any device that supports USB connection, via a USB cable(in Park,at office,at library etc.) The key goal of the project is to ease life with more manageable features that ensure uninterrupted working opportunity, doesn’t matter the user goes to the park, library or working in the office. The featured Apple logo of the cup is actually a heat indicator that shows the temperature of the inside content, blue for cool, orange for warm and pink for hot, while enhancing the aesthetics. Moreover, it incorporates a displaceable handle that offers convenient fit into any small area and the changeable upper portion allows easy washing.



 Every part of the iCup from Onur Karaalioglu is enhanced with advanced technologies and innovative ideas. The Apple cup has got everything like a heatproof body which anyone can touch and hold while being connected to the netbook, a heat filter, allochrous logo for easy handling, a heat coil and a durable base. 






 A person, sitting in a library, in their office, in a park or while working at home on their netbook will not have to long for a hot cup of tea or coffee or will no longer have to keep ordering for a fresh cup every time when finding it getting cold. For heating up your drink this special cup named as the iCup would hopefully not just be a concept and will soon be available at the Apple store. The specialty of this cup is that it is easy to use, easy to connect and most importantly, easy to wash. For washing the iCup, one will just have to bring out the inner part of the cup as it is of removable kind. So, once the washing process is done and it gets dry, you can easily place it again in the heatproof body. For further ease of use, this Apple iCup has been designed with a removable handle too.  

Sunday, September 11, 2011

C++


1)The meaning of conversion character for data input is
(A)  Data item is a long integer
(B) Data item is an unsigned decimal integer
(C) Data item is a short integer
(D) None of the above

Ans : C

2) The conversion characters for data input means that the data item is
(A) An unsigned decimal integer
(B) A short integer
(C) A hexadecimal integer
(D) A string followed by white space

Ans : D

3) An expression contains relational, assignment and arithmetic operators. If Parenthesis are not present, the order will be
(A) Assignment, arithmetic, relational
(B) Relational, arithmetic, assignment
C) Assignment, relational, arithmetic
(D) Arithmetic, relational, assignment

Ans : D

4) Which of the following is a key word is used for a storage class
(A) Printf
(B) External
(C) Auto
(D) Scanf

Ans : C

5) In the C language 'a’ represents
(A) A digit
(B) An integer
(C) A character
(D) A word

Ans : C

Saturday, August 27, 2011

SYNONYMS

1.Moribund – declining, dilapidated, waning
2.Repudiate – reject, disclaim, renounce, deny
3.Translucent – transparent, semi- transparent, lucid, lucent, clear, see through
4. Mitigate- alleviates, lessen, ease, alley, tune down, dull, Assuage
5. Inundate – flood, overwhelm, swamp, submerge
6. Bilk – deceive, trick, swindle, con
7.Nettle – annoy, irritate, vex
8.Impugn – hold responsible, charge, censure, accuse
9. Mulch
10.Tenacity – stubbornness, resolve, firmness, persistence, insistence, determination

SYNONYMS

Admonish = usurp (reprove)                           merry = gay
Alienate = estrange (isolate)                           instigate = incite
Dispel = dissipate (dismiss)                            belief = conviction     
Covet= crave (desire)                                      belated = too late       
Solicit = beseech (seek)                                   brim = border
Subside = wane (drop)                                    renounce= reject
Hover = linger (stay close)                              divulge = reveal
Heap = to pile (collect)                                   adhesive = bonding agent
Veer = diverge (turn)                                      hamper = obstruct
Caprice = whim (impulse)                               to merit= to deserve
Stifle = suffocate (smother)                            inert = passive        
Latent = potential (inactive)                           latitude = scope
Concur = acquiesce (accept)                           momentary = transient
Tranquil = serene (calm)                                  overt = obvious
Lethargy = stupor (lazy)                                 volume = quantity      
Furtive= stealthy (secret)                                meager = scanty
Cargo = freight (load)                                     baffle = frustrate
Efface = obliterate (wipe out)                         misery = distress        
Pretentious = ostentatious (affected)              discretion = prudence                        
Compunction = remorse (regret)                     amiable = friendly
Cajole = coax (wheedle – sweet talk)             incentive = provocation

Friday, August 26, 2011

C++ Questions

1.class base
        {
        public:
        int bval;
        base(){ bval=0;}
        };

class deri:public base
        {
        public:
        int dval;
        deri(){ dval=1;}
        };
void SomeFunc(base *arr,int size)
{
for(int i=0; i
        cout<bval;
cout<
}

int main()
{
base BaseArr[5];
SomeFunc(BaseArr,5);
deri DeriArr[5];
SomeFunc(DeriArr,5);
}

Answer:
 00000
 01010
Explanation:  
The function SomeFunc expects two arguments.The first one is a pointer to an array of base class objects and the second one is the sizeof the array.The first call of someFunc calls it with an array of bae objects, so it works correctly and prints the bval of all the objects. When Somefunc is called the second time the argument passed is the pointeer to an array of derived class objects and not the array of base class objects. But that is what the function expects to be sent. So the derived class pointer is promoted to base class pointer and the address is sent to the function. SomeFunc() knows nothing about this and just treats the pointer as an array of base class objects. So when arr++ is met, the size of base class object is taken into consideration and is incremented by sizeof(int) bytes for bval (the deri class objects have bval and dval as members and so is of size >= sizeof(int)+sizeof(int) ).

Sunday, July 3, 2011

C++


1) class base
        {
        public:
            void baseFun(){ cout<<"from base"<
        };
 class deri:public base
        {
        public:
            void baseFun(){ cout<< "from derived"<
        };
void SomeFunc(base *baseObj)
{
        baseObj->baseFun();
}
int main()
{
base baseObject;
SomeFunc(&baseObject);
deri deriObject;
SomeFunc(&deriObject);
}
Answer:
            from base
            from base
Explanation:
            As we have seen in the previous case, SomeFunc expects a pointer to a base class. Since a pointer to a derived class object is passed, it treats the argument only as a base class pointer and the corresponding base function is called.

2) class base
        {
        public:
            virtual void baseFun(){ cout<<"from base"<
        };
 class deri:public base
        {
        public:
            void baseFun(){ cout<< "from derived"<
        };
void SomeFunc(base *baseObj)
{
        baseObj->baseFun();
}
int main()
{
base baseObject;
SomeFunc(&baseObject);
deri deriObject;
SomeFunc(&deriObject);
}
Answer:
            from base
            from derived
Explanation:
            Remember that baseFunc is a virtual function. That means that it supports run-time polymorphism. So the function corresponding to the derived class object is called.