Welcome to BHS Computer Science. If you are a student in the class, the first thing you need to do (and which we should have done in class) is set up your GitHub account.
Once you have a GitHub account, click “Log in to GitHub” below to proceed. Or you can click “Use anonymously” to play with the environment but you will not be able to save your work or submit assignments. (You can always log in later by clicking the at the top of the page.)
If you don’t have a GitHub account yet, please create one and then log in here for further instructions.
Congratulations! You have successfully connected this app to GitHub. However you are not yet a member of the GitHub organization for this class, something Mr. Seibel needs to set up for you.
This is your GitHub profile URL:
Click the clipboard icon to copy it and then submit it at this form so he can add you.
Congratulations! You have successfully connected this app to GitHub. And it looks like you have an invitation to join the GitHub organization for this class. You need to accept that invitation before you can proceed. The invite should be sent to whatever email you used when you created your GitHub account.
I see you are logged into GitHub and a member of the berkeley-high-cs GitHub organization. However there seems to have been some problem finishing the setup for your account. Please let Mr. Seibel know.
This is a tool for the BHS Computer Science class at Berkeley High School. It is intended to provide a simple environment for experimenting with Javascript without all the complexities of a full development environment such as ReplIt or Glitch which we may use later in the year.
It is also designed to take advantage of the browser’s ability to run Javascript natively. It does not need access to a server to run code making in extremely responsive even if the Wifi is flaking out.
Finally, under the covers it is saving work to a GitHub repository in a very simplified workflow that does not depend on immediately learning any git commands. Code written in this environment for each assignment is saved to a directory and branch specific to that assignment each time it is saved. Thus when the assignment is done, it is easy to go to GitHub and create a PR containing just the work on that assignment which can then be commented on and worked on further before it is turned in and merged to main.
You're all set! You don't need to worry about this yet but we have successfully created a GitHub repository for your work:
You can get to it any time by clicking on your GitHub username at the top-right of the screen.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, the bird is a Flobby Bird.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, the bird is a Bloggy Bird.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, the bird is a Flibble Bird.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, the bird is a Globby Bird.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, a bird with those characteristics eats worms.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, a bird with those characteristics eats nuts.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, a bird with those characteristics eats fish.
Write a function that takes two booleans, one indicating if a given bird is red and the other if it is spotted, which returns true if, and only if, a bird with those characteristics eats mice.
Write a function that takes a single string which is either 'Flobby', 'Bloggy', 'Flibble', or 'Globby' and returns true if a bird of that kind is red
Write a function that takes a single string which is either 'Flobby', 'Bloggy', 'Flibble', or 'Globby' and returns true if a bird of that kind is spotted
Write a function that takes a single string which is either 'Flobby', 'Bloggy', 'Flibble', or 'Globby' and returns true if a bird of that kind is not red
Write a function that takes a single string which is either 'Flobby', 'Bloggy', 'Flibble', or 'Globby' and returns true if a bird of that kind is not spotted
As with the number functions assignment, the goal here is to write functions that pass test cases. However all these functions are related in that they are about four kinds of birds that exist on on the Island of Booleana: Flobby Birds, Bloggy Birds, Flibble Birds, and Globby Birds. See the comments in the starter code for important facts about these four species of bird that you will need in order to implement the desired functions.