Saturday 5 October 2013

Most creative LOGOs u can come across.....


VAIO

The VAIO logo also represents the integration of analog and digital technology with the 'VA' representing an analog wave and the 'IO' representing a digital binary code.  

Amazon

The A-Z message, the smile, the bent Z.  Brilliant logo.  It took a while to get to it, but it's great.


Spartan Golf Club
Having both spartan face and the taste of Golf

 




Sun Microsystems

Made of only the letter 'U'

 


BMW

“There are two traditions concerning the significance of the BMW logo and trademark, offering two different interpretations of its sky blue and white fields. One interpretation points to a rotating propeller. The other relates the BMW logo to Bavaria as the place where the products are manufactured.

                    



FedEx

The Fed Ex arrow existing in the "Ex" that stands for "Express"

 



BaskinRobbins

Initially they used 31 separately but now they have incorporated 31 into the logo. Which symbolizes there 31 flavors.




Formula 1

A ubiquitous logo, beautiful use of the negative space for showing '1'. Also the fade effect is synonymous to speed.



The Renault logo

If you see the logo carefully, you'll realize that the square within the logo is impossible in 3D

 

Wikipedia

It depicts the intended message of sharing knowledge and information without the communication barrier.

Soundcloud

It lets you store audio in the cloud



Apple featuring Steve Jobs


Carrefour

Most of people don't see there's a letter "C" in the logo...

Tuesday 10 September 2013

Need of Microsoft Visual C++ programs that get installed automatically...

Never thought what the hell are these Visual C++ programs that come into your installed programs list when other applications are installed....??Whatever may be your answer,here is why they are being installed...I know the answer is pretty simple and even if you don't know also, you can just guess the reason. Anyways...here is why they are installed......

    Those are basically installers for libraries that other apps need and were installed because some of the apps you have were built with Visual C++.If you remove them, some of your apps may stop working and will need to be reinstalled or repaired. I wouldn't advise removing them, unless you are willing to go through the reinstall / repair route. Windows 7 will only install updates to the original packages, not the packages themselves.

Sunday 8 September 2013

Exchange files between PC and Bluestacks....

As you know,Bluestacks lets you run Android apps in your PCs........................

Sending files through Bluestacks....

What you need to do is just drag the files that you wanted to send into Bluestacks....
Dats it....:)


Exchange files between PC and Bluestacks....


I guess this is the most common problem any user that uses Bluestacks in your PC/Laptop will be facing with..............

Actually, I have been searching for a solution to this problem as to save some files that have been sent through Whatsapp or some App like it....where I got a solution and now I am sharing you with.....

Firstly,Bluestacks creates a virtual SD Card in your PC during its installation and uses it for memory requirements...
You can share files in your PC from Bluestacks by dropping your files into a folder....

C:\ProgramData\BlueStacks\UserData\SharedFolder
                                         (in case,if you installed Bluestacks in your C:/ drive)

For Windows 7 Users:
If you don't find the folder "ProgramData"...
Go to Organize on the top left corner of your Explorer window

Click on "Folder and Search Options"
Go to VIEW tab
Search for "Show hidden files,folders and drives" option and select it
Dats it...Now,u'll b able to find the folder "ProgramData"

For Windows 8 Users:
Go to VIEW option on the top 
Then mark/select the option "Show Hidden Files"...
Dats it....Now,u'll b able to find the folder "ProgramData"

If you want to access the files in Bluestacks, install a FileManager App like Astro File Manager in your Bluestacks and then in that,you can find various files that are present in your virtual SD Card of Bluestacks.....

Now,in order to get access of those files that are being received/sent from various Apps,you need to copy the files in that specific folder(accesed through file manager app) and paste them in the folder:

/mnt/sdcard/bstfolder/BstSharedFolder/      (in Bluestacks)

This is the same folder that was specified before....(in PC)
C:\ProgramData\BlueStacks\UserData\SharedFolder

