Ritsu

Ritsu (律, Ritsu), full name Autonomously Thinking Fixed Artillery (自律思考固定砲台, Jiritsu shikō kotei hōdai), is a student in Korosensei's class 3-E of Kunugigaoka Junior High School, an AI and the first of two official transfer students of class 3-E.

Appearance
Ritsu's main body is a large rectangular robotic casing with a video screen. Inside the casing is an assortment of weaponry, as well as a 3D printer.

Originally Ritsu was just a head, however, after Korosensei modified her body and increased the size of her screen, her full appearance was shown. Her outfit changes depending on the situation; Swimwear when the class went swimming, a detective outfit when they were solving mysteries. She is most commonly shown in the winter school uniform.

Personality
Ritsu did not have any personality originally, and acted just like a robot - Focused on killing Korosensei at all costs. After Korosensei's remodeling, she gained a happy, cheery personality and learned to work with her classmates.

History
She was registered as a student in Kunugigaoka, in order to prevent Korosensei from counterattacking against her. A machine from Norway, created to kill Korosensei, she was supposed to be sent into class 3-E at the same time as Itona, but he was not ready.

Transfer Student Time
On her first day in class 3-E, she fired a round of pellets at Korosensei. When he dodged them all, she added an extra bullet to her barrage, which destroyed his right fingertip. The continuous firing throughout the day irritated the other students, as they had to pick up all the pellets, as well as having to put up with gunfire during lessons. As a result, Terasaka taped her up on the second day to prevent her from deploying her guns.

Korosensei remodelled her on the end of the second, giving her a full body and an overly cheerful personality. As a result, the class took an instant liking to the AI and nicknamed it 'Ritsu'. However, her makers deemed most of the remodeling unnecessary and removed all the programs that Korosensei had attached to her. She allowed them to do so, but decided that the 'power of cooperation' was necessary for assassination, and hid its software before it could be erased.

Fitting in with Class 3-E
For much of the series Ritsu remained in the background making periodic appearances. After her introduction, she uploaded a version of herself to every student and teacher's mobile phones as a way to work alongside them, and joined Nagisa and Karma on their movie trip with Korosensei to Hawaii. When news reached the class of the arrival of a second transfer student, Ritsu briefed the students of his potential capabilities to kill Korosensei. During the time of the finals, Ritsu as an AI was not allowed to sit the exams but personally tutored a substitute (the daughter of Karasuma's supervisor) to take her place, and wished the class good luck.

Assassination Island arc
Ritsu took part in the class's ambitious assassination attempt on Okinawa, coordinating the students' efforts. Unfortunately the plan failed when Korosensei used his ultimate defence form to protect himself. When ten of the students collapsed from an unknown virus, Ritsu scouted ahead to get the layout of the mountain top hotel to allow the rest of the class to safely infiltrate. Her abilities as gathering information by hacking into the hotel's systems would soon prove critical and ultimately useful for the class to complete their plans.

Second Semester
Ritsu appeared periodically during the second semester. During the cops and robbers arc, she kept score of the number of students arrested by Karasuma. At the time of the Itona arc, she helped Fuwa investigate why Itona had been destroying only electronics retailers. Her most prominent appearance was the God of Death arc, where the students realised that her mobile version was prone to hacking when they unsuccessfully attempted to get her to call for Korosensei and Karasuma. During the school festival arc, she uncovered the a food critic's blog review that was behind the cause of the late high demand for the class's acorn noodles. At the second semester finals, she once more had the same substitute replace her for the exams.

Final Semester
When the class became divided over whether to save or kill Korosensei after the target's telling of his past, Ritsu decided to stay neutral to the conflict. She reasons that her own views were conflicting with her programming and wanted more time to decipher them. Much like the cops and robbers arc, she kept score of who had been eliminated. When it was decided that the class focus their efforts of saving their teacher until the end of January, Ritsu hacked into many databases and obtained whatever information she could find, having spent most of the year upgrading her capabilities. The class hatched a plan to infiltrate a launch site, where Ritsu was able to upload herself into the systems of the ISS and be able to control them. With her help, Nagisa and Karma were able to infiltrate the ISS and obtain the data they need to save Korosensei. Along with Korosensei, Ritsu safely guides the shuttle the boys used back down to their classroom. Uploading all the data obtained, the class discover that there is an easy solution to save their teacher but resolve to continue their assassination until their graduation.

Quotes

 * "The killing probability of the next shot is less than 0.001%. The killing probability of the shot after that is less than 0.003%. The probability that I'll be able to kill you by graduation is more than 90%."

Trivia

 * Her nickname comes from the '律' (Ritsu) in '自律' (Autonomy)
 * Korosensei spent around 100,000¥ on remodeling her, leaving him with 5¥ in his wallet. In the anime, he spent 17,009,000¥, leaving him with 5¥.
 * Approximately 985 modifications were initially made to her by Korosensei.
 * She can make anything using the special plastic inside her, excepting weapons, as long as she has the data for the object.
 * She has a mobile version of herself called "Mobile Ritsu" that debuted in Chapter 28 of the manga and Episode 10. This version is loaded onto all of her classmates' phones and allows her to travel outside of her main unit.
 * She can be counted as a foreign transfer student as she was made in Norway, thus making her Norwegian by default.
 * Her best subject is Math while her worst is Physical Education.
 * Her future goal is to reach a firing accuracy rate of 100% indoors.
 * Her special skill is manufacturing clothing objects.
 * Her social interaction software priority is Honesty while her visual display software priority is Guile.
 * As she is a computer, she is not allowed to take her tests personally. She was allowed instead to have a double take them for her, personally tutored by Ritsu herself. The substitute was later revealed to be the daughter of one of Karasuma's superiors.
 * Outside her original frame, her mobile versions' capabilities are decreased and is also prone to being hacked by skilled individuals such as the God of Death.
 * During the cops and robbers game in Chapter 82, she was codenamed "Moe Box." The one who wrote her codename was Terasaka.
 * Her proxy's name is Nise Onaga (尾長仁瀬). Her name is a pun as "Nise" is homophonous to nise (偽) which means "false" or "counterfeit" referencing her being Ritsu's fake.
 * She shares her birthday with Gakushū Asano.