-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
227 lines (203 loc) · 7.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Unit 4 Review Variables/Conditionals </title>
<link rel="icon" type="image/jpg" href="Favicon Small (1).jpg">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div class="banner">
<h1>Thomas A Edison Career and Technical Eduacation High School</h1>
<h1>Web Development</h1>
<h1>Unit 4</h1>
<h1>Review</h1>
<h1>01/06/2022</h1>
<h1>Done By: Jaunel Deans</h1>
<img id="logo" src="Fabviconbig.jpg">
</div>
<div>
<div class="menu">
Menu
<a href="VariablesMakeLesson.html">Variables Make</a>
<a href="ConditionalsMakeLesson.html">Conditionals Make</a>
<a href="FunctionsMakeLesson.html"> Functions Make</a>
<a href="PracticePT.html"> Practice PT</a>
</div>
</div>
<div class="container">
<div class="wave" id="l1">
Lesson 1: Variables Explore
<br>
Summary: In Lesson #1, we learned information is stored and processed by programs. We were taught the definition of some terms in Java. We were taught the difference between a string and a number and what is a variable. We were taught about assignment operators and how to use them.
<br>
Question:
<br>
<img class="Q1-2pics" src="Unit4Lesson1CFU.jpg" width="500px">
</div>
<div class="wave" id="l2">
Lesson 2: Variables Investigate
<br>
Summary: We investigate and modify sample apps in the App Lab that use variables and learn common programming patterns with variables.
<br>
CFU:
Explain in your own words the process of creating and updating a variable. How does the Counter Pattern with Event work?
<br>
<img class="Q1-2pics" src="notes.jpg">
<br>
The variable is updated when an on-event is performed during the counter-event pattern. The variable is named myVar with a value of 0. The following block of code states that myVar will equal the values in myVar plus the value of one. The initial value of myVar is 0, so 0 + 1 equals 0. Every time the code is run, the value in the variable will increase by one.
</div>
<div class="wave" id="l3">
Lesson 3: Variables Practice
<br>
Summary: In Lesson #3, we practiced programming and explored variables through a set of puzzles, debugging and apps.
<br>
<ol>
<li>
<img class="pics" src="Unit4Lesson3.5QCFU.jpg">
<br>
Answer: 6
</li>
<br>
<li>
<img class="pics" src="Unit4Lesson3.5QCFU.jpg">
<br>
Answer: 10,5,10,5
</li>
</ol>
</div>
<div class="wave" id="l4">
Lesson 4: Variables Make
<br>
Summary:In Lesson#4, we practice making and debugging an app that uses variables and programming patterns with variables.
<br>
CFU: We debugged and coded a Photo Liker App
<br>
<a href="VariablesMakeLesson.html">
<img class="Apppics" src="photoLikerApp.png">
</a>
</div>
<div class="wave" id="l5">
Lesson 5: Conditionals Explore
<br>
Summary: In Lesson #5, we discovered how computers make decisions. We defined terms such as boolean expressions, comparison operators, and logical operators. We made flowcharts simulating how a computer sees a boolean expression. We learned the symbols used for each type of operator and how to use them in a statement.
<br>
CFU: 1.
<br>
<table>
<tr>
<td>
<ol>
<li>Boolean Expression</li>
<br>
<li>Logical Operator</li>
<br>
<li>&&</li>
<br>
<li>||</li>
<br>
<li>!</li>
</ol>
</td>
<td>
<ol>
<li>An expression that produces a true or false statement when evaluated</li>
<br>
<li>A symbol or a word used to connect two or more expressions</li>
<br>
<li>AND</li>
<br>
<li>OR</li>
<br>
<li>NOT</li>
</ol>
</td>
</tr>
</table>
<br>
2. Can a computer evaluate an expression to something between true and false? Can you write an expression to deal with a "maybe" answer?
<br>
- The computer can evaluate an expression to something between true and false using the Boolean expression. The operation for the Boolean is the comparison operator. It tells you to stop and evaluate the Boolean value. A computer can't deal with a maybe answer.
</div>
<div class="wave" id="l6">
Lesson 6: Conditionals Investigate
<br>
Summary: We investigated and modified sample apps that use conditionals and learnt common programming patterns with conditionals.
<br>
CFU: When creating an if-else-if statement you should always make your first condition the most specific. Write a short paragraph responding to the questions below.
- What does it mean to put the most specific case first?
- Why is it important to put the most specific case first? What types of errors does it help avoid?
<br>
We start with the most specific case because it will assist determine how the other situations will be handled. Because the computer runs code from top to bottom and if the most selective element is somewhere other than the top, this would result in significant problems, it is crucial to start with the most specific scenario.
</div>
<div class="wave" id="l7">
Lesson 7: Conditionals Practice
<br>
Summary: In Lesson #7, we Practice programming with conditionals through a set of programming puzzles.
<br>
CFU:
<ol>
<li>
<img class="thepics" src="Unit4Lesson7.5QCFU.jpg">
<br>
Answer: "You Win!"
</li>
<br>
<li>
<img class="thepics" src="Unit4Lesson7.5-2QCFU.jpg">
<br>
Answer: 5
</li>
</ol>
</div>
<div class="wave" id="l8">
Lesson 8: Conditionals Make
<br>
Summary: We practiced making an app that uses conditionals and programming patterns with conditionals.
<br>
<a href="ConditionalsMakeLesson.html">
<img class="Apppics" src="muesemticketgenapp.jpg">
</a>
</div>
<div class="wave" id="l9">
Lesson 9: Functions Explore / Investigate
<br>
Summary: In Lesson#9 explored using functions to replace repeated code. Also we investigated and modified sample apps that use functions.
<br>
CFU: In your own words describe the benefits of creating functions in your code?
<br>
- Functions reduce the size of a program by calling and using the function at different places in the program. It creates neater and more accessible code so that debugging will be easier.
</div>
<div class="wave" id="l10">
Lesson 10: Functions Practice
<br>
Summary: In Lesson #10, we practiced programming with functions through a set of programming puzzles.
<br>
CFU:
<br>
<img class="thepics" src="Unit4Lesson10QCFU.jpg">
<br>
Answer: "School Day"
</div>
<div class="wave" id="l10">
Lesson 11: Functions Make
<br>
Summary: We practiced making an app that uses functions and programming patterns with functions.
<br>
<a href="FunctionsMakeLesson.html">
<img class="Apppics" src="quotmakerapp.jpg">
</a>
</div>
<div class="wave" id="l12-14">
Lesson 12,13,14
<br>
Summary: In Lessons 12 to 14 we desgined our own apps. The app is to make a choice and produce a result based off the conditions it was given.
<br>
<a href="PracticePT.html">
<img class="Apppics" src="Unit4AppPage1.png">
</a>
</div>
</div>
</body>
</html>