Hope this helps you alot....:)

Dats it for now....bbye :) :)

Wednesday 4 September 2013

C program without main function...

Code:
#include<stdio.h>
#define decode(s,t,u,m,p,e,d)m##s##u##t
#define mepco decode(a,n,i,m,a,t,e)
int mepco()
{
    printf("hello");
}


Surprisingly,this code works succesfully....:D

Letz see how the hell does this code work....:)

Firstly,## is known as token merging operator.
and #define is a macro which replaces a word with another word that is specified....

So,in our code....
decode (s,t,u,m,p,e,d)m##s##u##t..........4,1,3,2 characters of the given string
similarly mepco decode (a,n,i,m,a,t,e) => m,a,i,n

Thus, int mepco() finally becomes int main() during the pre-processing stage itself and hence the code works....:) 

LOL!!

Sunday 1 September 2013

3 Ants on a triangle moving towards each other


There are three ants on a triangle, one at each corner. at a given moment in time, they all set off for a different corner at random. what is the probability that they don’t collide?

Solution

Consider the triangle ABC. We assume that the ants move towards different corners along the edges of the triangle.
Total no. of movements: 8 
A->B, B->C, C->A 
A->B, B->A, C->A
A->B, B->A, C->B 
A->B, B->C, C->B 
A->C, B->C, C->A 
A->C, B->A, C->A 
A->C, B->A, C->B 
A->C, B->C, C->B

Non-colliding movements: 2 
A->B, B->C, C->A 
A->C, B->A, C->B
(i.e. the all ants move either in the clockwise or anti-clockwise direction at the same time)
P(not colliding) = 2/8 = 1/4 = 0.25

Saturday 31 August 2013

How to get GRAPH search or switch back to old view....

Guys....
people who r bored of using Graph search or
those who still didn't get the GRAPH search....
here is d way to overcome it......

Go to Account Settings->change ur language frm english(US) to english(UK) r vice versa.....

tadaaaaa.........see d change that u r luking for.....  :)

Monday 26 August 2013

Differences between arrays and linked lists


1) Major difference lies in the Memory Structure:
Arrays-contiguous memory allocation and if contiguous memory available is less than the total array requirement, then the array cant be allotted the memory.

But It is not necessary in the case of linked list to store next element at the Consecutive memory Location .
Element is stored at any available Location , but the Pointer to that memory location is stored in Previous Node.

2) Accessing the elements:
Array elements can be randomly Accessed using Subscript Variable
e.g a[0],a[1],a[3] can be randomly accessed
While in Linked List We have to traverse through the Linked List for Accessing Element. So O(n) Time required for Accessing Element .
Generally in linked List, elements are accessed Sequentially.

3) Insertion and Deletion
As the Array elements are stored in Consecutive memory Locations, so While Inserting elements ,we have to create space for Insertion. So, more time required for Creating space and Inserting Element. Similarly, we have to Delete the Element from given Location and then Shift All successive elements up by 1 position.

In Linked Lists, we have to Just Change the Pointer address field (Pointer),So Insertion and Deletion Operations are quite easy to implement.

4) Memory Allocation :
Memory Should be allocated at Compile-Time in array. i.e at the time when Programmer is Writing Program. => fixed size
In Linked list, memory can be allocated at Run-Time , i.e after executing Program.

-> Arrays uses Static Memory Allocation and Linked List Uses Dynamic Memory Allocation.


PORT NUMBERS...

PORT Numbers:

Port: 
port is an application-specific or process-specific software construct serving as a communications endpoint in a computer's host operating system.


HTTP - 80 (Hyper Text Transfer Protocol)
HTTPS - 443 ( HTTP with SSL/TLS)
FTP - 21 ( File Transfer Protocol )
TELNET - 23
SMTP - 25 ( Simple Mail Transfer Protocol )
IMAP - 143 ( Internet Mail Access Protocol )
POP3 - 110 Post Office Protocol )


