-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathy11.html
More file actions
275 lines (225 loc) · 12.8 KB
/
y11.html
File metadata and controls
275 lines (225 loc) · 12.8 KB
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<!DOCTYPE html>
<html lang="en">
<!-- Next add HTML stylesheet in the header for adding CSS elements -->
<head>
<title>GCSE Year 11 - NativeCS</title>
<link rel=“icon” href=”/images/favicon.ico” type=“image/x-icon”>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
font-family: Arial, Helvetica, sans-serif;
overflow: scroll;
position: absolute;
overflow-x: hidden;
width: 100%;
.topnav {
overflow: hidden;
background-color: #483d8b;
display: flex;
justify-content: center;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #ff6600;
color: white;
}
.dropdown {
float: left;
overflow: hidden;
}
.dropdown .dropbtn {
font-size: 17px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
.navbar a:hover, .dropdown:hover .dropbtn {
background-color: #ff6600;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 999;
}
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
}
}
.header {
padding: 150px; /* some padding */
text-align: center; /* center the text */
background-image: url("images/banner-year11.png");
background-position:bottom;
color: white; /* white text color */
}
/* Increase the font size of the <h1> element */
.header h1 {
font-size: 40px;
}
.footer {
font-size: 12px;
position:sticky;
left: 0;
bottom: 0;
width: 100%;
background-color: black;
color: white;
text-align: center;
left: 0;
bottom: 0;
overflow: hidden;
opacity: 0.9;
}
a:link {
color: inherit;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: yellow;
background-color: transparent;
font-weight: bold;
}
a:visited {
color: white;
}
div.page-content {
width: 100%;
max-width: 95%;
flex-wrap: wrap;
justify-content: center;
margin-left: auto;
margin-right: auto;
padding-top: 30px;
}
div.page-content-1 {
width: 100%;
max-width: 95%;
flex-wrap: wrap;
justify-content: center;
margin-left: auto;
margin-right: auto;
padding-top: 30px;
}
.image {
display: block;
margin-left: auto;
margin-right: 30px;
margin-top: auto;
}
div.page-content-2 {
width: 100%;
max-width: 95%;
flex-wrap: wrap;
justify-content: center;
margin-left: auto;
margin-right: auto;
padding-top: 30px;
}
</style>
</head>
<!-- Stylesheet should be included in the header section -->
<body>
<div class="header">
</div>
<div class="topnav">
<a href="index.html">Home</a>
<a href="about.html">About</a>
<div class ="dropdown">
<button class="dropbtn">KS3</button>
<div class="dropdown-content">
<a href="y7.html">Year 7</a>
<a href="y8.html">Year 8</a>
<a href="y9.html">Year 9</a>
</div>
</div>
<div class ="dropdown">
<button class="dropbtn">GCSE</button>
<div class="dropdown-content">
<a href="y10.html">Year 10</a>
<a href="y11.html">Year 11</a>
</div>
</div>
<div class ="dropdown">
<button class="dropbtn">Programming</button>
<div class="dropdown-content">
<a href="python.html">Python</a>
<a href="html.html">HTML</a>
<a href="css.html">CSS</a>
<a href="js.html">JavaScript</a>
</div>
</div>
<a href="ai.html">AI</a>
<a href="resources.html">Resources</a>
</div>
<div class ="page-content">
<center><h2>J277- GCSE Year 11 (OCR)</h2></center>
<p><img src="images/y11-float.png" width="300px" height="300px" style="float:left" padding-right="30" class="image">
<p>In Year 11, the primary focus in on part 2 component of the paper: Programming and Algorithms. Students are expected to learn the following concepts:</p>
<strong><h3>2.1 Algorithms</h3></strong>
<p><strong>Computational Thinking: </strong>Computational thinking principles encompass various strategies crucial for problem-solving in computer science. These include abstraction, decomposition, and algorithmic thinking, which aid in breaking down complex problems into manageable components and devising effective solutions. In the process of designing, creating, and refining problems, it's essential to identify inputs, processes, and outputs, employing structured diagrams to visualize problem structures. Furthermore, algorithms are created, refined, and corrected using methods like pseudocode, flowcharts, and high-level programming languages, allowing for precise and systematic problem-solving. Common errors are identified and rectified through techniques such as trace tables, enhancing algorithm accuracy and efficiency.</p>
<p><strong>Types of Algorithms: </strong>In the realm of searching and sorting algorithms, various standard methods are employed to organize and retrieve data efficiently. Standard searching algorithms like binary and linear search enable the systematic retrieval of information from datasets, catering to different search requirements. Similarly, standard sorting algorithms including bubble sort, merge sort, and insertion sort facilitate the organization of data into desired sequences, each offering unique advantages in terms of efficiency and scalability. Mastery of these algorithms equips computer scientists with powerful tools for navigating and manipulating data effectively, optimizing computational processes across diverse applications.</p>
<strong><h3>2.2 Programming Techniques</h3></strong>
<p><strong>Programming Basics and Data Types: </strong>Utilising variables, constants, operators, inputs, outputs, and assignments forms the foundational aspects of programming, facilitating data manipulation and computation within software systems. Moreover, mastering the three fundamental programming constructs—sequence, selection, and iteration—empowers programmers to control the flow of their programs efficiently. Sequence dictates the linear execution of commands, while selection enables conditional branching based on logical evaluations, and iteration, encompassing count- and condition-controlled loops, facilitates repetitive tasks execution. Understanding and effectively implementing these constructs are essential for developing structured and functional programs.</p>
<p><strong>Additional Programming Techniques and SQL: </strong>Furthermore, comprehending various data types such as integer, real, boolean, character, and string, along with techniques like casting, enhances the versatility and robustness of programming solutions. Employing basic string manipulation and file handling operations—including opening, reading, writing, and closing files—enables efficient data processing and management. Leveraging records for data storage and utilizing SQL for data retrieval are additional programming techniques vital for effective data handling. Moreover, the utilization of arrays, both one-dimensional (1D) and two-dimensional (2D), aids in organizing and accessing data efficiently. Lastly, mastering subprograms like functions and procedures facilitates the development of structured and modular code, while understanding random number generation enables the creation of dynamic and unpredictable program behaviours.</p>
<strong><h3>2.3 Producing Robust Programs</h3></strong>
<p><strong>Defensive Design: </strong>Involves planning and implementing strategies to ensure software operates correctly and securely under various conditions, including potential misuse. Key considerations include anticipating how users might misuse the system, implementing authentication to verify user identities, and validating inputs to prevent incorrect or harmful data from entering the system. Maintainability is also crucial; this involves writing clear and organized code using subprograms, following consistent naming conventions, applying proper indentation, and adding comments to make the code easier to understand and modify in the future.</p>
<p><strong>Testing: </strong>This is essential for verifying that software functions correctly and efficiently. It includes various types of testing, such as iterative testing, which is conducted throughout the development process, and final or terminal testing, which occurs after development is complete. Testing aims to identify and fix syntax and logic errors. Effective testing involves selecting suitable test data, including normal data for expected input ranges, boundary data for edge cases, and invalid or erroneous data to test the system's robustness. Refining algorithms through rigorous testing ensures they perform accurately and efficiently under all anticipated conditions.</p>
<strong><h3>2.4 Boolean Logic</h3></strong>
<p>Boolean logic involves creating simple logic diagrams using the operators AND, OR, and NOT, and representing these operations with truth tables. It includes combining these Boolean operators to form more complex expressions and using truth tables to solve logical problems by applying these operators systematically.</p>
<strong><h3>2.5 Programming languages and IDEs</h3></strong>
<p><strong>Low and High Levels: </strong>Programming languages vary in their characteristics and purposes, with distinctions between high-level and low-level languages. High-level languages, like Python and Java, are designed to be easy for humans to read and write, featuring strong abstraction from machine language. In contrast, low-level languages, such as assembly language, provide closer control over hardware and are more challenging to learn and use. Translators, including compilers and interpreters, are crucial for converting high-level code into machine-readable instructions. Compilers translate the entire program at once, generating an executable file, while interpreters translate and execute code line-by-line, facilitating easier debugging.</p>
<p><strong>IDE: </strong>An Integrated Development Environment (IDE) is a comprehensive software suite that provides tools and facilities to assist in software development. Common features of an IDE include editors for writing and modifying code, error diagnostics to identify and help correct coding errors, and a run-time environment for testing and executing programs. Additionally, IDEs often include built-in translators, such as compilers and interpreters, to streamline the coding process by enabling quick translation and execution of code within the same environment.</p>
</div>
</body>
<div class ="footer">
<p>© 2024-5 | Joshua Levy | <a href="https://nativecs.uk" target="_blank">Native CS UK</a> | <a href="https://github.com/nativeCS" target="_blank">GitHub</a> | <a href="https://replit.com/@nativecomputinguk" target="_blank">Replit</a> | <a href="https://www.credly.com/users/joshualevy23/badges" target="_blank">Teach Computing<a> | <a href="https://dev.to/joshualevy84/" target="_blank">.DEV</a> | <a href="https://app.datacamp.com/profile/joshualevy84" target="_blank">Datacamp</a> | <a href="https://nativenglish.uk" target="_blank">Native English UK</a></p>
<a href="https://www.w3.org/WAI/WCAG2A-Conformance"
title="Explanation of WCAG 2 Level A Conformance">
<img height="32" width="88"
src="https://www.w3.org/WAI/WCAG22/wcag2.2A"
alt="Level A conformance,
W3C WAI Web Content Accessibility Guidelines 2.2">
<a href="http://www.w3.org/html/logo/">
<img src="https://www.w3.org/html/logo/badge/html5-badge-h-css3-graphics-semantics.png" width="100" height="32" alt="HTML5 Powered with CSS3 / Styling, Graphics, 3D & Effects, and Semantics" title="HTML5 Powered with CSS3 / Styling, Graphics, 3D & Effects, and Semantics"> <p xmlns:cc="http://creativecommons.org/ns#" >This work is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY-NC-SA 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/nc.svg?ref=chooser-v1" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg?ref=chooser-v1" alt=""></a></p>
</a>
</div>
</html>