Technology in Action: Chapter Topics
Technology in Action: Chapter Topics
Technology in Action: Chapter Topics
Technology
in Action Technology in Action
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
0% 0% 0% 0%
1 2 3 4
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 2 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 3
1 2 3 4 1 2
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
1
3/20/2013
1 2 3 4
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 7
1. Design
2. Analysis
3. Development and
Documentation
Each step must be 4. Revisions
completed before
you can progress to
the next step. 0% 0% 0% 0%
1 2 3 4
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 10 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 11
2
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 12 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 13
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 14 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 15
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 16 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 17
3
3/20/2013
1 2 3 4
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 18 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 19
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 20 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 21
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 22 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 23
4
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 24 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 25
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 26 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 27
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 28 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 29
5
3/20/2013
Error Handling: The input (Number of Hours Worked) must be a positive real number.
– Describe exactly what computer program
If it is a negative number or other non-acceptable character, the
program will force the user to re-enter the information. must do to complete task
Testing Plan: INPUT OUTPUT NOTES
– Use natural language
8 8*7.50 Testing positive input
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 30 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 31
Flowchart Pseudocode
Bold terms show actions that are common in
programming, such as reading data, making
decisions, printing, and so on.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 32 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 33
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 34 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 35
6
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 36 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 37
Generations of
Coding
Programming Languages
• Speaking the Language of the Computer
Level Generation Example
– Syntax
Low 1GL Machine • Agreed-upon set of rules of language used
2GL Assembly – Keywords
High 3GL FORTRAN, BASIC, C, Java • Set of words with predefined meanings
4GL SQL
– Data types
• Describe the kind of data being stored in memory
Natural 5GL PROLOG
– Operators
• Coding symbols that represent fundamental actions
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 38 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 39
0% 0% 0% 0%
1 2 3 4
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 41
7
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 44 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 45
1 2
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 47
8
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 48 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 49
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 50 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 51
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 52 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 53
9
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 54 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 55
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 56 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 57
10
3/20/2013
0% 0% 0% 0% 0% 0% 0% 0%
1 2 3 4 1 2 3 4
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 62 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
0% 0% 0% 0% 0% 0% 0% 0%
1 2 3 4 1 2 3 4
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 64 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
11
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 66 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 67
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 68 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 69
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 70 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 71
12
3/20/2013
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 72 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 73
13