Klein Prep Computer Science: Periods 3,4

*********
*********

Semester Final

Click here and practice your quizizz for the semester final.

*********
*********
Due Date: Thursday May 11, 2023

Blow to Bits book pages 39 to 42

Listen here "Little Brother is Watching" (www.cusack2.com) Be sure to listen to my read of the secret pass code. Make sure you enter the secret pass code into the google drop box comments. (Way I can verify that you listened.) When you record, use Audacity and export as an MP3. This should take 7 to 10 minutes to read Your file name is PX_P42to49_BtoBits_Book_lastname.mp3 Drop off your mp3 file into google classroom. Below is the Starting and ending text to ensure you read the correct text. the ..... is the representing the rest of the text. Be sure to read the boxes to. Listen for secret code words.

(Start here) Little Brother Is Watching So far, we have discussed losses of privacy due to things for which we could, in principle anyway, blame ourselves. None of us really needs a loyalty card, we should always read the fine print when we rent a car, and so on. We would all be better off saying “no” a little more often to these privacy-busters, but few of us would choose to live the life of constant vigilance that such resolute denial would entail. And even if we were willing to make those sacrifices, there are plenty of other privacy problems caused by things others do to us.
.....
The microphone in a General Motors car equipped with the OnStar system can also be activated remotely, a feature that can save lives when OnStar operators contact the driver after receiving a crash signal. OnStar warns, “OnStar will cooperate with official court orders regarding criminal investigations from law enforcement and other agencies,” and indeed, the FBI has used this method to eavesdrop on conversations held inside cars. In one case, a federal court ruled against this way of collecting evidence—but not on privacy grounds. The roving bug disabled the normal operation of OnStar, and the court simply thought that the FBI had interfered with the vehicle owner’s contractual right to chat with the OnStar operators!(stop here)

*********
*********
Due Date: Thursday May 11, 2023

Missing Character

Purpose: Expand your knowledge of Java by learning about boolean logic. * Given a non-empty string and an int n, * return a new string where the char * at index n has been removed. * The value of n will be a valid * index of a char in the original string * (i.e. n will be in the range 0..str.length()-1 inclusive). * * missingChar("kitten", 1) → "ktten" * missingChar("kitten", 0) → "itten" * missingChar("kitten", 4) → "kittn" * * Note: your values for this exercise will be different based on your seat number Missing Character - Click here.
*********
*********
Due Date: Thursday May 11, 2023

Back Around

/* Instructions: * * Given a string, * take the last char and * return a new string with * the last char added at the * front and back, so "cat" yields "tcatt". * The original string will be length 1 or more. * * backAround("cat") → "tcatt" * backAround("Hello") → "oHelloo" * backAround("a") → "aaa" * * * Note: your value for this exercise will be different based on your seat number */ Back Around - Click here.
*********
*********
Due Date: Thursday May 11, 2023

Modulus of 3's

/* Instructions: * Return true if the given non-negative number is * a multiple of 3 or a multiple of 5. * * Use the % "mod" operator * * or35(3) → true * or35(10) → true * or35(8) → false * * Note: your value for this exercise will be different based on your seat number */ remainder 3 - Click here.