Transport Layer Security (TLS
Secure Sockets Layer (SSL)

1G,2G,3G,4G...

Before we start'G' for 'Generation'.....
               Each Generation is defined as a set of telephone network standards, which detail the technological implementation of a particular mobile phone system.

1G - Analog


Introduced in 1987 by Telecom (known today as Telstra).
The technology behind 1G was the AMPS (Advanced Mobile Phone System) network. AMPS was a voice-only network operating on the 800MHz band.
It did have one advantage over later 2G networks - coverage. An AMPS user could connect to a cell tower as far as the signal could be transmitted (often >40km depending on terrain).

1G was the first generation of mobile networks. Here basically, radio signals were transmitted in ‘Analogue’ form and expectedly, one was not able to do much other than sending text messaging and making calls. But the biggest disadvantage, however came in the form of limited network availability, as in the network was available only within the country.

2G - Digital


Fast forward to 1993 Telecom, now known as Telstra, introduces the digital network.
Text messaging, multimedia messaging, internet access, etc, and also introduced us to the SIM card.

GSM - Global System for Mobile Communication
CDMA Code Division Multiple Access. 

2G networks on the other hand, were based on narrow band digital networks. Signals were transmitted in the digital format and this dramatically improved the quality of calls and also reduced the complexity of data transmission. The other advantage of the 2G network came in the form of Semi Global Roaming System, which enabled the connectivity all over the world.

EDGE - Enhanced Data Rates for GSM Evolution.

Between 2G and 3G there was a short phase in between where mobile phones became sleeker and more ‘pocketable’ if we can call it that.  This is popularly referred to as 2.5G where the quantity of radio waves to be transmitted was much lower. This in turn had an effect on the shape and structure of mobile phones. But most of all, 2.5G helped in the ushering of GPRS (General Pocket Radio Service).

3G - The Mobile Broadband Revolution


The 3rd generation of mobile networks has become popular largely thanks to the ability of users to access the Internet over devices like mobiles and tablets. The speed of data transmission oG network ranges between 384KBPS to 2MBPS. This means a 3G network actually allows for mn a 3ore data transmission and therefore the network enables voice and video calling, file transmission, internet surfing, online TV, view high definition videos, play games and much more.  3G is the best option for users who need to always stay connected to Internet.

The new network also employs a much more secure encryption algorithm when transmitting over the air. 3G uses a 128-bit A5/3 stream cipher which, unlike A5/1 used in GSM (which can be cracked in near real-time using a ciphertext-only attack), has no known practical weaknesses.

4G - LTE-Advanced


4th Generation mobile networks are believed to provide many value added features. In addition to all the 3G facilities, data transmission is believed to go through the roof with speeds ranging between 100MBPs to 1GBPS.

Wednesday 3 July 2013

2

#include<stdio.h>
#define prod(a,b) a*b
int main () {
int x=3,y=4,z;
z=prod(3+2,y-1);
printf(":%d",z);
}
 
 
 
 
 
 
Solution: 10...but not 15,bcoz compiler'll take it as 3+2*4-1 = 10 but not same as (3+2)*(4-1)
 

1

int main()
{
int j=0;
j=j+printf("");
printf("%d",j);5
j=j+printf("hello");
printf("%d",j);
return 0;
}
 Find the output....



 
Solution:  0hello5- coz j 'll return the number of characters in dat word.....
 

Wednesday 19 June 2013

Extracting tar files to a specific folder(path).....



tar -xvzf <tar filename> -C <path to where we need to extract>

remove non-empty directories

rm -rf <dir name>

Installing IRAF in Fedora 18...

Installing IRAF 2.16 (working absolutely fine)

The newest version of IRAF is much easier to install than older versions. The following steps have been tested on Fedora 18 64-bit, but should work for older Fedora/RHEL (+ clones) installations.
First, we need to install some required packages. Switch to the root user for all steps below. As root:

yum install tcsh ncurses ds9 xpa
 
We'll be using IRAF with xgterm, so we need to install a required library: libXmu.so.6. For Fedora 18, this is provided in the libXmu-1.1.1-2.fc18.i686 package. Use yum whatprovides libXmu.so.6 to get the correct package for your system. Go ahead and install that with yum:
 
yum install libXmu-1.1.1-2.fc18.i686

Now, we can go ahead and install IRAF. Then, make the required directories for IRAF:
 
mkdir -p /home/iraf/iraf/local

Link the directories to the /iraf directory.
 
ln -s /home/iraf /iraf

Add the IRAF user (not sure if this step is even required any more, but just in case):
 
useradd -c "IRAF login" -d /iraf/iraf/local -m -s /bin/csh -u 1001 iraf

Change the ownership on the /iraf directory so IRAF can use it:
 
chown -R iraf:iraf /iraf

Download the IRAF 2.16 tarball and extract it in the /iraf/iraf directory:
 
wget ftp://iraf.noao.edu/iraf/v216/PCIX/iraf.lnux.x86_64.tar.gz
tar xvfz iraf.lnux.x86_64.tar.gz -C /iraf/iraf

Set the required environmental variable, and run the IRAF install script (most of the questions should be straightforward; say no to IRAF networking and tape driver, since no one uses that stuff any more):
 
export iraf='/iraf/iraf/'
iraf/unix/hlib/install

In the /iraf/iraf/ directory, make a directory for x11iraf, then download the x11iraf tarball there:
 
mkdir /iraf/iraf/x11iraf
cd /iraf/iraf/x11iraf
wget http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-bin.redhat.tar.gz
tar xvfz x11iraf-v2.0BETA-bin.redhat.tar.gz

Make the required app-defaults directory for x11iraf:
 
mkdir /usr/lib64/X11/app-defaults

Now run the x11iraf installation script:
 
./install

Finally, we're going to use the new package repositories feature of IRAF 2.16 to install some useful external IRAF packages, such as rvsao, guiapps, and stsdas. To do this:
 
cd /iraf/iraf/extern 
 
./config (and then wait a bit while it gets the repo info)
 
ls (to list available packages when the config script is done)
 
make rvsao stsdas guiapps

And now, we can test out our new IRAF installation. Switch back to a normal user and then:
 
mkiraf (in your home directory -> creates a login.cl file) 
 
--> choose xgterm as the terminal type
 
ds9 &  --> starts DS9 and sets up the XPA connection that IRAF will use
 
xgterm & --> starts up xgterm which enables IRAF to show its graphics output
 
in xgterm: cl --> starts up IRAF
 
 
 

NOTE:

If you find any error while executing the command xgterm &

try dis....

yum install ncurses-libs.i686 libstdc++.i686 libgcc.i686

Your problem will be solved :)

 

