Programming Practice Questions (Homework) (Qs 6 & 7 added)
Downloaded: 22
Last edit: 05 November 2021
When complete this resource should include 10 classwork/homework exercises. I used them as revision in class, giving students 15 minutes to write the programs at the end of each lesson.
The content of each worksheet is listed below. Marking schemes are completed in Python and Visual Basic (please upload other marking schemes for other languages)
These take between 1 and 5 hours to create each. Should you wish to contribute to the time required they can be purchased for £2 or £3 each at: https://www.tes.com/teaching-resources/shop/snegreid Homeworks 1 to 5 now available as a bundle for £5.
Students are given a scenario and required to write a short program....
on paper (using pseudocode or a programming language of their choice). The program requires use of Input, Output, Calculation, Conditional (If) Statement and a Fixed Loop. Two additional theory questions cover Test Data and Input Validation.
on paper (using pseudocode or a programming language of their choice). The program requires use of Input, Output, Calculation, Conditional (If) Statement and a Conditional Loop. Two additional theory questions cover Test Data and Reasons for using Input Validation.
and two further additional bits of code on paper (using pseudocode or a programming language of their choice). The program requires use of Input, Output, Calculation(power, ^), Int function, Conditional (If) Statement and a Conditional Loop. One additional theory question cover Test Data (normal, extreme and exceptional).
on paper (using pseudocode or a programming language of their choice) from a supplied algorithm. The program requires use of Input, Output, Calculation, Fixed Loop and Arrays. Two additional theory questions cover Data Types and Order of Code.
on paper (using pseudocode or a programming language of their choice). The program requires use of Input, Output, Conditional & Fixed Loops, Conditional (if) Statement, Arrays and the Len Function. Four additional theory questions cover Test Data, Reasons for Variable Use and Logic Problems with the Design.
From 6 onwards programs increase in complexity usings procedures, functions, parameter passing, arrays of records, file handling and more complex standard algorithms.
on paper (using pseudocode or a programming language of their choice). The program requires use of Functions, Procedures, Parameter Passing (value and reference), Opening Link to a Text File, Algorithm – Find Maximum, Array of Records and Logic Errors. Working program solutions are supplied in VB and Python.
on paper (using pseudocode or a programming language of their choice). The program requires use of Functions, Procedures, Parameter Passing (value and reference), Reading Data From a Text File, Algorithm – Linear Search, Array of Records. Working program solutions are supplied in VB and Python.
Level: (Beginner / Intermediate)
Duration: (1 lesson per worksheet)
Teaches: (programming structures and theory)