Tuesday, September 29, 2015

Triangle/Test Homework Hints/Suggestions/Warnings

Hi all,

A few brief notes/hints/warnings on tonight’s homework (Triangle and TriangleTester.java)

1.)    Follow the directions VERY carefully on this one… especially in writing the Tester.  You want to make sure that your Tester follows all five separate steps as described in the directions.
2.)    Use the “CircleExample” zip file that I uploaded onto my DHS web page as a good blueprint to follow when building your Triangle class and the TriangleTester.  The tester, in particular, is written to look **very** similar to how you will want to build the Tester for the Triangle class.
3.)    Warning #1:  When you calculate the area of a Triangle object (as in, the area is half the product of the base and the height of a triangle), DO NOT use (1/2) to represent one-half.  Instead, use (1.0/2.0).  You might notice a pattern forming here between this and the Volume assignment
4.)    Warning #2: When you are writing the getArea() method, DO NOT add area as an instance variable.  You should ONLY have the two instance variables specifically described in the assignment (namely, the base and the height).  Use the getCircumference() method of the Circle class for an idea for the appropriate alternative.
5.)    There are opportunities for “Better” and “Best” versions of this, too, so if you feel up for the challenge, go for it!

Finally, I would love to see this be the entry point for students to begin using GroupMe when they get stuck.  Learning to collaborate with your classmates will likely speed up the amount of time it takes for you to complete this (and future) assignments, and fits with the modern industry standard of collaborative coding techniques.

Hope this helps.  Good luck tonight.


Mr Svetlik

Wednesday, September 23, 2015

Innovators Wanted!

Hi all,

See below for an opportunity for anyone interested in sharing a recent innovation.  Prizes awarded!

http://illinois.edu/emailer/newsletter/77429.html

- Mr. Svetlik

Maybe potentially the opening toward online voting?

Hi all,

An interesting tool showing how cryptography can protect the anonymity of respondents to surveys.

http://www.wired.com/2015/09/new-crypto-tool-makes-anonymous-surveys-truly-anonymous/

- Mr. Svetlik

CLC Engineering Night

Hi all,

CLC is hosting an Engineering night for all interested students.  See below for details.  

(BTW, CLC offers a program for prospective engineering majors that guarantees admissions into U of I in Champaign, recognized as one of the premier schools in engineering around the country.)

Follow this link for more information on the September 24th Engineering Night:


- Svetty

Tuesday, September 22, 2015

Quiz Prep and GregorianCalendar Hints

Hi all.  Sent this out as an e-mail.  Here for your convenience, as well:

As promised in class, here is both some news about the upcoming quiz AND some hints on the next assignment (which is GregorianCalendar, Page 77, P2.7):

