Here is our June newsletter! Have fun with the puzzles and python 🤔

Welcome to the June 2022 issue of Superposition Fremont’s newsletter! Congratulations to all the new 2022 graduates, and best wishes for your next adventure. For current students, we hope all of you are enjoying your summer break! In this edition, you can find information on team applications, a fun puzzle, how to create a password generator using Python, and many scholarship opportunities. Enjoy reading!

UPCOMING EVENTS:
Fall Hackathon
SP Fremont will be hosting its first in person hackathon this fall! This local event will be a great opportunity for participants to hone their STEM skills while meeting new people with similar interests! Stay tuned for upcoming details.
 
Team Applications Open!
Are you looking to join a team dedicated to raise awareness about women in STEM? Superposition Fremont is fit for those who collaborate well and show dedication. We spread awareness through social media and plan out events, such as our last summer’s Terris Challenge (a 2 week STEM competition) and our upcoming hackathon. Apply to join the tech, logistics, sponsors and finance, or outreach team by July 2, 2022!
FUN LOGICAL PUZZLE

In this code-breaking logical puzzle, you are given logical equations. As shown, the left side is a number and the right side is a letter. Your challenge is to figure out how the logical number breaks into the letter and decode the puzzle. Then find the value of the missing number (the question mark). 


231 = D

546 = C

871 = N

743 = H

532 = ?

 

(hint: the right value of the letter corresponds to its place in the English alphabet)



Answer:

F

If the numbers 1 to 26 represent the corresponding English alphabet letter ( a = 1, b = 1, etc. ), then the logical code is adding the first two digits and subtracting the third, giving the position of the letter in the alphabet.
PASSWORD GENERATOR: python

Are you incredibly indecisive with your passwords? This tutorial has you covered, as it is an in-depth tutorial that covers extremely useful Python concepts to make your own personal password generator with your own customized choices!


First, you would need to download an IDE (integrated development environment) onto your computer. In simpler terms, it's basically where you can edit your own code and see its results in the shell. For Python specifically, PyCharm is great and free.


Now for the actual code,


1. At the very top of your code, you should write:

import random

(all lowercase, no indents or symbols).

What this does is allow us to import a built-in module of Python. The “random” module makes it easy to simply generate random numbers, instead of writing extra code. 


2. Set a variable to an input function.

question = input("Would you like a password? (Y/N)")

The variable can be set to anything you want to call it, but in this case, “question” would make sense. The input() function will read the line from the input, our question, convert it into a string, and return it. The input() function is much more efficient than creating a variable and printing that variable on a new line. 


3. Create two lists. One will have the word in your password, and the other will have the keyboard symbol. You can add however many items and different words/symbols you want.

words = ["happy", "bench", "bunny", "python", "wonderful"]

symbols = ["@","#","$","&","*"]

Lists make storing your variables easier. It is important to remember that in a list, each input has an index value that corresponds to its place in the list. However, it would not start from 1. Instead, “happy” has an index of 0. So, “wonderful” would have an index value of 4. 


4. Create another variable that will return one of the answers from the previous lists. You can change the order.

password = str(words[random.randint(0,4)]) + str[random.randint(10, 99)] + str(symbols[random.randint(0, 4)])

“Str” simply means the answer will be returned as a string. The random.randint() is a method from the random module that you previously imported. It will return the word or symbol from your previous lists based on the index value. Remember that even though there are 5 items in the list, because Python lists start with the index value of 0, the range will be 0 to 4. Using random.randint() without a list will simply return a random integer value between the given range. 


5. Use simple if/else statements to finish the generator. 

if question == "Y":

          print(password)

else:

          print("Please type 'Y' or 'N'")

Remember that the variables you created before are case sensitive. If your variable “questions” was written lowercase, it must also be lowercase in your conditional. Also keep in mind that your code will not work if you have syntax errors. The code inside an if, else, or elif statement must be indented. 


Finally, test out your new generator in your Python shell! As a bonus, you can make your generator more complex and implement a way to make certain letters capitalized using the same concepts above.
 
  UPCOMING OPPORTUNITIES
3shalasahu@gmail.com
SCHOLARSHIPS
 

Lounge Lizard Web Design Scholarship

Amount: $1000

Deadline: October 3rd, 2021 & Feb 19, 2023

Qualifications: 

   - be a current high school senior or college student

Description:

This is a $1,000 bi-annual scholarship offered in the fall and spring semesters to students who submit a web design. Only one person is selected per cycle. 

 

E-waste Scholarship

Amount: $1000

Deadline: April 20, 2023

Qualifications:

   - be a current high school or college student

Description:

Address the "worst thing about e-waste" using a 140-character message. One winner will be selected.

 

Elevate Women in Technology Scholarship

Amount: $500

Deadline: October 31, 2022

Qualifications: 

   - open to any female-identifying students who are attempting a career that promotes technology to improve the world 

Description:

In 250-400 words, “Tell us about one technology (new or old) that inspires you about the way in which technology can make the world a better place” 

 

Don't Text and Drive Scholarship

Amount: $1000

Deadline: Sept. 30, 2022

Qualifications:

    - this award is for U.S. high school, undergraduate, and graduate students. 

Description:

Students must submit a short response about texting and driving and be selected as a semi-finalist to compete for the available scholarships. The purpose of this scholarship is to help you understand the risks of texting while driving.

 

Voice of Democracy Scholarship

Amount: $30,000

Deadline: October 31, 2022

Qualifications:

    - U.S high school students in grades 9 through 12

Description:

The applicant must write an essay on the theme listed on the Veterans of Foreign Wars website and record the reading of that essay; submit both essay and CD/flash drive to be considered for this scholarship.

 

BulkOfficeSupply.com Scholarship

Amount: $1,000

Deadline: February 1, 2023

Qualifications:

    - U.S high school students and college freshmen and sophomores.

    - Students must have an interest in teaching, art, or owning their own business.

Description:

Applicants will submit a 500-600 word essay describing where they plan to attend school, their desired major, how they developed an interest in teaching, art, or owning their own business, and how the scholarship would help to reach your goals.

 

Americans United Essay Contest

Amount: 1st: $1,500 2nd: $1,000 3rd: $500

Deadline: September 26, 2022

Qualifications:

    - U.S high school juniors and seniors

Description:

AU's annual essay contest encourages high school students to reflect on why religious freedom and the separation of religion and government are important to them and their communities—and what they can do to ensure religious freedom is used as a shield that protects, not a sword to harm others.

 

SAS Clean Air Scholarship

Amount: $2,500

Deadline: August 5, 2022

Qualifications:

     - USA citizen, legal resident, or has student visa

     - registered as a student at an accredited high school, college, or university within the U.S.

     - if high school: 3.0 or higher GPA on a 4.0 scale
     - if college: 2.5 or higher GPA on a 4.0 scale

Description:

Using any format or tools (video, infographics, words, photos, modeling, original art, and imagery), show what air quality means to you. Candidates must also submit a 500-1000 word essay about themselves.

Thank you for reading our newsletter for the month of June! If you have any questions, please don't hesitate to contact us through email or Instagram. See you in two months from now :)
Facebook
YouTube
Instagram
Website
View this email in your browser
You are receiving this email because of your relationship with Superposition Fremont. Please reconfirm your interest in receiving emails from us. If you do not wish to receive any more emails, you can unsubscribe here.

36300 Fremont Blvd, Fremont, California, 94536


| |