Saturday 26 January 2013

Multiplexer & De-Multiplexer


Multiplexer  is  a  circuit which transmits a large number of info signals (which are inputs)  over a small number of info signals (that are output).

An electronic multiplexer makes it possible for several signals to share one device or resource. A multiplexer is often used with a complementary De-multiplexer on the receiving end.

Example :-

                     
TYPES OF MULTIPLEXER:-

       1 TO 4 LINE MULTIPLEXER
     1 TO 8 LINE MULTIPLEXER
       1 TO 16 LINE MULTIPLEXER

De-Multiplexer  is  a  circuit which transmits a large number of info signals (which are output)  over a small number of info signals (that are input).

De-multiplexers are sometimes convenient for designing general purpose logic, because if the de-multiplexer's input is always true, the demultiplexer acts as a decoder. This means that any function of the selection bits can be constructed by logically OR-ing the correct set of outputs.

Example :-


TYPES OF MULTIPLEXER:-

       1 TO 4 LINE MULTIPLEXER
     1 TO 8 LINE MULTIPLEXER
       1 TO 16 LINE MULTIPLEXER

Network interface cards


A network card, network adapter, or NIC (network interface card) is a piece of computer hardware designed to allow computers to physically access a networking medium. It provides a low-level addressing system through the use of MAC addresses.
Each Ethernet network interface has a unique MAC address which is usually stored in a small memory device on the card, allowing any device to connect to the network without creating an address conflict. Ethernet MAC addresses are composed of six octets. Uniqueness is maintained by the IEEE, which manages the Ethernet address space by assigning 3-octet prefixes to equipment manufacturers.Each manufacturer is then obliged to both use only their assigned prefix(es) and to uniquely set the 3-octet suffix of every Ethernet interface they produce.

Network Bridge


A network bridge connects multiple Network segment at the data link layer (layer 2) of the OSI model. Bridges broadcast to all ports except the port on which the broadcast was received. However, bridges do not promiscuously copy traffic to all ports, as hubs do, but learn which MAC addresses are reachable through specific ports. Once the bridge associates a port and an address, it will send traffic for that address to that port only.
Bridges learn the association of ports and addresses by examining the source address of frames that it sees on various ports. Once a frame arrives through a port, its source address is stored and the bridge assumes that MAC address is associated with that port. The first time that a previously unknown destination address is seen, the bridge will forward the frame to all ports other than the one on which the frame arrived.
Bridges come in three basic types:
  • Local bridges: Directly connect LANs
  • Remote bridges: Can be used to create a wide area network (WAN) link between LANs. Remote bridges, where the connecting link is slower than the end networks, largely have been replaced with routers.
  • Wireless bridges: Can be used to join LANs or connect remote stations to LANs.



Wednesday 23 January 2013

steps to install the windows 8

1. Set the boot priority from the bios setup by pressing F12 key when you start your PC.
2. Save the changes and restart the PC
3. after restarting your pc a message will appear that " press any key for boot " then press any key the installation is getting started for windows 8.

step by step screen shots of installing windows 8


          Getting started



 To Enter Language And Other Preferences


  Begin With Installation

Enter a Valid Activation Key

End User License Agreement



 Windows Setup






 Where To Install

warning:- if you will not format the drive in which you installing the window the files of old installed windows are saved in windows.old folder 



Installing Windows

After these steps window will restart and getting desktop ready for your first use



After restarting:-




Configuring Windows





Here is your desktop of windows 8 enjoy and have fun





Thursday 10 January 2013

computer graphics program to make front view of pacman game


program to make front view of pacman game

