Students need to find and fix logic and syntax errors in 4 pseudocode style programs. For each one, they have to provide the line number for the logic/syntax error, an explanation and a fixed version. Activity mirrored on GCSE style questions with challenging algorithms in use. A reference sheet at the back explains what syntax and logic errors are with examples. Answers are included. File formats provided are PDF and DOC.
Note: Mistake on Extension task and Help sheet now fixed. Please download again to get the corrected version.
Student friendly workbook (with hints) asking them to write pseudocode for 12 programming problems. Scaffolded as per below:
Sequence (Easy - first 3 challenges)
Selection (Moderate - next 3 challenges)
Iteration (Hard - next 3 challenges)
Extension (final 3 challenges including functions, div/mod and string manipulation)
This workbook should take students 1-2 hours to complete. Answers are included. Files are in PPT and PDF.
Any errors, please contact me and I can send corrected copy to you.
Feedback welcome.
2 x programming starters for Python: “predict the output” and “spot the error”. Covers sequences and data types. Ideal for recapping early Python lessons. Answers provided. DOC and PDF files included for each starter.
Help students win at pseudocode with these low stakes and student friendly starters, plenary or homework activities.
RESOURCE 1:
The pseudocode fill in the blanks activity helps students become familiar with pseudocode by having to complete 3 pseudocode programs. The activity includes use of IF statements, FOR loops and WHILE loops. Ideal for a starter, plenary or homework. Answers included. DOC and PDF file formats provided.
RESOURCE 2:
The pseudocode matching activity helps students become familiar with pseudocode by asking them to match pseudocode programs to their purposes (or explaining them if higher ability). This activity includes use of IF statements, FOR loops, WHILE loops, STRING manipulation, FUNCTIONS and ARRAYS. Lower ability students can do the matching activity and higher ability can provide the purpose rather than match. Files for both included as well as answers. DOC and PDF file formats provided.
RESOURCE 3:
The pseudocode loops / iteration activity helps students become proficient with loops by asking them to identify infinite loops as well as providing loop counts for non-infinite loops. Includes a question on nested loops as a challenge. Answers included. DOC and PDF file formats provided.
Help students become familiar with pseudocode by asking them to fill in the blanks for 3 pseudocode programs. This activity includes use of IF statements, FOR loops and WHILE loops. Ideal for a starter, plenary or homework. Answers included. DOC and PDF file formats provided.
Help students win at pseudocode with these low stakes and student friendly starters, plenary or homework activities.
RESOURCE 1:
The pseudocode fill in the blanks activity helps students become familiar with pseudocode by having to complete 3 pseudocode programs. The activity includes use of IF statements, FOR loops and WHILE loops. Ideal for a starter, plenary or homework. Answers included. DOC and PDF file formats provided.
RESOURCE 2:
The pseudocode matching activity helps students become familiar with pseudocode by asking them to match pseudocode programs to their purposes (or explaining them if higher ability). This activity includes use of IF statements, FOR loops, WHILE loops, STRING manipulation, FUNCTIONS and ARRAYS. Lower ability students can do the matching activity and higher ability can provide the purpose rather than match. Files for both included as well as answers. DOC and PDF file formats provided.
Help students become proficient with iteration / loops and pseudocode by asking them to identify infinite loops as well as providing loop counts for non-infinite loops. Includes a question on nested loops as a challenge. Ideal for a starter, plenary or homework. Answers included. DOC and PDF file formats provided.
A well illustrated step-by-step resource showing students how to create a 4-bit binary converter in Scratch with an explanation of the algorithm and extension activity. Key blocks to use are shown along with starter code for students to build on.
Ideal for 1 lesson (approx. 45 minutes). Extension will require longer.
Steps covered:
create backdrop
setup variables
layout stage
ask for input and initialise variables
write program for 8s column
write program for 4s column
write program for 2s and 1s column
Resource assumes students can navigate their way around Scratch and know the main functionality of it (using blocks, editing backdrops, sprites etc.).
Help students become familiar with pseudocode by asking them to match pseudocode programs to their purposes (or explaining them if higher ability). This activity includes use of IF statements, FOR loops, WHILE loops, STRING manipulation, FUNCTIONS and ARRAYS. Lower ability students can do the matching activity and higher ability can provide the purpose rather than match. Files for both included as well as answers. DOC and PDF file formats provided.