Sunday 16 June 2013

Cannot install adobe flash player in fedora 18.. (Solved)

try dis out....


rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux && yum groupinstall "Sound and Video" -y && yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl -y

Thursday 28 February 2013

Make your WINDOWS genuine

Open command prompt as ADMINISTRATOR.
Type the command

SLMGR -REARM

and then Restart the system after getting a popup message.\

Dats it...Your windows is now genuine....:)

Saturday 9 February 2013

mobile secret codes 2013

These mobile secret codes are helpful in protecting your mobile from an unauthorized use.  All mobile secret codes are updates (2013). To operate your mobile set or to place any call these codes should be enter but only emergency call or specially-programmed numbers may be placed without these codes.
Basically these default codes are last digits of your phone number or the last four digits of your social security phone number “1234″or”0000″.

There are basically three types of lock code.
• Carrier lock
• Keypad lock
• Security lock

Carrier lock is also called Sim lock or subsidy lock. This code is applied by the carriers on the request of the customer. Some third-party companies also sell these codes.
To unlock such code special numeric passwords are to be entered.

Keypad lock code prevents the unintentional or accidental presses of your mobile keys or button when placed in your pocket or purse.
These codes are very simple to open just by pressing or holding down only one or two specified keys.

Security code prevents other then owner to operate mobile phone. In the case if activated accidentally then user manual or carrier customer service will inform owner about the default code.
There are also some secret codes. With these codes you can check software version of your mobile phone or IMEI, reset to default language and deactivate the sim lock codes.

