Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Software

Similar presentations


Presentation on theme: "Introduction to Software"— Presentation transcript:

1 Introduction to Software

2 Software What is software?

3 Software What is software?
Anyone remember our definition of a computer from yesterday?

4 Software What is software?
Anyone remember our definition of a computer from yesterday? A programmable machine that inputs, outputs, and manipulates data/information according to a list of instructions.

5 Software What is software?
Anyone remember our definition of a computer from yesterday? A programmable machine that inputs, outputs, and manipulates data/information according to a list of instructions.

6 Software What is software?
Anyone remember our definition of a computer from yesterday? A programmable machine that inputs, outputs, and manipulates data/information according to a list of instructions. Software is the list of instructions that tells a computer what to do.

7 Software Examples of software:

8 Software Examples of software: MS Word

9 Software Examples of software: MS Word The games you play

10 Software Examples of software: MS Word The games you play
Facebook, Twitter, Skype

11 Software Examples of software: MS Word The games you play
Facebook, Twitter, Skype Web browsers: Internet Explorer, Firefox, etc.

12 Software Examples of software: MS Word The games you play
Facebook, Twitter, Skype Web browsers: Internet Explorer, Firefox, etc.

13 Software What does software look like?

14 Actual Code From Counter-Strike
// Out of ammo? if ( m_iClip1 <= 0 ) { if (m_bFireOnEmpty) PlayEmptySound(); m_flNextPrimaryAttack = gpGlobals->curtime + 0.2; } return false; SendWeaponAnim( ACT_VM_PRIMARYATTACK ); m_iClip1--; // player "shoot" animation pPlayer->SetAnimation( PLAYER_ATTACK1 );

15 Software It’s all Greek to me!

16 Software It’s all Greek to me!
How does the computer understand this stuff?

17 Software It’s all Greek to me!
How does the computer understand this stuff? You have to translate it for the computer.

18 Software It’s all Greek to me!
How does the computer understand this stuff? You have to translate it for the computer. So…what language does the computer understand?

19 Software Remember that analog/digital stuff from yesterday?

20 Software Remember that analog/digital stuff from yesterday?
The computer understands a digital language.

21 Software Remember that analog/digital stuff from yesterday?
The computer understands a digital language. It is a language of 1’s and 0’s…

22 Software Remember that analog/digital stuff from yesterday?
The computer understands a digital language. It is a language of 1’s and 0’s… The 1’s are a “high” voltage (+5VDC) in circuit boards.

23 Software Remember that analog/digital stuff from yesterday?
The computer understands a digital language. It is a language of 1’s and 0’s… The 1’s are a “high” voltage (+5VDC) in circuit boards. The 0’s are a “low” voltage (0VDC) in circuit boards.

24 A Digression…

25 A Digression – Number Systems
What number system do we count in?

26 A Digression – Number Systems
What number system do we count in? Decimal (base 10)

27 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9

28 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10.

29 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: 9173

30 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

31 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

32 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

33 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

34 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

35 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

36 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

37 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

38 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

39 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

40 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

41 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

42 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

43 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

44 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

45 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

46 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

47 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

48 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

49 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

50 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

51 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

52 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

53 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

54 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

55 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

56 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

57 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = =

58 A Digression – Number Systems
What number system do we count in? Decimal (base 10): digits 0-9, place value in powers of 10. For example: = 9 x x x x 100 = 9 x x x x 1 = = = =

59 Number Systems What other number systems are there?

60 Number Systems What other number systems are there? Binary (base 2)

61 Number Systems What other number systems are there? Binary (base 2)
Hexadecimal (base 16) – also called hex

62 Number Systems Binary (base 2)

63 Number Systems Binary (base 2): digits 0 & 1

64 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2

65 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 0101

66 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2

67 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2

68 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = x 20

69 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = x 20

70 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = x x 20

71 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = x x 20

72 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = x x x 20

73 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = x x x 20

74 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20

75 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20

76 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

77 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

78 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

79 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

80 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

81 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

82 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

83 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

84 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1

85 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1 =

86 Number Systems Binary (base 2): digits 0 & 1, digit place value is a power of 2 = 0 x x x x 20 = 0 x x x x 1 = = 5

87 Number Systems Hexadecimal (base 16)

88 Number Systems Hexadecimal (base 16): digits 0-F

89 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16

90 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15)

91 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) 0xA31C

92 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C

93 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = C x 160

94 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = C x 160

95 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = x C x 160

96 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = x C x 160

97 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = x x C x 160

98 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = x x C x 160

99 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160

100 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160

101 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160

102 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160

103 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

104 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

105 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

106 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

107 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

108 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

109 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

110 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

111 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1

112 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1 = 40,

113 Number Systems Hexadecimal (base 16): digits 0-F, digit place value is a power of 16 Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F (A=10, B=11…F=15) A C = A x x x C x 160 = 10 x x x x 160 = 10 x x x x 1 = 40, = 41, 756 (base 10)

114 Number Systems So, who cares about this binary or hex stuff???
RGB: 24 bit color (True Color)

115 Number Systems So, who cares about this binary or hex stuff???
RGB: 24 bit color (True Color)

116 Number Systems So, who cares about this binary or hex stuff???
RGB: 24 bit color (True Color)

117 Number Systems So, who cares about this binary or hex stuff???
RGB: 24 bit color (True Color) Web authoring commonly expresses color as 24 bit RGB using hex

118 Software We write software in a programming language.

119 Software We write software in a programming language.
Translating this programming language into machine language is called compiling.

120 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit

121 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code)

122 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run

123 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run, run

124 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run, run, run, …

125 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run, run, run, … Another way is called interpreting.

126 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run, run, run, … Another way is called interpreting. Edit

127 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run, run, run, … Another way is called interpreting. Edit, run (translate each line of code as you get to it)

128 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run, run, run, … Another way is called interpreting. Edit, run (translate each line of code as you get to it), run (translate each line of code as you get to it)

129 Software We write software in a programming language.
Translating this programming language into machine language is called compiling. Edit, compile (full translation, every last bit of code), run, run, run, … Another way is called interpreting. Edit, run (translate each line of code as you get to it), run (translate each line of code as you get to it), run (translate each line of code as you get to it), ...

130 Programming Languages

131 Programming Languages
Compiled

132 Programming Languages
Compiled Higher performance

133 Programming Languages
Compiled Higher performance Very comprehensive

134 Programming Languages
Compiled Higher performance Very comprehensive “Hardcore” coding

135 Programming Languages
Compiled Higher performance Very comprehensive “Hardcore” coding Assembly Language

136 Programming Languages
Compiled Higher performance Very comprehensive “Hardcore” coding Assembly Language Basic

137 Programming Languages
Compiled Higher performance Very comprehensive “Hardcore” coding Assembly Language Basic Fortran, and Pascal

138 Programming Languages
Compiled Higher performance Very comprehensive “Hardcore” coding Assembly Language Basic Fortran, and Pascal C, and C++

139 Programming Languages
Compiled Higher performance Very comprehensive “Hardcore” coding Assembly Language Basic Fortran, and Pascal C, and C++ Java

140 Programming Languages
Compiled Higher performance Very comprehensive “Hardcore” coding Assembly Language Basic Fortran, and Pascal C, and C++ Java C#

141 Scripting Languages

142 Scripting Languages Interpreted

143 Scripting Languages Interpreted Lower performance

144 Scripting Languages Interpreted Lower performance
Very high level language

145 Scripting Languages Interpreted Lower performance
Very high level language Rapid prototyping

146 Scripting Languages Interpreted Lower performance
Very high level language Rapid prototyping Perl

147 Scripting Languages Interpreted Lower performance
Very high level language Rapid prototyping Perl Python

148 Scripting Languages Interpreted Lower performance
Very high level language Rapid prototyping Perl Python SQL

149 Scripting Languages Interpreted Lower performance
Very high level language Rapid prototyping Perl Python SQL JavaScript

150 Scripting Languages Interpreted Lower performance
Very high level language Rapid prototyping Perl Python SQL JavaScript VBScript

151 Web/Markup Languages

152 Web/Markup Languages Primarily concerned with formatting text, pictures, etc. on the screen.

153 Web/Markup Languages Primarily concerned with formatting text, pictures, etc. on the screen. Html – Hypertext Markup Lang

154 Web/Markup Languages Primarily concerned with formatting text, pictures, etc. on the screen. Html – Hypertext Markup Lang Xml – eXtensible Markup Lang

155 Web/Markup Languages Primarily concerned with formatting text, pictures, etc. on the screen. Html – Hypertext Markup Lang Xml – eXtensible Markup Lang CSS – Cascading Style Sheets

156 Web/Markup Languages Primarily concerned with formatting text, pictures, etc. on the screen. Html – Hypertext Markup Lang Xml – eXtensible Markup Lang CSS – Cascading Style Sheets ASP – Active Server Pages

157 Web/Markup Languages Primarily concerned with formatting text, pictures, etc. on the screen. Html – Hypertext Markup Lang Xml – eXtensible Markup Lang CSS – Cascading Style Sheets ASP – Active Server Pages PHP – Hypertext Preprocessor

158 Designing Software Have you ever looked at something and wondered how it works?

159 Designing Software Have you ever looked at something and wondered how it works? You are trying to figure out its “algorithm.”

160 Designing Software Have you ever looked at something and wondered how it works? You are trying to figure out its “algorithm.” To write software, you need to come up with its algorithm.

161 Assignment

162 Assignment Find something at home about which you’ve wondered how it works…

163 Assignment Find something at home about which you’ve wondered how it works… Spend 15 minutes thinking about it, trying to figure its algorithm out.

164 Assignment Find something at home about which you’ve wondered how it works… Spend 15 minutes thinking about it, trying to figure its algorithm out. Next, go to and look your item up…

165 Assignment Find something at home about which you’ve wondered how it works… Spend 15 minutes thinking about it, trying to figure its algorithm out. Next, go to and look your item up… See how close you were!

166 Assignment Find something at home about which you’ve wondered how it works… Spend 15 minutes thinking about it, trying to figure its algorithm out. Next, go to and look your item up… See how close you were! Be prepared to share what you found tomorrow in class!

167 Clear and Unclear Windows


Download ppt "Introduction to Software"

Similar presentations


Ads by Google