#include<iostream.h>
#include<conio.h>
#include<graphics.h>
void main()
{
   int gd=DETECT,gm;
   initgraph(&gd,&gm," ");
   setcolor(BLUE);
   /* for boundry lines  */
   {
   line(101,30,540,30);
   line(101,380,540,380);
   line(101,30,101,145);
   line(101,265,101,380);
   line(540,30,540,145);
   line(540,265,540,380);
   line(150,265,101,265);
   line(150,265,150,225);
   line(101,225,150,225);
   line(101,185,150,185);
   line(150,185,150,145);
   line(150,145,101,145);
   line(540,145,490,145);
   line(490,145,490,185);
   line(490,185,540,185);
   line(540,225,490,225);
   line(490,225,490,265);
   line(490,265,540,265);
   }
   /* for centre rectangle and three smileys */
   {
   rectangle(270,230,370,180);
   rectangle(305,90,335,30);
   rectangle(305,155,335,115);
   rectangle(305,380,335,320);
   rectangle(305,260,335,300);
   }
   /* for centre to right side portion */
   {
   line(415,185,435,185);
   line(435,185,435,105);
   line(415,105,435,105);
   line(415,105,415,140);
   line(415,150,415,185);
   line(415,140,360,140);
   line(415,150,360,150);
   line(360,140,360,150);
   line(495,283,495,297);
   line(495,283,465,283);
   line(465,283,465,362);
   line(479,348,494,348);
   line(494,348,494,362);
   line(494,362,465,362);
   line(479,348,479,297);
   line(479,297,495,297);
   line(435,322,435,362);
   line(435,362,370,362);
   line(370,362,370,344);
   line(370,344,415,344);
   line(415,344,415,322);
   line(415,322,435,322);
   rectangle(505,335,540,315);
   rectangle(370,80,435,55);
   rectangle(465,80,510,55);
   rectangle(500,125,480,105);
   rectangle(415,255,435,215);
   rectangle(380,297,435,283);
   }
   /* for centre to left side position */
   {
   line(205,105,205,185);
   line(205,105,225,105);
   line(205,185,225,185);
   line(225,185,225,150);
   line(225,105,225,140);
   line(225,140,280,140);
   line(225,150,280,150);
   line(280,140,280,150);
   line(145,283,145,297);
   line(145,283,175,283);
   line(175,283,175,362);
   line(161,348,161,297);
   line(161,348,145,348);
   line(145,348,145,362);
   line(145,362,175,362);
   line(161,297,145,297);
   line(205,322,205,362);
   line(205,362,270,362);
   line(270,362,270,344);
   line(270,344,225,344);
   line(225,344,225,322);
   line(205,322,225,322);
   rectangle(101,335,135,315);
   rectangle(205,80,270,55);
   rectangle(130,80,175,55);
   rectangle(150,125,170,105);
   rectangle(205,255,225,215);
   rectangle(205,297,255,283);
   }
   /* for text */
   {
    setcolor(RED);
    outtextxy(290,400," PACMAN ");
    outtextxy(40,50," GAME ");
    outtextxy(35,60," SCORE ");
    outtextxy(570,50," HIGH ");
    outtextxy(565,60," SCORE ");
   }
   /* for pacman */
   {
   setcolor(BLUE);
   setfillstyle(1,YELLOW);
   line(50,360,56,360);
   circle(50,360,6);
   floodfill(52,357,BLUE);
   circle(50,344,6);
   floodfill(52,342,BLUE);
   line(50,344,56,344);
   circle(50,328,6);
   floodfill(52,330,BLUE);
   line(50,328,56,328);
   }
   /* for dots vertical */
   {
   for(int j=40;j<=375;j=j+25)
   {
    putpixel(190,j,RED);
    putpixel(450,j,RED);
    }
    for(j=40;j<=170;j=j+25)
    {
    putpixel(290,j,RED);
    putpixel(355,j,RED);
    }
    for(j=240;j<=370;j=j+25)
    {
    putpixel(290,j,RED);
    putpixel(355,j,RED);
    }
    for(j=40;j<=150;j=j+25)
    {
    putpixel(115,j,RED);
    putpixel(525,j,RED);
    }
   }
   /* for dots horizontal */
   {
   for(int k=115;k<=290;k=k+25)
   {
   putpixel(k,375,RED);
   putpixel(k,40,RED);
   }
   for(k=355;k<=525;k=k+25)
   {
   putpixel(k,375,RED);
   putpixel(k,40,RED);
   }
   }
   getch();
   closegraph();
}


output:-



Booting & it's types

What is Booting

The process of switching “ON” the computer is referred  to as the  “Booting”.
It is also known as “ Start up”  i.e to wake a computer up, and make it ready for further Action.
Three System Files are Loaded into Memory(RAM)
IO.SYS
MSDOS.SYS
COMMAND.COM

Types of Booting

Cold Booting(Switch Booting): When the PC is switched on from the ON/OFF switch button on the cabinet is known as Switch Booting.
It loads the Boot able DOS program from the ROM to the memory.
Hot Booting(Resetting): Also known as Warm Booting . It is faster than Cold Booting. If computer hangs for some reason it may be necessary to reset it.
The computer restarts and the booting of this type is known as Hot Booting
It can be done using “RESET Button” or by pressing “Ctrl+Alt+Del

Comparison between CISC and RISC Architectures

   Complex Instruction Set Computer


v Control unit is designed through software approach

v Micro-program is designed for each instruction

v Each micro-operation is performed by a micro-instruction

v Typically have small set of registers

v More access to memory

v More addressing modes involved

v Instruction execution in multiple T-states