Some of these secret codes for specific mobile are mention below:

NOKIA
IMEI number: * # 06 #
Software version: * # 0000 # lub * # 9999 #
Sim lock info: * # 92702689 #
Enhanced full rate: * 3370 # [# 3370 # off]
Half rate: * 4720 #
Provider lock status: # p w + 1234567890 + 1
Network lock status: # p w + 1234567890 + 2
Provider lock status: # p w + 1234567890 + 3
Sim card lock status: # p w + 1234567890 +4
1234567890-master code which is generated from IMEI.

SONY
IMEI number: * # 06 #
Software version: * # 8377466 #
Show the list of product creator name: you have to save this number in your phonebook with “own phone number” record:
+ 12022243121

MOTOROLA
IMEI number: * # 06 #
Net monitor ON: * * * 113 * 1 * [OK]
Net monitor OFF: * * * 113 * 1 * [OK]
* Press this until box shown up.

SAMSUNG
IMEI number: * # 06 #
Software version: * # 9999 # albo * # 0837 #
Net monitor: * # 0324 #
Changing LCD contrast: * # 0523 #
Memory info: * # 0377 # albo * # 0246 #
Reset memory (sim lock removing): * 2767 * 3855 #
Reset CUSTOM memory: * 2767 *2878 * #
Battery state: * # 9998 * 228 #
Alarm beeper: * # 9998 * 289 #
Vibra test: * # 9998 * 842 #

ERICSON
IMEI number: * # 06 #
Default language: enter to phone menu without sim card after wrong pin press: * * 04 * 0000 * 0000 * 0000 #
PHILIPS
IMEI number: * # 06 #
Simlock info: * # 8377 #
Security code: * # 1234 # (Fizz) or * # 7489 #

SIEMENS
IMEI number: * # 06 #
Software version: put off sim card and enter * # 06 # and press long key
Bonus screen in phonebook: + 12022243121

SAGEM
IMEI number: * # 06 #
Service menu access: MENU 511 #

ALCATEL
IMEI number: * # 06 #
Software version: * # 06 #
Net monitor: 000000*
Each mobile phone manufacturer company has made secret codes for their mobiles. In case of emergency like you have forgotten your code or to check some specifications like International Mobile Equipment Identity, software version, sim lock code and much more you can take the help of these special codes. Below are details of some mobile code tricks

SONY ERICSON
To check IMEI number press *# 06 #
To reset language back to English press * # 0000 #
To check the software version of your mobile press > *<<*<* service menu
To check sim lock press <**<

SAMSUNG
To check IMEI code * # 06 #
For help menu press * # 998 *4357 #
For java menu press * 39998*5282 #
For monitor mode press * #9999 # 0 #
To check software version press * # 9999 #
To check hardware version press * # 8888 #
For sim information’s press * # 9998 *746 #
For display contrast press * # 9998 *523 #
For vibration ON press * # 9998 *842 #
For buzzer ON press * # 9998 *289 #
For battery clock press *#9998*782#
To show network information press *#9998*638#
To change operator logo at startup press *#9998*5646#
For production number press*#9998*76#
To view melody for alarm press *#9998 and field information’s press * # 9998 *288 #
For error log press *#9998*377#
For sim service table press *#9998*778*
To show date and alarm *968#
For non-volatile memory press * # 9998*585#

