Академический Документы
Профессиональный Документы
Культура Документы
Definition
Desktop Publishing (DTP) involves the production of high quality printed material that
contains both text and graphics. Originally printers and publishers only performed Desktop
Publishing, but with the introduction of powerful and versatile page layout software for the
personal computer, anyone can now produce professional quality publications.
The concept of the Desktop Publisher is that each page of the publication is visible as a
whole, so that the layout of the page can be seen. As well the page can be zoomed in very
closely so that the finer details of the page can be added. Through the use of very accurate
rulers each page can be precisely designed ready for publication.
pg. 1
Today many businesses require that their everyday forms such as letterhead, fax sheets,
internal and external forms be in the Word .doc format.
If you or a client requires .doc compatible digital files, don't dispair. Work within the
program's capabilities to use Word for some desktop publishing. However, be aware of the
limitations as well especially when it comes to full-color or high-volume commercial
printing.
Use Microsoft Word for creating documents for printing to a desktop or network printer.
Do not use Microsoft Word, WordArt, or other components of Microsoft Office for creating
logos.
If the document must be created in Word and must be commercially-printed, work with a
service that specializes in printing Word documents, learn the limitations of the format, and
learn how to prepare digital files for commercial printing and the proper use of TIFF and EPS
graphics.
pg. 2
Printing components
There are three main types of components to be laid out on a page. They are text, natural or
scanned images, artificial or creative images.
Layout
Layout is the process by which the printing components are laid on the page aesthetically and
precisely.
Comparisons with word processing
While desktop publishing software still provides extensive features necessary for print
publishing, modern word processors now have publishing capabilities beyond those of many
older DTP applications, blurring the line between word processing and desktop publishing.
In the early days of graphical user interfaces, DTP software was in a class of its own when
compared to the fairly spartan word processing applications of the time. Programs such as
WordPerfect and WordStar were still mainly text-based and offered little in the way of page
layout, other than perhaps margins and line spacing. On the other hand, word processing
software was necessary for features like indexing and spell checking, features that are today
taken for granted.
As computers and operating systems have become more powerful, vendors have sought to
provide users with a single application platform that can meet all needs. Software such as
Open Office.org Writer and Microsoft Word offers advanced layouts and linking between
documents, and DTP applications have added in common word processor features.
Comparisons with other electronic layout
In modern usage, DTP is not generally said to include tools such as TeX or troff, though both
can easily be used on a modern desktop system and are standard with many Unix-like
operating systems and readily available for other systems. The key difference between
electronic typesetting software and DTP software is that DTP software is generally
interactive and WYSIWYG in design, while older electronic typesetting software tends to
operate in batch mode, requiring the user to enter the processing program's markup language
manually without a direct visualization of the finished product. The older style of typesetting
software occupies a substantial but shrinking niche in technical writing and textbook
publication; however, since much software in this genre is freely available, it can be more
cost-effective than the professionally-oriented DTP systems. It is also particularly suitable for
corporate newsletters or other applications where consistent, automated layout is important.
There is some overlap between desktop publishing and what is known as Hypermedia
publishing (i.e. Web design, Kiosk, CD-ROM). Many graphical HTML editors such as
Microsoft FrontPage and Adobe Dreamweaver use a layout engine similar to a DTP program.
However, some Web designers still prefer to write HTML without the assistance of a
WYSIWYG editor and resort to such software, if at all, solely for complex layout that cannot
easily be rendered in hand-written HTML code.
pg. 3
Drafting can be done in two dimensions ("2D") and three dimensions ("3D"). Drafting is the
integral communication of technical or engineering drawings and is the industrial arts subdiscipline that underlies all that is involved in technical endeavors. In representing complex,
three-dimensional objects in two-dimensional drawings, these objects have traditionally been
represented by three projected views at right angles.
Current CAD software packages range from 2D vector-based drafting systems to 3D solid
and surface modelers. Modern CAD packages can also frequently allow rotations in three
dimensions, allowing viewing of a designed object from any desired angle, even from the
inside looking out. Some CAD software is capable of dynamic mathematic modeling, in
which case it may be marketed as CADD computeraided design and drafting.
CAD is used in the design of tools and machinery used in the manufacture of components,
and in the drafting and design of all types of buildings, from small residential types (houses)
to the largest commercial and industrial structures (hospitals and factories).
CAD is mainly used for detailed engineering of 3D models and/or 2D drawings of physical
components, but it is also used throughout the engineering process from conceptual design
and layout of products, through strength and dynamic analysis of assemblies to definition of
manufacturing methods of components.
CAD has become an especially important technology within the scope of computer aided
technologies, with benefits such as lower product development costs and a greatly shortened
design cycle. CAD enables designers to lay out and develop work on screen, print it out and
save it for future editing, saving time on their drawings.
pg. 4
DATABASE
What is a Database?
A database is a collection of information that's related to a particular subject or purpose, such
as tracking customer orders or maintaining a music collection. If your database isn't stored on
a computer, or only parts of it are, you may be tracking information from a variety of sources
that you have to coordinate and organize yourself.
For example, suppose the phone numbers of your suppliers are stored in various locations: in
a card file containing supplier phone numbers, in product information files in a file cabinet,
and in a spreadsheet containing order information. If a supplier's phone number changes, you
might have to update that information in all three places. In a database, however, you only
have to update that information in one place the supplier's phone number is automatically
updated wherever you use it in the database.
Indeed a database is a collection of logically related data files which is integrated and
organized so as to provide s single comprehensive file system. Database system design is
concerned with the problem of organizing the database, accessing data on it, using it,
updating it and providing output (reports or responses to file interrogations) to a variety of
users; e. g. a students file, Marks file, Payments file. The Marks file will comprise records
of marks scored by the students.
pg. 5
Relational Database
A relational database is a powerful tool which can help you store and manage large amounts
of information of various kinds. Databases enable you to organize and reorganize
information, quickly and flexibly retrieve information, and print quite a variety of reports.
The beauty of a relational database system is that you can store related data in separate tables.
Then through defining relationships between the tables you can retrieve the information in
the tables to use for making queries and writing reports. The four main elements of a
relational database include
TABLES for storing data
FORMS for entering and viewing data on the screen
QUERIES for extracting specific information from the data (asking questions)
REPORTS for printing query results
Microsoft Access
Microsoft Access is a relational database product shipped with some of the more expensive
versions of Microsoft Office. It comes with an impressive list of features that make it
relatively easy for non-programmers to create little database-enabled applications.
Access databases are stored in files that use the .mdb extension (for Microsoft DataBase).
When the Access program is running, you will also see a temporary file with the same name
as the database but with the extension .ldb. You can safely ignore that file.
One thing you'll notice when you use Access is that you do not save the file as you might in
Word or Excel. Instead, every change made to the data in the database is saved immediately
(although changes to the objects in Access sometimes require you to click the Save icon).
Databases themselves are made up of files. To make the database, records made up
of fields are entered by the database owner or by people specially trained to do data
entry. Fields are discrete pieces of information, such as a name, a journal name or
publisher name. Fields are made up of types of data which limits the information
which can go into them. Fields may be text, an autonumber, a number, a date, a
memo and so on.
Data in the database can be sorted and the order of fields can be re-arranged without
affecting the actual data. Reports and labels can be generated through generating an
ordered list of fields and records.
One more important concept to keep in mind is that when you are creating a database, you
must strive for complete uniqueness. In other words, no data in your database should be
redundant. Redundant information lends itself to errors, plus it adds to the size of the
database unnecessarily and is hard to keep up to date.
pg. 6
Common Mistakes
A common mistake people make is to create one large table with all the fields in it. Use
Access to create many tables and the relationships between the tables. Another common
mistake is to create a table in which the same information is repeated in each table. For
example, you do not need to repeat the name of the person in each table. Use the
relationships between the person and any other information to link information in two tables
together. Remember not to repeat information and avoid redundant data. Do not type in
anything more than you have to.
General Questions to Ask Yourself Before You Begin
There are a number of questions you need to ask yourself before you start.
Why do I think I want a database? Does the information I have lend itself to fields and
records? (Most information lends itself to some kind of structure). What kind of data do I
have? What is the best way to organize it? (These questions help you define your tables).
If I need to enter data into a table, how can I simplify the process to make it as easy as
possible for someone to do data entry? (This question helps you define the forms you may
need).
When I have the data entered into the database, what kinds of questions do I think Ill want to
ask about it later on? (This question will help you define the queries and reports you will
want to make based on your data).
pg. 7
Relationships
Once you have built tables, you need some method of bring the information in the tables back
together. You need a relationship between the tables and those relationships need to be
defined. Once you get the relationships built, you can create queries, and forms and reports
from several tables at once.
Building relationships is frustrating even if you understand the theory of building entity
relationship diagrams. (We will not be covering the theory for this material). For those who
have not been trained in computer science, it can sometimes be a nightmare. As mentioned
elsewhere, I spend a good deal of my time gnashing my teeth, muttering under my breath,
and even crying tears of frustration as I try to figure out what the relationships are. (They are
as difficult as human relations and about as complex).
Microsoft Help says that a "relationship works by matching data in key fields, usually a field
with the same name in both tables. In most cases, these matching fields are the primary key
from one table, which provides a unique identifier for each record, and a foreign key in the
other table".
Types of Relationships
You can create several types of relationships between tables:
one to many
one to one
many to many
One to Many Relationship
A one-to-many relationship is the most common type of relationship. In a one-tomany
relationship, a record in Table A can have many matching records in Table B, but a record in
pg. 8
Table B has only one matching record in Table A. For example, one publisher can publish
many journals, but it's highly unlikely that a journal would have more than one publisher.
Simularly, one bindery could receive many volumes each year to be bound, but each volume
would only go to one bindery.
One to One Relationship
In a one-to-one relationship, each record in one table can have only one matching record in a
second table, and each record in the second table can have only one matching record in the
first table. This type of relationship is fairly uncommon, because most information related in
this way would be in one table. We do not have any examples of a one to one relationship in
our serials database.
Many to Many Relationship
In a many-to-many relationship, a record in one table (table 1) can have many matching
records in a second table (table 2), and a record in table 2 can have many matching records in
table 1. This type of relationship is only possible by defining a third table (called a junction
table) whose primary key consists of two fields - the foreign keys from both Tables 1 and 2.
A many-to-many relationship is really two one-to-many relationships with a third table.
We have one example of a many to many relationship in our serials database.
pg. 9
10
pg. 10
11
To open a different data set, click File, Open, Data. (It is also possible to open
some non-SPSS data files by this method, such as Excel, Stata, or SAS files.)
SPSS lets you have many data sets open simultaneously, and the data set that
you are currently working with, the active data set, is always marked with a
tiny red plus sign on the title bar. In order to avoid confusion it is usually a
good strategy to close out any Data Editors you're done using.
Output Viewer (.spv files)
As you ask SPSS to carry out various computations and other tasks, the results can show up
in a variety of places. New data values will show up in the Data Editor. Statistical results will
show up in the Output Viewer.
pg. 11
12
The Output Viewer shows you tables of statistical output and any graphs you
create. By default it also show you the programming language for the
commands that you issued (called syntax in SPSS jargon), and most error
messages will also appear here. The Output Viewer also allows you to edit
and print your results. The tables of the Output Viewer are saved (click File,
Save or Save As) with a file type of .spv, which can only be opened with
SPSS software.
As with Data Editors, it is possible to open more than one Output Viewer to
look at more than one output file. The active Viewer, marked with a tiny
blue plus sign, will receive the results of any commands that you issue. If you
close all the Output Viewers and then issue a new command, a fresh Output
Viewer is started.
Syntax Editor (.sps files)
If you are working with the SPSS programming language directly, you will also open a
Syntax Editor.
pg. 12
13
The Syntax Editor allows you to write, edit, and run commands in the SPSS
programming language. If you are also using the menus and dialog boxes, the
Paste button automatically writes the syntax for the command you have
specified into the active Syntax Editor. These files are saved as plain text and
almost any text editor can open them, but with a file extension of .sps.
As with the other types of windows, you can have more than one Syntax
Editor open and the active window is marked with a tiny orange plus sign.
When you paste syntax from dialog boxes, it goes to the active Syntax Editor.
If you close out all your Syntax Editors and then paste a command, a fresh
Syntax Editor is opened.
Issuing Commands
Unless you command SPSS to do something, it just sits there looking at you. In general
commands may be issued either through menus and dialog boxes that invoke the
programming language behind the scenes, or by typing the programming language in a
Syntax Editor and running the commands.
Dialog Boxes
Although each dialog box is unique, they have many common features. A fairly typical
example is the dialog box for producing frequency tables (tables with counts and percents).
To bring up this dialog box from the menus, click on Analyze, Descriptive Statistics,
Frequencies.
pg. 13
14
On the left is a variable selection list with all of the variables in your data set.
If your variables have variable labels, what you see is the beginning of the
variable label. To see the full label as well as the variable name [in square
brackets], hold your cursor over the label beginning. Select the variables you
want to analyze by clicking on them (you may have to scroll through the list).
Then click the arrow button to the right of the selection list, and the variables
are moved to the analysis list on the right. If you change your mind about a
variable, you can select it in the list on the right and then click the arrow
button to move it back out of the analysis list. On the far right of the dialog
are several buttons that lead to further dialog boxes with options for the
frequencies command. At the bottom of the dialog box, click OK to issue
your command to SPSS, or Paste to have the command written to a Syntax
Editor.
If you return to a dialog box you will find it opens with all the specifications
you last used. This can be handy if you are trying a number of variations on
your analysis, or if you are debugging something. If you'd prefer to start fresh
you can click the Reset button.
pg. 14
15
pg. 15
16
Data View
In the Data View, the data are laid out in the standard rectangular format for statistical
software. Each row represents a unit of observation, sometimes also referred to as a record
or in SPSS as a case. The case (observation) number in the leftmost column is assigned
automatically and is not saved as data. Each column represents a variable. All of the data in a
column must be of the same type, either numeric or string (also called character).
Each data cell holds a data value. If data are missing, they are displayed as a
period (.) or as a blank ( ). Data values may be displayed as either the
actual value or as a formatted value. For example, a data value about a
persons income might be 15000, while its formatted value might be shown
as $15,000. Formats can also take the form of value labels, for instance,
data recorded as 1s and 2s might be labeled as Male and Female. While
formatting makes it easier to interpret results, it is important to remember that
the data values are what SPSS actually processes. In particular, when you set
up a command that requires you to specify one or more data values, you use
values and not formatted values.
You can switch the Data View between formatted and unformatted data by
clicking on the Value Labels button on the Toolbar, the fourth button from the
right. You can also see the actual values for a given variable by clicking on it
and then looking at the bar just above the data. The box to the left indicates
the observation number and variable selected, e.g. 1:sex, while the center box
shows you the actual value, e.g. 2.
Data values can be edited or added by typing them directly into the Data
View. To enter data, type in the actual data value. However, aside from very
small data sets for class exercises, you should almost never need to do this.
Variable View
In the Variable View you can see and edit the information that defines each variable
(sometimes called meta-data) in your data set: each column of the Data View is described
by a row of the Variable View.
The first attribute of each variable is its Name. The variable name is how the
data column is identified in the programming language, and in order for the
programming language to work gracefully variable names have to abide by
certain restrictions: names must begin with a letter, and may be made up of
characters, numerals, non-punctuation characters, and the period.
Capitalization is ignored. Variable names may be up to 64 characters long.
Other restrictions may apply no coupons please. Variable names may be
added or changed simply by typing them in.
The basic variable types are either numeric or string. However, just to make
things confusing, SPSS allows you to select among several different standard
formats for displaying numeric data (e.g. scientific notation, comma
formatting, currencies) and calls it Type. You set the variable type by clicking
in the column, then clicking on the gray button that appears and working in a
dialog box.
The Label attribute allows you to give each variable a longer description that
is displayed in place of the variable name, analogous to value labels for data
pg. 16
17
values. The Values attribute allows you to create a list of value labels. Often
several variables will share a common set of value labels, and in this window
you can copy and paste value label sets. Variable labels are set by typing
them in, value labels work through a dialog box.
The Missing attribute is a place for you to designate certain data values that
you want SPSS to ignore when it calculates statistics. For instance, in survey
data it is common practice to record a data value of 8 when a respondent
says I dont know in response to a question, and you can have SPSS treat
the 8s in a variable as if they were missing data.
The other attributes, Width, Decimals, Columns, Align, Measure, and Role,
are minor settings related to data display. Although Measure (level of
measurement) is statistically a very important concept, it has little meaning
within the SPSS software.
When SPSS creates output (tables, syntax, error messages, etc.) it adds them
to the tables pane as objects, and each object is noted in the outline pane.
Individual objects may be opened and edited, deleted, hidden, rearranged, or
printed. To select an object to work with, you can either click on it in the
tables pane, or click on the corresponding entry in the outline pane. A red
arrow appears next to the object in both panes.
pg. 17
18
pg. 18
19
pg. 19
20
Running syntax. To have SPSS actually carry out your command(s), you
must run them. Click Run, and then one of the menu options. There is also
an icon on the Toolbar to run your program, a right-facing triangle. You can
run all the commands in the editor, or select a group of commands and run
just that (be careful that you highlight full commands, from the first keyword
through the final period). You can also run the current command, which is
whatever command the cursor is located within.
Pasting and running. From most dialog boxes you have the option of
pasting commands instead of simply running them. SPSS then writes the
command into a Syntax Editor. The syntax tends to be verbose, specifying
many options that are the defaults--syntax you write yourself tends to be
much shorter and simpler. After you have pasted a command, you still need
to run it to get any output.
pg. 20
21
Select one or more variables in the selection list on the left, and move them into the analysis
list on the right by clicking on the arrow in between. Then click OK.
Syntax:
frequencies variables = gender minority.
Output:
pg. 21
22
Note that this is one of the few instances where missing values (whether system missing . or
user designated missing) show up in the default output table (however, not in this particular
example).
Select one or more variables in the selection list on the left, and move them into the analysis
list on the right by clicking on the arrow in between. Then click OK.
Syntax:
descriptives variables=educ salary.
Output:
pg. 22
23
pg. 23
24
Syntax:
crosstabs
/tables=jobcat by minority
/cells=count row.
In this command syntax (and the next one, means), you see the key word by used to specify a
categorical variable that divides the data into groups.
Output:
pg. 24
25
Means by Group
Menu and Dialog Box:
Analyze -> Compare Means -> Means
Select the variable(s) that you want means of, and move it to the Dependent List. Select the
variable that divides the data into subsets (the grouping or by variable) and move it to the
Independent List. You may have more than one variable in either/both list, and SPSS
processes them in pairs and produces separate tables.
pg. 25
26
Syntax:
means tables=salary by minority.
Output:
pg. 26
27
Correlation
Menu and Dialog Box:
Analyze -> Correlate -> Bivariate
SPSS calculates bivariate correlations (the Pearsons r) for all pairs of variables in the list.
pg. 27
28
Syntax:
correlations /variables=educ salary prevexp.
Output:
pg. 28
29
T-tests
T-test can be used in a variety of ways, and SPSS gives you quick access to three of them
(univariate, grouped, and paired) through the Compare Means menu. They all access the
same t-test command.
Menu and Dialog Box:
Analyze -> Compare Means -> Independent-Samples T Test
When setting up an independent-samples (grouped) t-test, you not only specify the variable
being tested and the grouping variable, but you also have to specify which data values
represent the two groups you want compared (because in general the grouping variable might
have an arbitrary number of categories, not just two). Use the Define Groups button, and
type in the data values (not the value labels) that define the groups being compared.
If you type in an invalid data value for any of the groups, SPSS will not catch your mistake
until you actually run the command. You need to know what your data look like before you
get to this dialog box, because SPSS will not let you browse your data set while a dialog box
is open.
Syntax:
t-test groups=gender('f' 'm')
/variables=educ.
Output:
pg. 29
30
Chi-square Tests
Like t-tests, chi-square tests come up in a wide variety of circumstances, the most common of
which is assessing the independence of two variables in a contingency table (a crosstab). So
this chi-square test is specified as an option on a crosstab command.
Menu and Dialog Box:
Analyze -> Descriptive Statistics -> Crosstabs
pg. 30
31
In the main dialog box, click on the Statistics button, then select Chi-square and Continue
back to the main dialog box. Specify your variables and run.
Syntax:
crosstabs
/tables=jobcat by minority
pg. 31
32
/statistics=chisq
/cells=count row.
Output:
pg. 32
33
Syntax:
unianova salary by jobcat.
Output:
pg. 33
34
Regression
Menu and Dialog Box:
Analyze -> Regression -> Linear
pg. 34
35
Syntax:
regression
/dependent salary
/method=enter salbegin.
Output:
pg. 35
36
pg. 36