Download presentation
Presentation is loading. Please wait.
Published byAugustine Bradford Modified over 9 years ago
1
Copyright © 2012 Pearson Education, Inc. Chapter 2 Beginning Problem-Solving Concepts for the Computer Problem Solving and Programming Concepts 9 th Edition By Maureen Sprankle and Jim Hubbard
2
Constants and Variables Data Types How the Computer Stores Data Functions Operators Expressions and EquationsBullet, etc 0- 2
3
1. Differentiate between variables, constants. 2. Differentiate between character, numeric, and logical data types. 3. Identify operators, operands, resultants. 0- 3
4
5. Identify, use functions 6. Identify, use operators according to placement in hierarchy chart. 7. Set up, evaluate expressions and equations using variables, constants, operators, and the hierarchy of operations. 0- 4
5
0- 5
6
0- 6
7
0- 7
8
1. Name a variable according to what it represents. 2. Do not use spaces. 3. Start a variable name with a letter. 4. Do not use a dash or any other symbol that is used as a mathematical operator. 0- 8
9
5. Consistent usage of variable name. 6. Consistent use of upper, lowercase characters in variable names 7. Use naming convention specified by your company 0- 9
10
0- 10
11
0- 11
12
0- 12
13
0- 13
14
0- 14
15
0- 15
16
0- 16
17
0- 17
18
0- 18
19
0- 19
20
0- 20
21
0- 21
22
0- 22
23
0- 23
24
0- 24
25
0- 25
26
0- 26
27
0- 27
28
0- 28
29
0- 29
30
0- 30
31
One unknown—A. Two combinations: A can be either True or False. 0- 31
32
Two unknowns—A and B. Four combinations: B can be either True or False for each value of A.. 0- 32
33
Three unknowns—A, B, and C. Eight combinations. 0- 33
34
0- 34
35
Copyright © 2012 Pearson Education, Inc. Chapter 2 Beginning Problem-Solving Concepts for the Computer End Chapter 2
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.