NOKIA
To check IMEI number press * # 06 #
To check software version press * # 0000 #
Bluetooth device addresses indicate:* # 2820 #
Directory quick access: xx #
If press 0 for a long time then homepage of the standard WAP connection is called
To re-establishes the phone press * # 7780 #
Provider lock status: # pw + 1234567890+ 1 #
Network lock status: # pw + 1234567890+ 2 #
Country lock status: # pw + 1234567890+ 3 #
Sim card lock status: # pw+ 1234567890+ 4 #
To check whether your sim card supports clock stopping type
* # 746025625

MOTOROLA
IMEI code: * # 06 #
Unlock code for phone and sim card lock 19980722 OK
To change the phone’s PIN number: [] [] [] 004 [] 1 []
Access the manufacturing information: * # 403 # OK
Change default language to English: * # 303 # OK->
Adding message to main menu: [] [] [] 107 [] 1 []
Unlocking sim after pressing wrong PIN three times: [] [] [] 005 [] 1 []
Copy your phonebook menu: [] [] [] 108 [] 1 []
Restore set phone to default language: * # 0000 # OK – >
List the software and hardware version: * # 300 # OK- >
Set ON engineering mode: # 304 * 19980772 # – >
And to make it go away: * 304 # OK – >
Turning the net monitor ON: * * * 113 * 1 * [OK]
Turning the net monitor off: same as for ON
Keypads functionality test: * # 301 # OK – >
In order to lock keys: * 7 (press at the same time)
To hear self indulgent, experimental music: # 9
Net monitor ON: * * * 113 * 1 * [OK]
Net monitor OFF: * * * 113 * 1 *[OK]
*- press this until box shown up.

LG
LG all model test type: 2945 # * # on the main screen
Secret menu for LG: 2945 * # 01 * #
IMEI (all): * # 06 #
IMEI and software version (LG510): * # 07 #
Software version (LG B1200): * 8375 #
Recount checksum (LG B1200): * 6861 #
Factory test (LG B1200): # PWR 668
Simlock menu (LG B1200): 1945 # * 5101 #
Simlock menu (LG 510W, 5200): 2945 # * 5101 #
Simlock menu (LG 7020, 7010): 2945 # * 70001 #
Simlock menu (LG 500, 600): 2947 # *
Code to read phone version: put off sim from phone and enter 277634 # * # or 47328545454 #
Code to reset phone: put off sim from phone and enter
277634 # * # or 47328545454 # select factory reset
Code to enter unlock menu: 2945 # * 88110 #
Test menu 8330: 637664 # * #
Test menu 8180 V10a: 49857465454 #
Test menu 8180 V11a: 492662464663 #
Test menu 8130-8138: 47328545454 #
Test menu 8110-8120: 277634 # * #

BLACKBERRY SECRET CODES:
To display your signal strength in decibels instead of bars: hold “alt” and press “N”, “M”, “L”, “L”(repeat to reverse the effect)
To check the data in your address book for inconsistency: in the address book hold “Alt” and press “V”, “A”, “L”, “D”
To re-built the data structure in the address book: In the address book hold “Alt” and press “R”, “B”, “L”, “D”
To display the source code of web page: In the browser hold “Alt” and press “R”, “B”, “V”, “S”
For technical information’s about device: hold “Alt” and (left) “shift” then press “H”
IMEI code: * # 06 #
Perform soft-reset of your device: press and hold “Alt” then press and hold (left) “shift’, then press and hold “del”
To display the event logs of all the system-level events that occurs on your device: hold “Alt” and press “L”, “G”, “L”, ” L”
(c)
Mobile secrets and tricks are the easy and short ways to perform the specific tasks and programs of the device. Here is some mobile phone tricks mentioned below:

