Thursday, 30 January 2025

Code Solutions

# This program determines whether or not someone is eligible to run for president
# in the U.S.

age = int(input("Age: "))
citizen = input("Born in the U.S.? (Yes/No): ")
years_resident = int(input("Years of Residency: "))


if age >= 35 and citizen == "Yes" and years_resident >= 14:
    print ("You are eligible to run for president!")
else:
    print ("You are not eligible to run for president.")

Thursday, 23 January 2025

Welcome to Programming 11/12/AP

Lab Expectations:
  • No food or drinks in the computer lab!!!!
  • Attend all classes.  If you are absent, it is your responsibility to make up the work (not mine).  You can work remotely.  
  • Complete all of the assignments to the best of your ability at your own pace.  You will not succeed in this class if you don’t do the work.
  • Be prepared in your seat, when the second bell goes. 
  • Leave your area as you found it.  Push in your chair, log out of the computer (shut it down if it is the last class of the day), the equipment should be in the condition you found it.
  • ARRIVE ON TIME!!!  
  • Use your class time wisely.  You should be able to finish all the assignments in the allotted time.  Do not surf the web, play games, or using the computer for any other purpose unless otherwise directed.  Any abuse of this will result in loss of computer privilege.
  • No wondering the classroom, remain in your seat.  
  • Use a hall pass to go to the washroom and PLEASE KEEP THE DOOR CLOSED.

Programming 11 - Coding

Programming JavaScript at CodeHS.com  Go to Link  
Class code is 94CDF

Programming using Python at CodeHS.com  Go to Link 
Class code is 5CB8F

If you're new and need not sure of your capabilities start with:
Programming using Karel at CodeHS.com  Go to Link
Class code is 22441

Once you've finished that, you can go onto any of the ones listed below.


Programming 12:  You can pick any of the listed above or any of the following:

Computer Science in Python using Python  

Programming using HTML CSS and Bootstrap (Web Design)  


Students learn the basics of object-oriented programming with a focus on problem-solving and algorithm development.