QUIZ:
·         OPEN NOTE (MUST BE YOUR OWN HANDWRITING)
·         MULTIPLE CHOICE
·         TOPICS INCLUDE
o   Syntax errors, and specifically what thing detects a syntax error
o   Any time you want to RUN a program, the program needs to have a certain type of method… we give this method a specific generalized name
o   Understanding the multiple forms of writing comments into your code
§  Single-line comments (//)
§  Multi-line comments (/* followed by lines of comments followed by */)
o   Understanding how to declare and initialize a variable (hint: there are two ways, as follows):
§  Declaring the variable in one line of code, then initializing the variable in a separate line
§  Declaring AND initializing the variable in a single line of code
o   Understanding what a .java file is and does, and specifically what purpose it has in developing Java programs
o   Understanding what a .class file is and does, and specifically what purpose it has in developing Java programs
o   Understanding how to create (or “instantiate”) a new Random gen object. 


GREGORIANCALENDAR:
·         Hints and suggestions:
o   You will be using a combination of the code shown in the textbook AND the online API for GregorianCalendar (Google “Java 8 API GregorianCalendar”).  I’d suggest starting with the source code in the book FIRST and then moving on to the API as you need to
o   To do this assignment, you are going to want to import both the Calendar class and the GregorianCalendar class, as follows:
§  import java.util.Calendar;
§  import java.util.GregorianCalendar;
o   The assignment requires you to generate THREE DISTINCT THINGS using the GregorianCalendar class
§  Both the DATE and the WEEKDAY that is 100 days from today
§  The WEEKDAY of your birthday
§  The DATE that is 10000 days from your birthday
o   To accomplish the first thing, you are going to want to make one GregorianCalendar object using its constructor that has NO parameters.  That will automatically store information related to today’s date
§  Once there, you will need to tell the GregorianCalendar you create to .get() the modifiedMonth after adding 100 days to the current day of the month and store it an int variable
§  Then, you’ll want to tell the GregorianCalendar you create to .get() the modifiedDay after adding 100 days to the current day of the month and store it in a separate int variable
§  Finally, you’ll want to tell it to .get() the modifiedYear after adding 100 days to the current day of the month and store it in a separate int variable
§  (Hint #1: Pay close attention to the sample code in the textbook for how to actually go about doing this.)
§  (Hint #2: One tricky thing about getting the current month….. the int that you get when you instruct the GregorianCalendar to get the month will actually be one less than how we normally refer to it.  In other words, January is represented as month 0, February as month 1, and so on… You can easily fix this by just adding 1 to whatever the calendar gives you when you call the .get() method for this.)
§  Once there, you’ll want to print out each of these ints in some sort of “pretty” manner.  See the attached .java file for how I printed out information about the current day.
o   To accomplish the second and third thing, you are going to want to make a SECOND GregorianCalendar object (give it a separate name than the first one) using its constructor that has the parameters corresponding to your birthday.
§  Again, look at the example code in the book for some guidance on how to create this new GregorianCalendar
§  Once it’s created, you’ll want to make three new int variables, each representing the month, day, and year you were born (remember what I said about adding one to the month number up above!)
§  Print out the day of week on which you were born (maybe check with a family member to see if this is accurate!)
§  Then, to do the third thing, you’ll want to add 10000 days to the day of month of the calendar to set it up for 10000 days past the day you were born.
§  After that, repeat the steps of collecting the new value of the month, the day, and the year, and then display that information
o   See the e-mail I sent out for images of how the output should look.  Doesn't have to be formatted exactly as I have it, but it should contain the same info.



Hope this helps!  Let me know if you have any questions.

Mr. Svetlik



Sunday, September 20, 2015

Master the Mainframe 2015

See below for an awesome opportunity EVERY one of you should check out!  Joey Bloom (DHS class of '15) finished second in North America last year, and the opportunities that came his way as a result have opened a number of doors for him.  You do not need to achieve nearly at that level to gain benefit from this.  And the best part?  No experience necessary.

- Svetty

In the Fall 2015 Semester, IBM will be sponsoring its 11th annual Master the Mainframe Contest (MTM) for high school, college or university students across the U.S., Canada or Puerto Rico.  No experience with mainframes is necessary. In fact, the contest is designed for students with little or no computer experience, but will increase in difficulty as the contest progresses.  All students, no matter which degree they are enrolled, are encouraged to participate. High school students are also encouraged to compete! Students just need to bring drive and competitive spirit. Not to mention the over $45,000 in prizes!
In North American alone, more than 5,900+ students from the U.S., Canada and Puerto Rico participated—the most since the contest’s inception in 2005.  High school student registrations exceeded 1,700+ participants in 2014.  Worldwide, the 2014 Master the Mainframe competition attracted 23,972 students from 25 nations, including the recent additions of Austria, India, Poland and Spain. Since 2005, more than 85,000 students have registered to compete in the IBM academic  mainframe contests across 33 countries.
Why Should your students Sign Up?
IBM celebrated the 50th Anniversary of the Mainframe in 2014.  Expected retirements of 150,000+ zEnterprise professionals over the next decade will create unprecedented career opportunities for qualified graduates in the United States. In addition, the worldwide shortage of qualified zEnterprise professionals is estimated to be over two million (CA technologies (2014).  
While many pundits have pronounced "The mainframe is dead!", one surely cannot prove this contention considering IBM's growing dominance in large-scale transaction processing, big data and data analytics, web and mobile access to IBM zEnterprise mainframe systems account for 71% of all financial, insurance and banking transactions; 70% of wealth management services; 62% of major retailer transactions, and 64% of the state and federal governments transactions.  Major IBM U.S. customers include:  USAA, Aetna, J.P. Morgan Chase, Citi Bank, Bank of America, J.P. Morgan Chase, Bank of America, Citi Bank, Vanguard, Boeing, IRS, Blue Cross/Blue Shield, Walmart, Federated Department Stores, BNY/Mellon, as well as, the majority of the Fortune 500 global corporations.
 Data indicates that starting average entry-level salaries for zEnterprise careers are twice the level experienced by most undergraduate majors or 40% above other computer careers.    
 Registration and Contest Details May be found
http://www-03.ibm.com/systems/z/education/academic/masterthemainframe/contest/usca.html

Troy D Crutcher
IBM Academic Initiative, System z


IBM


Monday, September 14, 2015

Calling All Video Editors and Aspiring TV Personalities

See below for an opportunity to showcase your talents in recording a video that broadcasts CS as a mechanism for bettering the world.  Let me know if you're interested!


Dear Member,

CSTA is thrilled to announce the 2015 Faces of Computing Contest! This year's theme is "Computing for the Common Good." Entries should feature groups of students showcasing how computing is used to better the world. The format of the video can be a commercial, trailer, public service announcement, or simply an informational piece.

We are excited to receive your submissions. Please email us if you have any questions.

Good luck and have fun, everyone! 

Sunday, September 13, 2015

CLC Engineering Night - Exploring Your Opportunities


STEM Speaker Series for 2015-16
Free evening presentations by experts in
SCIENCE | TECHNOLOGY | ENGINEERING | MATH

Thursday, Sept. 24 at 6:00 p.m.
Engineering Night ―
Explore your College and Career Opportunities


Keynote Speaker: Peter Nelson Ph.D., UIC College of Engineering Dean
Room C005

We would like to extend an invitation to high school juniors and seniors, along with area college students, to explore the many opportunities in engineering.

Schedule:

5:30 pm - Doors open. Register for up to three presentations by various colleges and universities.

6:00 to 7 pm – Mix and mingle with a variety of professional engineers. A great chance to learn which engineering field might interest you.

7 pm - Keynote: “Engineering and Artificial Intelligence in the 21st Century”

7:45 – 9:15 - Presentations from area schools including Northern Illinois University, University of Illinois at Chicago, University of Illinois at Urbana-Champaign, MSOE and others.

Preregister on the CLC STEM website: www.clcillinois.edu/STEM

Questions?
Email Jan Edwards at jedwards1@clcillinois.edu, call (847) 543-2044 or visitwww.clcillinois.edu/STEM.
Cosponsored by the CLC Engineering Department (www.clcillinois.edu/programs/egr)
and the Biological and Health Sciences Division (www.clcillinois.edu/biodv).
 

Sunday, September 6, 2015

APCS Enrollment Seeing Significant Growth Nationwide

This article shares data on recent trends in enrollment in, among other subjects, AP Computer Science.  It also makes mention of the new College Board AP Computer Science Principles course, which is built to make computing even more accessible to a wider number of students nationwide.

http://blogs.edweek.org/edweek/curriculum/2015/09/more_students_taking_ap_physics_computer_science_exams.html

- Svetty

Silicon Valley Focusing on Increasing Diversity, Focusing on Blacks

There continues to be an increased focus on expanding opportunities in the tech industry for underrepresented groups.  The problem is far from being solved, but some are taking active steps to bring forth potential solutions.  In this New York Times article, the focus is on identifying young black men as candidates for entering the industry in a program recently-launched known as the "Hidden Genius Project".


- Svetty

Attention ALL female CS Students: Please Apply for an NCWIT Aspirations Award!

Hi all,

This blog post is for all female students in AP Computer Science A and Advanced Computer Science, as well as any female students I have registered either in an independent study with me or considering registering into one.

The NCWIT (National Center for Women in Technology) offers an Aspirations award every year to female students aspiring to go into a career that integrates technology in some meaningful way.  While certainly young women with an interest in going into CS are encouraged to apply, any female with a career aspiration in an area in which computing or technology has played a vital role also is encouraged to apply.  (You should read that to be just about every career path, by the way…)

The award criteria generally are as follows:
·         A strong interest in leveraging the power of technology to achieve your aspirations
·         Evidence of prior achievements in using computing or technology in prior studies in innovative ways
·         Demonstration of strong leadership skills
·         Clear articulation of student aspirations

From having talked directly with the adults who judge the applications, I can tell you directly that you do not have to have done “amazing” things with technology in the past to qualify for an award.  This is a factor, but not the only factor.  You also do not have to made up your mind that you know what you want to do when you “grow up” in your application (although that certainly can be helpful).  Heck, I don’t even know what I want to do when I grow up.  J  Instead, if you know you have an interest in computing or technology, and you can clearly-articulate what you have done with computing or technology in the past and what you aspire to accomplish in utilizing it personally, professionally, and to be of service to others, your application will be considered a strong one. 

Application deadlines are below.  Note that these fall generally within the same timeline as college admissions applications, so it’s probably a good idea to consider starting these sooner rather than later, when for seniors all the college admissions stuff gets intense.  The applications are not very difficult to complete, and you do want to have a teacher recommendation (that would be me).

Now here’s the truly cool part:  Yeah, if you’re a national award winner you get cash and a laptop and other “goodies”, but that’s really not the ultimate benefit of winning an award.  The true benefit of winning an aspirations award (at any level) comes from joining a network of over 2200 young women who have also received the award.  These are people you can get to know and network with as you work towards your aspirations.  You will quickly see that you’re not the only one out there who is a female and looking to go into the tech sector.  But even more important than that, if you win an award you are paired with an adult mentor from industry and the public sector (think:  the National Science Foundation, Google, Microsoft, Intel, Bank of American, Pfizer, and on and on) whose job it is to help you along your journey towards achieving your aspirations.  This can mean internships, tours of working environments of well-known companies and non-for-profits, and a chance to be supported by and develop a relationship with a woman who is now where you want to go.  I’m telling you with every ounce of my being as a teacher and as an advocate for each of you: HOW YOU INTERVIEW, WHO YOUR PROFESSIONAL CONNECTIONS ARE, AND WHAT INTERNSHIP/PRACTICAL EXPERIENCE YOU POSSESS COMING INTO A JOB INTERVIEW WILL PLAY AS MUCH OF A ROLE FOR MANY EMPLOYERS AS WHERE YOU GRADUATED FROM COLLEGE.  Keep that in mind throughout the college admissions process….

As you can tell, I STRONGLY support this program, and believe EVERY one of you, REGARDLESS of how much computing experience you have, should apply for this award.  This is a MUST for any females in my second-year classes, but I would certainly say for any young woman taking your first programming class right now, DO IT!  You took this class for a reason, and hopefully that reason includes an interest in investigating a possible career path for yourself or consideration for how this could impact the career path you are, in fact, interested in.  Becoming a recipient of an NCWIT award is much more than earning a certificate or a plaque or a trophy, it is a gateway to opening an enormous number of doors for yourself as you transition out of high school and into the work world. 

All the details for where to go for the award are included below.  Please look these over carefully, and please seriously consider applying for this award.  I will help each and every one of you personally through the application process, as I hold a very strong passion towards the good work that is being done by this organization to help you out.  If you look at the number of well-recognized companies and organizations that have partnered up with NCWIT, it is no lightweight list.  There’s some serious big-ticket names there.  So there are a lot of people out there who share my belief that this organization has the right idea. 

Please e-mail me directly to let me know that you are interested in applying for the award (I hope I hear from each of you!)  We can either sit down outside of class to plan out your application, or we can figure something out via e-mail.  But I truly believe this is one of those opportunities that you DON’T want to turn down… there’s too much energy going towards this organization at this time to disregard this. 

Mr. Svetlik



NCWIT Aspirations in Computing - Student awards - now open! 9/02/15 9:04 AM
https://www.aspirations.org/
The application process for the NCWIT Aspirations Student and Educator awards is now open!
  • Please encourage your female students to apply, and also please seek support from your administration for the Educator award!
  • Below are materials to help spread the word at your school and additional information for Principals, students, and parents:
http://bit.ly/AiCShare16
___________________________________________________________________
  • Below are more details form their website:
From the web site:
Applications for the 2016 Award for Aspirations in Computing are open from September 1 to October 26, 2015 (8:00 p.m. EDT).
The NCWIT Award for Aspirations in Computing honors high school women who are active and interested in computing and technology, and encourages them to pursue their passions. This multi-tiered competition includes recognition at the national level (sponsored by Bank of America) and at the local level (sponsored by Microsoft), serving 50 states, the District of Columbia, Puerto Rico, and the U.S. Virgin Islands, and all U.S. military bases overseas.
Each local award taps into the powerful network of NCWIT Alliance members: teams from academia, non-profit organizations, startups, and corporations come together to build a community of support for young women interested in computing.

 Eligibility

Any U.S. high school woman in grades 9 through 12 is eligible to apply, if she also meets both of the following criteria:
  • She attends a high school in the U.S. or is a U.S. citizen attending a high school in Puerto Rico, Guam, the U.S. Virgin Islands, or on a U.S. military base.
  • She has a U.S. Tax Identification or Social Security Number.

Aspirations Award recipients are chosen for their outstanding aptitude and interest in computing, proven leadership ability, academic performance, and plans for post‑secondary education.

Wednesday, September 2, 2015

Tired of memorizing passwords? read on...

Here's an example of an algorithm at work for helping people to remember passwords.  CS without coding.

http://www.networkworld.com/article/2978312/tired-of-memorizing-passwords-a-turing-award-winner-came-up-with-this-algorithmic-trick.html

- Svetty

Cutler-Bell Prize for High School Seniors ($10000)

See below for an opportunity (one of an increasing many) that is now being offered to high school seniors:

Dear CSTA Community, 

CSTA is pleased to announce that we are now accepting applicants for a new award aimed at recognizing talented high school students in computer science. The ACM/CSTA Cutler-Bell Prize in High School Computing seeks to promote and encourage the field of computer science, as well as to empower young and aspiring learners to pursue computing challenges outside of the traditional classroom environment.

Four winners will be selected annually and each will be awarded a $10,000 prize and cost of travel to the annual ACM/CSTA Cutler-Bell Prize in High School Computing Reception where students will demonstrate their programs and discuss their work. The prizes will be funded by a $1 million endowment established by David Cutler and Gordon Bell.

Eligible applicants for the award will include graduating high school seniors residing and attending school in the US. Challenges for the award will focus on developing an artifact that engages modern computing technology and computer science. Judges will look for submissions that demonstrate ingenuity, complexity, relevancy, originality, and a desire to further computer science as a discipline.

The application for the Cutler-Bell Prize is available now and will close on January 1, 2016. The inaugural awards will be announced in February or March of 2016.

https://app.wizehive.com/appform/login/csta2015app

Please share this exciting announcement with your fellow teachers and your students, and Good Luck! 

How to Make a Cooler Robot Using Karel J Robot

Hi all,

If you are looking for a few tips on how to make a refined subclass of the UrRobot class, here you go:

https://drive.google.com/file/d/0B4Nov60fUk9kSzNtaGVLMEtYZXM/view?usp=sharing

This will walk you step-by-step through writing a subclass, complete with screen shots.

Hope this helps you make a better robot!

Mr. Svetlik