NOKIA: (secrets for all model types)
Check the IMEI: * # 06 #
Check the software version: * # 8110 #
Sim clock stop: * # 746025625 #
Warranty menu: * # 92702689 #
Display the month and year of the manufacturer: 6232 (OK)
Displays the date of the last repairment: 7332 (OK)
Displays the date when the phone was purchased: 7832 (OK)
Displays the serial number: 9268 (OK)
Set the purchasing date: 37832 (OK)
Transfers all phone numbers, pictures, sounds from one phone to another: 87267 (OK)
To put your phone into silent mode temporarily, press the menu button then #
To turn ON the display light the quickly press and release the power button. They will stay on as long as button is kept press.
To delete SMS quickly, instead of pressing the option, erase to delete the message, just press C.

SAMSUNG:
Show IMEI number: * # 06 #
Show software version: * # 9999 #
Show serial parameter: * # 0001 #
Activate the smiley when charging: * # 9125 #
Battery status: * # 9998 * 228 #
Program status: * # 9998 * 246 #
Change alarm buzzer frequency: * # 9998 * 289 #
debug screens: * # 9998 * 324 #
Watchdog: * # 9998 * 364 #
Trace watchdog: * # 9998 * 427 #
Change LCD contrast: * # 9998 * 523 #
Jig detect: * # 9998 * 544 #
Memory status: * # 9998 * 636 #
SIM file size: * # 9998 * 746 #
SIM service table: * # 9998 * 778 #

SONY:
Check IMEI: * # 06 #
Software version & manufacturer date: # 8377466 #

ALCATEL:
IMEI number: * # 06 #
Enter service menu: * # 000000 #
View secret menu: 000000 *

TRIUM:
Monitor mode: hold C and press 379
Secret menu: hold C and press 987
Version number: hold C and press 597
Phase 1 & 2: hold C and press 499
Warm start: hold C and press 179
Instant turn OFF: hold C and press 999
Unlock menu: hold C and press 787090

NEC DB20000:
Check IMEI code: * # 06 #
Reset to default: * 73738 #
Show software version: * # 2820 #
SIM lock information: * # 3210 #
Net lock information: * # 8140 #

MOTOROLA FLARE SECRETS (also applicable on other models):
Check IMEI number: * # 06 #
Note: here below [Pause] means to hold * until box appears.
To activate RBS type: [pause] [pause] [pause] 1 1 3 [pause] 1 [pause] [ok] now press the menu and scroll to ‘Eng Field Option’ function with the keys and enable it.
To deactivate RBS type: [pause] [pause] [pause] 1 1 3 [pause] 0 [pause] [ok]

PHILIPS:
To check IMEI: * # 06 #
Status register: * # 2254 * #
Activate & de-activate Debug call mode: * # 2255 * #
Time when connected to the network: * # 2558 * #
Phone reconnects to the network: * # 2562 * #
Warm start: * # 2565 * #
Name, length SIM phase: * # 7378 * #
Security code: * # 7489 * #
Activate & de-activate sleep mode: * # 7693 * #
Activate the beep signals when phone is reconnected to the network: * # 2337 * #

Friday 8 February 2013

Tips to new Fedora users...

Open the TERMINAL and...............



To know the version of Fedora OS...
run the command...
                    cat /etc/issue


TO know whether your OS is 32bit/64bit...
run the command... 
                    uname -i

To install a .rpm file in Fedora...
run the command...
rpm -ivh filename.rpm

tips

1.Did you know when you press F11 when looking at a web page (in MOST cases), the top and bottom extra bars disappear and you see more of the page and less of the browser? Press F11 again to get back to "normal."

2.If you hold down the Control Key and turn the mouse wheel the print on many pages, especially web pages, gets larger and smaller. You get the same effect by holding down control and pressing the plus or minus keys.

3.If you take a desktop computer somewhere, lay it down on its side in the car, with the motherboard side down. The motherboard side is the side with the most plugs and slots close to it. That keeps the RAM and cards from falling out during the jostling drive.

4.Gentle! Easy Does It...!!! ;)
Don't tie those cords, especially LAN cords, like you are wrapping a present! They have tiny wires inside that can easily break. Wrap them loosely. If your internet connection is erratic, it COULD be the cord.


