Professional Documents
Culture Documents
Computer System and Programming
Computer System and Programming
Computer System and Programming
Semester Project
Instructions:
Given below are some ideas that you can choose as your semester project. The semester project
can be done individually or in groups. The number of group members should be
proportional to the difficulty of the project.
If you have any other ideas for the project, then feel free to run it by Sir Jahan Zeb or me first.
The following two points are paramount for the project that you will submit:
a. The code should be well commented and indented.
b. Every member must have proper understanding of the code.
The submission deadline for the project is 3rd of February, 2017. At the time of submission,
there will be a demo of the project and a viva will be conducted alongside it. Project can also
be submitted beforehand if you complete it before the deadline.
1 2 3 4 5 21 22 23 24 25
6 7 8 9 10 20 7 8 9 10
11 12 13 14 15 19 6 1 2 11
16 17 18 19 20 18 5 4 3 12
21 22 23 24 25 17 16 15 14 13
Your program must be able both to encode and to decode messages by this method. A few
things to keep in mind are:
1. There is no defined length of the message.
2. File handling (i.e. saving the encoded message to a text file and reading an encoded
message from the text file) can be added to the project as an added bonus.
Project 2:
This game is very similar to the popular Battleship board game. The game starts with each of
two players placing 5 boats on their own 10x10 grid. Each boat must be placed either vertically
or horizontally on a grid and no boat can overlap another. The boats’ lengths and point values
are as follows:
Carrier – 5 units long, 1 unit wide, 1 point
Project 3:
Morse code is a sequence of dashes and dots that can be used to represent a message in English.
Each letter in a particular alphabet is represented by a unique pattern of dashes and dots in
Morse code. You can find more details about the Morse code on Wikipedia.
In this project, your job is to create a code that can convert an English string into Morse code.
Then you can either beep the message or flash it (using any graphics library).
Your code should also be able to convert Morse code into English text. (You may not be able
to do it directly. Look up Quinary Form of Morse Code.)
A few things to keep in mind are:
Project 4:
John loves to find words in a 2D puzzle of letters but isn’t very good at it. In this project, you
can write a programme that helps him do so.
The program starts with a 2D grid of 9x9 with randomly generated letters. Then John will type
in a letter to check whether it exists in the grid or not. As an example:
A F M B N D L O D
C F J K W I T C I
D F C O L L E G E
G K M R F D I B O
F C F L J I W Q C
F I A N C U O L F
Q R O T R B C M I
I L I E W Q T N X
S L A F J L I K E
Now, if the John enters CAT, then your program should be able to tell whether it exits in the
puzzle or not. Similarly, if COLLEGE is entered then the program should do the same.