[go: up one dir, main page]

0% found this document useful (0 votes)
79 views35 pages

Difference Between Hardware and Software

The document discusses transferring data between databases using the Transfer class. The Transfer class provides tools to transfer objects and data between databases by executing a generated script or dynamically created DTS package. Examples are given in VBNET and C# code to connect to a source database, create a destination database, define a Transfer object with the required options, and script the transfer. Proper file management through organizing files in a hierarchical system of folders and subfolders can save time when searching and retrieving files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views35 pages

Difference Between Hardware and Software

The document discusses transferring data between databases using the Transfer class. The Transfer class provides tools to transfer objects and data between databases by executing a generated script or dynamically created DTS package. Examples are given in VBNET and C# code to connect to a source database, create a destination database, define a Transfer object with the required options, and script the transfer. Proper file management through organizing files in a hierarchical system of folders and subfolders can save time when searching and retrieving files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

Chapter

5 Different types of hardware


Chapter Difference Between Hardware
5
and Software

Hardware: refers to the physical and visible components of


the system such as a monitor, CPU, keyboard and
mouse.
Software: refers to a set of instructions which enable the
hardware to perform a specific set of tasks.
Chapter Difference Between Hardware
5
and Software
Hardware Software
 Input Devices

Keyboard: To enter the writing


• Signaling devices
• Control devices for games
• Audio input devices
• Visual devices
Chapter Difference Between Hardware
5
and Software
Hardware Software
 Output Devices

The presentation:
 The monitor  Headphones
 Speaker  Printer
 The projector  CD / DVD
screen recorder
Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:
Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Storage devices are those parts of the computer that are


used to store different types of data. The storage in turn
is classified into two differentiated types. Depending
on whether it is primary or secondary, depending on
the volatility of the data or the duration over time
Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:

The processing unit (CPU)


Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:

The RAM Memory


Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:

The Hard Disk


Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:

Mouse and keyboard


Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:

The Monitor
Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:

The Optical Unit


Chapter Difference Between Hardware
5
and Software
Hardware Software
 Secondary Storage Devices

Components of a computer:

The Network Adapter


Chapter Difference Between Hardware
5
and Software
Hardware Software
 Internal Components

They are components of the computer


that receive the input data and the
information in its raw state and process.
Chapter Difference Between Hardware
5
and Software
Hardware Software
Developed using electronic Developed writing using
and other materials instructions using a
programming language
When damaged, it can be When damaged it can be
replaced with a new installed once more using a
component backup copy
Chapter Difference Between Hardware
5
and Software
Hardware Software
Hardware is physical in nature The software cannot be
and hence one can touch and physically touched but still
see hardware can be used and seen
Hardware cannot be infected The software can be infected
by Viruses by Viruses
Chapter Difference Between Hardware
5
and Software
Hardware Software
Hardware will physically wear Software does not wear out
out over time but it can be affected by bugs
and glitches
An example of Hardware is An example of software is
hard drives, monitors, CPU, Windows 10, Adobe Photoshop,
scanners, printers etc. Google Chrome etc.
Chapter Difference Between Hardware
5
and Software

What is an example
of Software?
Chapter Difference Between Hardware
5
and Software
Chapter Difference Between Hardware
5
and Software

What is an example
of Hardware?
Chapter Difference Between Hardware
5
and Software
File Management: The Complete Guide to Organizing and
Chapter
Managing Your Files, Save Time, Effort and Your Sanity by
5 Managing Your Files Correctly

 No naming convention,
whatsoever.
 Several shortcuts to the same
program.
 Eight empty folders, all named
“New folder”.
File Management: The Complete Guide to Organizing and
Chapter
Managing Your Files, Save Time, Effort and Your Sanity by
5 Managing Your Files Correctly

Every file on your computer is part of


a complex, hierarchical system made up
of directories and subdirectories. The
process of naming, storing, and retrieving
these files in an organized way is the
basis of file management and when done
efficiently, can save a tremendous amount
of time and headaches.
File Management: The Complete Guide to Organizing and
Chapter
Managing Your Files, Save Time, Effort and Your Sanity by
5 Managing Your Files Correctly

Why it’s Important?


File Management: The Complete Guide to Organizing and
Chapter
Managing Your Files, Save Time, Effort and Your Sanity by
5 Managing Your Files Correctly

Subfolders are a huge benefit


when trying to keep things
organized. Within the main folder,
it should have multiple categories
of folders. And within those
categories of folders, there should
be more specific categories of
folders.
File Management: The Complete Guide to Organizing and
Chapter
Managing Your Files, Save Time, Effort and Your Sanity by
5 Managing Your Files Correctly

If you’re dealing with an extremely large amount


of data and manually maintaining a functional sorting
system is too complex, you can always opt for software
that does some of the hard work for you.
Chapter
5 Transferring Data
The Transfer class is a utility class that provides
tools to transfer objects and data.
Objects in the database schema
are transferred by executing a
generated script on the target
server. Table data is transferred
with a dynamically created DTS
package.
Chapter
5 Transferring Data
Example
Transferring Data
Chapte
r5

Example
VBNETCopy
'Connect to the local, default instance of SQL Server.Dim srv As Serversrv = New
Server'Reference the AdventureWorks2012 2008R2 databaseDim db As Databasedb =
srv.Databases("AdventureWorks2012")'Create a new database that is to be destination
database.Dim dbCopy As DatabasedbCopy = New Database(srv,
"AdventureWorks2012Copy")dbCopy.Create()'Define a Transfer object and set the required
options and properties.Dim xfr As Transferxfr = New Transfer(db)xfr.CopyAllTables =
Truexfr.Options.WithDependencies = Truexfr.Options.ContinueScriptingOnError =
Truexfr.DestinationDatabase = "AdventureWorks2012Copy"xfr.DestinationServer =
srv.Namexfr.DestinationLoginSecure = Truexfr.CopySchema = True'Script the transfer.
Alternatively perform immediate data transfer with TransferData
method.xfr.ScriptTransfer()
Chapter
5 Transferring Data
C#Copy
{ Server srv; srv = new Server();
//Reference the AdventureWorks2012 database Database db;
db = srv.Databases["AdventureWorks2012"]; //Create a new database that
is to be destination database. Database dbCopy; dbCopy =
new Database(srv, "AdventureWorks2012Copy"); dbCopy.Create();
//Define a Transfer object and set the required options and properties.
Transfer xfr; xfr = new Transfer(db); xfr.CopyAllTables =
true; xfr.Options.WithDependencies = true;
xfr.Options.ContinueScriptingOnError = true; xfr.DestinationDatabase =
"AdventureWorks2012Copy"; xfr.DestinationServer = srv.Name;
xfr.DestinationLoginSecure = true; xfr.CopySchema = true;
//Script the transfer. Alternatively perform immediate data transfer
// with TransferData method. xfr.ScriptTransfer(); }
Chapter
5 Transferring Data
PowerShellCopy
#Connect to the local, default instance of SQL Server. #Get a server object which
corresponds to the default instance $srv = New-Object -TypeName
Microsoft.SqlServer.Management.SMO.Server #Reference the AdventureWorks2012
database. $db = $srv.Databases["AdventureWorks2012"] #Create a database to hold
the copy of AdventureWorks $dbCopy = New-Object -TypeName
Microsoft.SqlServer.Management.SMO.Database -argumentlist $srv, "AdventureWorksCopy"
$dbCopy.Create() #Define a Transfer object and set the required options and
properties. $xfr = New-Object -TypeName Microsoft.SqlServer.Management.SMO.Transfer
-argumentlist $db #Set this objects properties $xfr.CopyAllTables = $true
$xfr.Options.WithDependencies = $true $xfr.Options.ContinueScriptingOnError = $true
$xfr.DestinationDatabase = "AdventureWorksCopy" $xfr.DestinationServer = $srv.Name
$xfr.DestinationLoginSecure = $true $xfr.CopySchema = $true "Scripting Data
Transfer" #Script the transfer. Alternatively perform immediate data transfer with
TransferData method. $xfr.ScriptTransfer()
Chapter TYPES OF COMPUTER SECURITY:
5 SOFTWARE, HARDWARE AND NETWORK
Chapter TYPES OF COMPUTER SECURITY:
5 SOFTWARE, HARDWARE AND NETWORK
following types:
Software Security
Software weaknesses trigger
the practice in which
computer intruders enter
systems. And carry out their
malicious practices.
Chapter TYPES OF COMPUTER SECURITY:
5 SOFTWARE, HARDWARE AND NETWORK
following types:
Hardware Security
Consists of the protection of the
equipment before any eventuality
that could damage them. Keep in
mind that here they can be
included from firewalls, through
firewalls to proxy servers.
Chapter TYPES OF COMPUTER SECURITY:
5 SOFTWARE, HARDWARE AND NETWORK
following types:
Network Security
These are the activities aimed at
protecting the network itself, providing
reliability. And preventing the propagation
of attacks on a network. Among the most
prominent are: viruses, worms, annoying
spyware, DOS attacks (or denial of
service), among others

You might also like