Professional Documents
Culture Documents
EE1PSC Coursework 22 23
EE1PSC Coursework 22 23
EE1PSC Coursework 22 23
Coursework
Introduction
This coursework problem set is to assess you on the skills of writing and debugging small
program; ability to take a description of a problem and map it into something computational;
and demonstrate an understanding of the basics of programming and the concepts central
This coursework is worth 60% of the final mark, but it will be followed by a short interview
after it has been marked. To pass the coursework, you must pass the interview.
You will have to design and write Python programs, test them, and submit them on
Blackboard. Be sure to read this problem thoroughly, especially the sections of Collaboration
Collaboration
You may work with other students to assist in learning. However, each student must develop
and submit their assignment separately. For further detail, please review the collaboration
Submission Procedure
1. Save your codes in the files names as specified in the problems’ description (e.g.
2. Submit a single zip file with all programs. Name of zip file should contain your
Grading criteria:
The marking criteria and % of maximum mark that can be awarded are as follows.
Criteria /5
2
code but the whole task has major errors)
1
algorithm is wrong)
Make sure your programs are well designed with plenty of comments. (2 marks will be
Tasks
Task 1. Circuit. [10 marks] For a given circuit, the base current IB
logarithmic scale (ln(IB) versus VBE). You will need to read data from the file as
part of your implemented code. Don’t forget to add labels to the axes.
[5 marks]
Find and display the corresponding values of m and IBS rounded to 2 d.p.
(Hint: you can use the formula from EE1EMA tutorial question for week 3).
[5 marks]
Task 2. Voting [10 marks]. A board of directors consists of three members, each of
which has a two-way switch marked ‘yes’/’no’. When votes are taken, a lamp comes
on if the ‘yes’ votes are in the majority. The circuit that implements the turning on of
L = a & (b | c) | b & c
“The current number plate system in Great Britain has been around since September
here.
The two numbers are called the ‘age identifier’, which tells
you in which year’s six-month period (spring or autumn) the car was first registered.
The spring codes are easy to remember as they follow the year of registration (e.g
registered in spring 2022 will correspond to 22, in spring 2005 will correspond to 05).
For cars registered in autumn, the numeric code equals the year plus 50. (e.g. a car
https://www.thecarexpert.co.uk/how-does-the-uk-number-plate-system-work/
EE1PSC 2022/23
check_plate that returns False if any of the following isn’t true: the number
contains two first letters followed by two digits, a space character and by three
If the number plate fails the initial check, an error message is displayed (as
below). Otherwise, the program finds out and displays the season and the
year the car was manufactured/registered (for the cars with the age identifier
Task 4. Rhombus [5 marks] Write a program that asks the user to provide an
integer number and then displays a rhombus made of numbers starting from 1 like in
examples below: