Starting from:

$25

VE280 - Project 2  Solved

Programming & Elem. Data Structures 

1. Hardworking Guy with a Touching Fish Heart... 
Last year, you took an internship at SilverFOCS Inc., making web games in their game department. Life was busy but quite interesting there. 
"Why not try a new company this year?" 
Finding an internship was not easy for a full-time internationally-educated student in SJTU. Least working hours should not be too many. The company should not be too far. Anyway, you made it, with an internship in this Junior Involution Information & Technology Inc. 
The first day of your work... 
The time you arrived at the office, the boss was busy playing with his son, running here and there. Your mentor was shouting at some of your co-workers. He stopped to send you an internal link, "Choose one to work on. I will go back to you later.", then continued on his intense meeting. 
You quickly skimmed through the task lists. Most of them were done, with three uncompleted tasks left. 

Write a simulation of an animal world Work on a project named Simple Twitter Write a chat bot for internal chat application 
The simulation of animal world is for your boss 7-year-old naughty boy. You know, kids are energetic and curious about the world. Outside your office, this happy father and his son were still enjoying themselves in a warm, sunny morning. 
You thought that Simple Twitter was something like Twitter, but it turns out not to be. The database of Simple Twitter is based on plain texts. You see a lot of files in a mess in the file tree. The project leader is your tough angry mentor over there. And your co-worker never backup the database. They just lost all their data this morning. "No wonder my mentor was so mad now..." 
As for the chat bot...The chat application is based on C++, and it also uses plain texts as its database. "Hard to make a choice..." At the same time, your friend was playing happily with the repeater bot in Class of 2019 QQ Chat Group. That inspired you. You got some ideas and then started to work on the chat bot. 
2. The Bot 
The main task of the bot is to keep waiting for chat messages, receive one, parse it and return a response or do nothing (Fig. 1). 

More products