Monday, 17 August 2015

C language Questions

Dear Reader,

Below are four moderately tough questions picked from diverse topics.

Question 1

Which statement is true about const char* p ?

a) The character pointed by p is constant and not the pointer variable
b) The pointer is constant and not the character pointed by p
c) Both a & b
d) None of these

Answer : a) The character pointed by p is constant and not the pointer variable
Question 2
Which of the following statement is not true about graphicdefaults() ?
a) Viewport is changed to the entire screen.
b) Fill style and pattern are changed to defaut value.
c) Current position is not changed
d) None of these
Answer : c) Current position is not changed
The current position also changes to the default value(0,0)
Question 3
In C graphics, how the programmer can find the driver used ?
Answer :
getdrivername() is used to get the name of the graphics driver. This function returns pointer to the string containing name of the driver used. Using this pointer the name can be printed out.
Question 4
Is it possible to use nested include files ?
Answer :

Yes it is possible using today's compilers.In present day compilers it is implemented by a concept called precompiled headers. Precompiled headers contains all headers and its dependencies in a precompiled state. Thus helps for nesting include files.

Wednesday, 12 August 2015

Things that MICROSOFT Could not Explain!

Things that MICROSOFT Could not Explain!

TRY this....

MAGIC #1

Found that nobody can create a FOLDER anywhere on the Computer which can be named as "CON". This is something funny and inexplicable? At Microsoft the whole Team, couldn't answer why this happened! TRY IT NOW, IT WILL NOT CREATE A "CON" FOLDER

MAGIC #2

For those of you using Windows, do the following:
1.) Open an empty notepad file
2.) Type "Bush hid the facts" (without the quotes)
3.) Save it as whatever you want.
4.) Close it, and re-open it.
Noticed the weird bug? No one can explain!

MAGIC #3

Again this is something funny and can't be explained?
At Microsoft the whole Team, including Bill Gates, couldn't answer why this happened!
It was discovered by a Brazilian. Try it out yourself?
Open Microsoft Word and type
=rand (200, 99)
And then press ENTER And see the magic?..!

Magic #4

Did you know that a flight number from one of the planes that hit one of the two WTC towers on 9/11 was Q33N. In Notepad / WordPad or MS Word, type that flight number i.e Q33N. Increase the font size to 72. Change the font to Wingdings. ..... u will be amazed by the findings!!!

Sunday, 9 August 2015

FROM MACHINE CODE TO EXPERT SYSTEM AND INTERNET

1950 - PRIMITIVE MACHINE CODE
1955 - HEX MACHINE CODE
1960 - LOW-LEVEL ASSEMBLY LANGUAGE
1965 - MID-LEVEL LANGUAGE
1970 - HIGH-LEVEL LANGUGAE
1975 - STRUCTURED LANGUAGE
1980 - STRUCTURED QUERY LANGUAGE
1985 - ARTIFICIAL INTELIGENT LANGUAGE
1990 - OBJECT ORIENTED PROGRAMMING LANGUAGE
1995 - VISUAL PROGRAMMING LANGUAGE
2000 - WEB SCRIPT LANGUAGE
2005 - CONTENT MANAGEMENT SYSTEM
2010 - MIXED SYNCHRONOUS SCRIPTS

...

WHAT'S NEXT?

Introduction to Cloud Computing

In the simplest terms, cloud computing means storing and accessing data and programs over the Internet instead of your computer's hard drive. The cloud is just a metaphor for the Internet. It goes back to the days of flowcharts and presentations that would represent the gigantic server-farm infrastructure of the Internet as nothing but a puffy, white cumulonimbus cloud, accepting connections and doling out information as it floats.
What cloud computing is not about is your hard drive. When you store data on or run programs from the hard drive, that's called local storage and computing. Everything you need is physically close to you, which means accessing your data is fast and easy, for that one computer, or others on the local network. Working off your hard drive is how the computer industry functioned for decades; some would argue it's still superior to cloud computing, for reasons I'll explain shortly.
The cloud is also not about having a dedicated network attached storage (NAS) hardware or server in residence. Storing data on a home or office network does not count as utilizing the cloud. (However, some NAS will let you remotely access things over the Internet, and there's at least one NAS named "My Cloud," just to keep things confusing.)

For it to be considered "cloud computing," you need to access your data or your programs over the Internet, or at the very least, have that data synchronized with other information over the Web. In a big business, you may know all there is to know about what's on the other side of the connection; as an individual user, you may never have any idea what kind of massive data-processing is happening on the other end. The end result is the same: with an online connection, cloud computing can be done anywhere, anytime.