Coder Social home page Coder Social logo

objc-array-practice-wdc01-seng-ft-071320's Introduction

#Array Practice

Listen to this song to get amped for Capeside high.

##Introduction

As administrator of the high school you have the ability to make changes to your records regarding staff and the students attending the high school. In an attempt to get organized and clean up some records you've decided to make the following changes:

Start by declaring the following methods in the FISAppDelegate.h:

  • assigningTeacher:toRooms: that takes in two NSArray arguments, teacherRoster and rooms and returns a NSString.
  • replacingTeacher:withTeacher: that takes two arguments, one NSArray argument named teacherRoster and one string argument named substitute and returns an NSArray.
  • duplicateStudents:student: takes one NSArray argument mathClass and a NSString argument named student and returns an NSUInteger.
  • signForPrinter: takes one NSArray argument named backwardsPhrase and returns a NSString.
  • removeOpeningAndClosingShifts: takes one NSArray argument named schedule and returns and NSArray.

##Instructions 1. It's the first day of school at Capeside High! Get your teachers assigned their classrooms.

assigningTeacher:toRooms: should return a string with the teachers name and room assignment in this format "Welcome <#teacher's name>, your classroom is <#room>. each on a new line.

2. Oh no! Mrs. Jacobs has called out sick. We need an updated teacher roster.

replacingTeacher:withTeacher: should return a NSArray with the new list of teachers.

3. While clearing out your records you noticed that Principle Peskin has added duplicate student names to a math class.

duplicateStudents: should return a NSUInteger count of times a sudent's name appears.

4. Homecoming is finally here and your schools mascot, Pacey Witter needs his sign corrected.

signForPrinter: should return a string with the correct phrase. Somehow it was reversed and you need to set it right.

5. Your star student Joey has been taking too many shifts down at the Ice House Restaurant and it's effecting her shcool work. Help her fix the schedule by removing her opening and closing shifts from the scheudle. Being that this is a schedule, preserving the order of shiftworkers is important.

removeOpeningAndClosingShifts:schedule should return the updated schedule array that removes Joey's name from the first and last position.

objc-array-practice-wdc01-seng-ft-071320's People

Contributors

susanlovaglio avatar ipc103 avatar

Watchers

Kaitlin Vignali avatar Mohawk Greene avatar Victoria Thevenot avatar raza jafri avatar  avatar Joe Cardarelli avatar The Learn Team avatar  avatar Ben Oren avatar Matt avatar Alex Griffith avatar  avatar Amanda D'Avria avatar  avatar Ahmed avatar Nicole Kroese  avatar Dominique De León avatar  avatar Vicki Aubin avatar Maxwell Benton avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.