Thursday, September 22, 2011

What it is indicating is…..


In today’s newspapers I have come across two notable things.
The first one is advent of fully computerized cars that drive themselves. It can talk, see, drive and no longer needs a human being to control it by remote. The vehicle maneuvers through traffic on its own using a sophisticated combination of devices, including a computer, electronics and a precision satellite navigation system in the trunk, a camera in the front, and laser scanners on the roof and around the front and laser scanners. The car of the future –completely computer controlled- is on the streets of Berlin.
The second one is IPSoft founded in 1998 by Dube and his colleagues from New York University, has made a software heavily on expert systems that mimic the human brain. They are capable of self-learning and autonomously solving a majority of the problems that arise on the computer networks.
Both are advanced technologies. They indicate our success towards artificial intelligence. The fifth generation of computing that is our current generation is artificial intelligence. We are not fully success ful and we have only partly succeeded in this field . Robots couldn’t be made as and don’t have analytical thinking as humans. But the above two indicates that we are successfully proceeding in artificial intelligence
Another reason improvement is Google translate. It translates the sentences from one language to another language. Although the translation is not perfect, it is a also a improvement in artificial intelligence.
One happy news is Microsoft has ensured that windows 8 includes full backward compatibility. All existing applications will work and even the upgrade from windows7 to 8 is seamless. Microsoft’s windows 8 developer preview is available for every one to download for free.-and you don’t be need to be a developer either. The 32 bit version is bere http://goo.gl/JVcJQ.  it ‘s size is 2.8 gb. The 64 bit version is 4.8 gb in size,bundled with developer tools  and it can be downloaded from http://goo.gl/MS1tm.  
]

Wednesday, September 21, 2011

How to protect computers from virus.


1.       Make sure automatic protection is turned on at all times.
2.       Perform manual scan of your hard disks weekly.
3.       You can also schedule a scan to occur automatically.
4.       Enable automatic live updates to update your virus definition files.
5.       Make periodic updates of your hard disk.
6.       Don’t open email messages and email attachments from people you don’t know.
7.       Password protect your shared network drives

Tuesday, September 20, 2011

Chapter-1 . c introduction.

What is c?
it is a programming language
Commonly software is split into two types. They are
1. Language
2. Package.
What is package?
Example is ms-word, excel.
Packages are already predefined .That is if we want to format a paragraph there are icons in word software such as bold and italic by just clicking these icons we can format text. That is what should happen when we click bold icon is already predefined.
Opposite to it in programming language there will be set of statements. By executing these statements we can make solution to a problem. We can make packages using languages . that is what should happen in a package when events such as clicking a bold icon are defined through programming language.
We can also write operating system using languages like c.
What is an operating system?
Operating system is also software. It comes in the type of system software. This soft ware manages the system . i.e allocating memory to an application or setting priorities to software such as which should run first. It is also act as a interface between system and user.
Examples for operating system are
1. Windows xp
2. Windows 7
3. Unix
4. Linux
In 1972 at bell laboratories, USA a research of developing UNIX operating system was going on. To write UNIX operating system they needed a language. So they were in the need of a programming language. So they developed c language. So the reason behind invention of c is to write UNIX operating system.
C is a portable language.
Why it is called as portable language?
A program written in c language in one platform can be run on another platform without change. So c is called as portable language.
C is powerful
C is structure oriented language.
C is not an object oriented programming language.
C can be used to write high level business applications. At the same time it can be used for low level assembly programs. As it can be used for both high level and low level programming it is called as middle level language.
Applications of c:
1. C is basic language for learning advanced languages like c++, java c#.
2. C is used in field of graphics
3. Used for creating system level programming. It is used for creating operating system, compilers.
What is a compiler?
Source code written in a programming language cannot be understood by system. There is an equal binary code for source code. The binary code contain only I’s and 0’s and it can be under stand by system. The role of compiler is to change source code in to machine language.



Next chapter

When routers didn’t work.


Some times our routers will not work.
 Simply switch off router and back on again solves most problems.
If it doesn’t work it may be because of changes in the configuration setting of router.. by using browser  we can reset router to its factory default s.
Providing proper ventilation to router will also be better because it can get quick worm.
In some routers there will be a hardware reset button.

Advantages of wpf


What is wpf?


  • Ø  It is actually new framework introduced with dot net framework
  • Ø  It has new set of classes  and assemblies which allow us to write programs more efficiently and flexibility
  • Ø  It uses direct 3d rendering which employs graphics cards to render the output on the screen
  • Ø  Thus drawing will be smooth.

Advantages of wpf


Ø  Wpf introduces device independent DPI setting for application built with it.

Ø  rendered with in direct environment.

Ø  Major support for graphics and animation capabilities

Ø  Separate set of classes for animation effect and graphics.

Ø  Graphics are vector based and object oriented.

Ø  Comes with huge flexibilities to define the styles and control templates.

Ø  Comparable to css.

Ø  In traditional system styles are tightly coupled with interfaces. In wpf you can define a style and you put the style on the element.

Ø  Resource based approach

Ø  In wpf you can store styles, controls, animations and even any object as resource and you may associate them to the controls.

Ø  It has introduced new property system. Every element of wpf defines a large number of dependency properties. And it has strong capabilities than normal properties.

CHAPTER-2 INTRODUCING PROGRAM IN C


We are going to write a program which will just display the output “hello world”.
The function for printing  on the console is printf function.(console  means monitor).
The following statement
Printf(“hello world”);
Will print the required output.
The  printf statement should be written with in main function as
Void main()
{
Printf(“hello world”);
}
The open curly brace marks the beginning of main function.
The closing curly brace marks the end of main     function.
Normaly  in c curly braces are used to mark the beginning and end of the block.
The block is a group of one or more sentences.
Now we are going to add one more statement at the beginning of the program.
#include<stdio.h>
Void main()
{
Printf(“hello world”);
}
The include statement includes the header file stdio.h
Stdio.h-> standard inputoutput.h
What is a header file.
Headers files  are files where the library functions are declared. Printf function is declared in stdio.h
In this programming if we didn’t include the include statement the compiler will show an error as printf function prototype missing.
Proto type refers to function declaration.
Now  save the program
Now compile the program.
The compiler will show an error if we did any syntax error in the program.
Syntax refers to the grammar of c language.
After correcting the error the program will get compiled.
That means the program will be converted into machine code.
Now run the program.
Now view the program output.
When we run the program second time or running any other program the program out put will be appended at the end of the previous programs output.
To avoid this we add another library function clrscr() which will clear the screen.
The clrscr() function needs the conio.h  header file to be included.
Conio.hà console input output.h
Now the program will be
#include<stdio.h>
#include<conio.h>
Void main()
{
Clrscr();
Printf(“hello world”);
}

Previous chapter