v Introduction of new instruction is comparatively easier

v Error rectification is easier

v Instruction set is large and complex

v Speed slower than RISC counterpart

v Example: All the 80x86 machines prior to Pentium

v Used in Home Desktop, Low-end applications


Reduced Instruction Set Computer

v Control unit is designed through hardware approach

v Micro-circuit is designed for each instruction

v Typically have large set of registers

v Reduced access to memory

v Limited addressing modes involved

v Usually instruction execution in single T-state (clock cycle)

v Makes efficient use of Pipe lining

v Introduction of new instruction is cumbersome

v Error rectification is very difficult

v Instruction set is small and simple

v Speed is faster than CISC counterpart

v Example: SUN SPARC, ULTRA SPARC

v Used in speed critical, server, High-end applications.


Architectural Characteristics
CISC
RISC

Complex Instruction Set Computer
Reduced Instruction Set Computer
Instruction Set Size
Large Set of Instructions
Small Set of Instructions
Instruction Formats
Variable Formats(16-64 bits per Instruction)
Fixed (32 bits) Instructions & mostly register based.
Addressing Modes
12-24
Limited to 3-5

General Purpose Registers & Cache Design
8-24 General Purpose Registers,mostly with a unified cache for instructions & data, recent designs also use split caches
Large Numbers(32-192) of General Purpose Registers with mostly split cache & instruction Cache
Clock Rate
33-50 MHz in 1992
50-150 MHz in 1993.
Cycles Per Instruction(CPI)
Between 2 & 15
One cycle for almost all instructions & an average CPI<1.5
CPU Control
Most microcoded using Control Memory(ROM) but modern CISC also use Hardwired Control
Most Hardwired without Control Memory.
Example
INTEL i486,IBM 390
INTEL i860, SPARC.

Sunday 6 January 2013

how to install turbo c and c++ in windows 7 & 8 both version 32-bit as well as 64-bit

1.Download turbo c or turbo c++ and also dos-box latest version 0.73
2.Extract turbo c or turbo c++ copy your turbo c or turbo c++ folder in your system drive i.e c:\
3.Install the dos-box 0.73
4.After installing the dos-box open it's edit configuration file from start menu
  at the end of the edit configuration page where it is written that:-
 
[autoexec]


# Lines in this section will be run at startup.

"After that lines"
 
"Write these lines"
mount c c:\
c:
cd tc
tc



"After writting these lines save that file"
5. now click on the dos-box it will automatically open the turbo c or c++

 Run the c or c++ files in turbo c or c++ by mouse itself
    enjoy doing your work

how to install visual basic 6.0 in windows 8 pro


How to install vb6.0 in windows 8pro

       1.Open or extract the visual basic.rar or .iso file

2.Open key.txt file and copy the key for visual basic 6.0

3.Click on the setup .exe file for extracting the files   (it takes 2 to 5 mins depending upon the system configuration)



      4. After extracting all the files a window open click on yes to install.


 5.   Now a new window open called program compatibility assistant
Click on run the program without getting help
           

      6. Now installation wizard open click on the next button.



 7. Now EULA(end user license agreement) open click on I accept the agreement radio button and click on the next button.



 8.  New window open it will ask you for product number and user ID after entering product number from key.txt enter your e-mail and organization name and click on next



 9.Another window open that will ask you for setup option.
a.      Select custom (recommended for new user)
b.      Select products ( for experience user to change path of the installation)
c.       Server applicant for window server editions.
             After selecting setup option click on the next button
     


10. The the window which open it will allow you to change the path of installation.
If
you want to change the installation path click on the browse button and select the path.
Otherwise
Default path for installation is automatically generated as:- C:\Program Files (x86)\Microsoft Visual Studio\Common
After setting the path click on the next button



11.Now again window open called program compatibility assistant
         Click on run the program without getting help


12.An window open and showing message to you as:-“ starting visual studio 6.0 setup please wait”



13.Now setup will open in full screen mode ask you option as continue or exit setup click on the continue button a new window open click on ok.

14.  After pressing ok button it will show you the message that “setup is searching for installed components”
   
 15.New window open click on no button.
             

   16. After pressing no button it will again show you the message that “setup is searching for installed components”



17.  A new window open call custom setting click on select all and then click on continue.

18.  Then tick the registry option and click ok

19.  Again a new window open click on the yes button to only use vb 6.0 no button to use vb 6.0 and 5.0 also.


20.  A message shown to you that “ setup is checking for necessary disk space
21.  Last time extracting happen







22.  After that a window open click on ok now enjoy your visual basic 6.0 and it’s another components.