31

Which of the following lines should NOT compile? [explain]

1 int main()
2 {
3 int a = 2;

5 int* b = &a;

7 int const* c = b;
8
9 b = c;
10
11 return 0;
12 }

30

What will be the output ? [explain]
===================
#include <iostream>
int main(int argc, char** argv)
{
int x = 0;
int y = 0;

if (x++ && y++)
{
y += 2;
}

std::cout << x + y << std::endl;

return 0;
}
===================
a. 1
b. 2
c. 3
d. 4
e. undefined

29

Make a function that takes a number as a parameter. Return an integer that is the number divided by two. So for example if the parameter is 10, it will return 5.

*Rules :
=======
No use of any functions.
No use of the '%', '*', and '/' operators.
No use of any classes.

28

#include <stdio.h>
namespace {
int i=10;
printf("%d,",i);
}
int main()
{
printf("%d\n",i);
return 0;
}
--------------------------------
What will be the output ?!
A. 10
B. 10 , 10
C. Compiler error

27

Which of the following sorting algorithms has average-case and worst-case running time of O (n log n) ?
(A) Bubble sort
(B) Insertion sort
(C) Merge sort
(D) Quick sort.

26

In quick sort, the number of partitions into which the file of size n is divided by a selected record is .......
a. n
b n - 1
c 2

25

what is output of the following program ? [with explain]

void main()
{
int i=32767;
printf("%d",++i);
}

24

Which of the following function declaration is/are incorrect?

A. int Sum(int a, int b = 2, int c = 3);
B. int Sum(int a = 5, int b);
C. int Sum(int a = 0, int b, int c = 3);
D. Both B and C are incorrect.
E. All are correct

23

Reference is like a _____.

A. Pointer B. Structure
C. Macro D. Enum

22

What will be output of following program?

#include<stdio.h>
unsigned long int (* avg())[3]{
static unsigned long int arr[3] = {1,2,3};
return &arr;
}
int main()
{
unsigned long int (*ptr)[3];
ptr = avg();
printf("%d" , *(*ptr+2));
return 0;
}

(A) 1
(B) 2
(C) 3
(D) Compilation error
(E) None of above

21

What will be output of following program?

#include<stdio.h>
unsigned long int (* avg())[3]{
static unsigned long int arr[3] = {1,2,3};
return &arr;
}
int main()
{
unsigned long int (*ptr)[3];
ptr = avg();
printf("%d" , *(*ptr+2));
return 0;
}

(A) 1
(B) 2
(C) 3
(D) Compilation error
(E) None of above

20

Write checking leap year program using [C or C++]

Definition of leap year:

Rule 1: A year is called leap year if it is divisible by 400.
For example: 1600, 2000 etc leap year while 1500, 1700 are not leap year.

Rule 2: If year is not divisible by 400 as well as 100 but it is divisible by 4 then that year are also leap year.
For example: 2004, 2008, 1012 are leap year.

19

What will be output of the following program?

#include<stdio.h>
int main(){
int a=0,b=10;
if(a=0){
printf("true");
}
else{
printf("false");
}
return 0;
}

18

What will be output of the following program?

#include<stdio.h>
int main(){
int a=0,b=10;
if(a=0){
printf("true");
}
else{
printf("false");
}
return 0;
}

17

What will be output of the following program?

#include<stdio.h>
int main()
{
int a=2,b=7,c=10;
c=a==b;
printf("%d",c);
return 0;
}

16

What will be output ?

#include<stdio.h>
void main()
{
char data[2][3][2]={0,1,2,3,4,5,6,7,8,9,10,11};
printf("%o",data[0][2][1]);
}

15

Find the output of calculate(6)

public int calculate(int num)
{
* if(num==0)
** *return 1;
* else
** *return calculate(num-1)*num;
}
Join me on Facebook