Rspberry Pi Unit 5

Improved Essays
For my senior project, I have enrolled myself in an online course to learn Python and ultimately use my knowledge to write the program for a Raspberry Pi computer. The goal of this computer will be to function as a digital home assistant much like Apple's Siri or Amazon's Alexa. Thus far, I have enrolled in the online class and completed ten of the thirteen units. The first unit I completed since the last log check was unit three. This unit covered the topics of conditionals and control flow. Conditionals in python are much like conditional statements in regular language. They are meant to provide conditions as to whether or not a computer should run a certain code. For instance, a computer may decide to only run a specific line of code if an input value is greater than 3. The key conditional in this statement is the word "if". Control flow is simply the order in which a computer reads a code, and it can be regulated by conditionals. …show more content…
A function is a piece of code that can be used to represent and modify a larger block of code. Programmers regularly use functions in order to make their codes more efficient and easy to manage. Functions work by encapsulating large blocks of code and then inserting variable statements into specific parts of the block of code so that a programmer can alter an entire block of code with just the Function code. Unit Five covered lists and dictionaries and their place within Python. A list is a structure of data that can be hidden, altered, or reordered. Much as the name suggests it is typically a list of items, that may range from words to numbers to animals. Each separate piece of data in a list has an assigned number value beginning with 0 and increasing by 1. Items within lists are accessed by their assigned number. Dictionaries are much like lists except they are not put into any order and their items are accessed with specific

Related Documents

  • Improved Essays

    Nt1310 Unit 5 Lab Report

    • 510 Words
    • 3 Pages

    Pre-Lab 10 CS 122L - 5 Points Total Objectives ● Learn how to use anonymous functions ● Practice with looping intervals Deliverables ● Submit your pre-lab answers in Bblearn under the Lab 10 pre-lab assignment area. 1) The anonymous function allows us to easily create mathematical functions, and store them in variables. The documentation below provides additional details. http://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html: For example, let’s say we wanted to implement the equation…

    • 510 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Nt1330 Unit 1 Essay

    • 639 Words
    • 3 Pages

    RQ 1 A function for one block of bits in a hash function is referred to as a compression function. RQ 2 The main arithmetic and logical functions in SHA algorithms include AND, OR, NOT, XOR and the circular shift. RQ 3…

    • 639 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Pt1420 Unit 6 Ada

    • 243 Words
    • 1 Pages

    Fortran program loop integer :: j integer :: k integer :: i j = -20 do k = ((j*2) – 1) , 10 i = 3*k – 1 end do end program loop ada procedure Loop_Code is j, k, I : INTEGER; j = -20; k = j*2 - 1 begin while k y + 2 is a lambda function taking input y and adding 2 to it. In common lisp they are declared as “ #’(lambda(argument)(+argument argument))“. In fact ,lisp is one of the first programming languages to have implemented lambda functions. In Standard ML the declaration is as follows, “ fn argument => argument + argument” .…

    • 243 Words
    • 1 Pages
    Improved Essays
  • Improved Essays

    Mat 540 Week 2 Assignment

    • 512 Words
    • 3 Pages

    Journal 2 So far, the assigned reading and assignment has been informative and useful. When I finished reading chapter 2, I started to gain a better idea of the problem solving involved in programming. This week’s assignment, although not overly challenging, was beneficial to my learning. Right away, when I was writing the formula for the triangle, I arranged the formula as follows: 1//2 * base * height I got 0 as an answer instead of zero, which puzzled me for a while.…

    • 512 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Nt1310 Unit 1 Assignment

    • 709 Words
    • 3 Pages

    Unit 1 Discussion 1 This is an interesting journey, just the thought of taking three classes at the same time is quite terrifying. After completing all three classes on the first round, will help to end the butterflies that are jumping around in the stomach. This is just the venting introduction and below are the topic of the discussion. Lesson There were many lessons learned from the University’s Orientation Seminar.…

    • 709 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Mission The mission of Premier Seamless Gutters Training Academy is to provide quality training to individuals seeking to build a new career as a gutter installation technician. We are committed to providing you with the latest gutter installation knowledge and training that will empower you to re-invent your career in a timely, yet fulfilling manner. Our dedicated expert staff members are motivated and committed to providing you with the highest standards for a thorough education, while inspiring you to reach your new career goals for sustained success. Compassion.…

    • 1431 Words
    • 6 Pages
    Improved Essays
  • Improved Essays

    A recent inquiry with human resources regarding tuition reimbursement revealed that DN, LLC does not currently have existing guidelines for processing employee tuition reimbursement requests. I am formally requesting tuition reimbursement for a course offered through Colorado State University: Global Campus in project management. This course serves as an introduction to an online degree program in project management that will: • Further my professional development • Develop essential skills critical to my role within the company. Tuition costs for higher education have steadily been increasing, but the need for professional development is essential to the future of the company.…

    • 424 Words
    • 2 Pages
    Improved Essays
  • Great Essays

    Personal Statement

    • 2216 Words
    • 9 Pages

    1. What are your reasons for applying to Rutgers University School of Social Work? Discuss how your personal, professional, and/or community experiences and values affected your decision? The most important influence for pursing a graduate degree at Rutgers University School of Social Work is to break down barriers and obstacles that have been placed in front of me.…

    • 2216 Words
    • 9 Pages
    Great Essays
  • Improved Essays

    It will be used to give you fluids and medicines during the procedure. • You will be given a medicine that makes you go to sleep (general anesthetic). • Your abdomen will be cleaned with a germ-killing solution (antiseptic). • The surgeon will make a small incision in your abdomen and place a tube through the incision.…

    • 709 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    This is the government website for federal student aid. This website focuses mostly on the programs they offer for student grants, scholarships, loans, military aid and work-study. They help students determine if and what aid they are qualified for, how to apply for the aid and how to manage paying them back. This website also helps students explore different colleges and degree programs, realistic costs of college, and budgeting help. One of the key points in my research is the cost of attending school as an adult student.…

    • 754 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Virtue Private Technology

    • 713 Words
    • 3 Pages

    Have one ever imagine living the life when technology was not advanced in the old days? Where people rode horses just to get from one place to another, or how they message and communicate with families and friends over long distance. Going back to them days, technology was poor until people started coming up with new ways to make life easier. It did not change much because the knowledge of researchers was not there yet.…

    • 713 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    I took two classes for the summer of 2016, but the Interpersonal Communication class had me worried the most. I had a training with the army, and that required me to absence from school for two weeks. Unlike my other class, I didn’t have a chance to work ahead of the class with the instructor for the two weeks that I would be missing. Therefore, I was worried that I wouldn’t catch up with my classmates and end up failing the class. However, Ms. Anna was generous and extended the assignment due date for me; she even gave me an extra-credit assignment to replace the credits that I missed during my two weeks in training.…

    • 1133 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    These courses are a mix of face-to-face and online learning that requires a certain amount of face-to-face class meetings paired with online course work. This is a great option for first-time online students and those that want a taste of what online learning is…

    • 723 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    But, without their instructor face to face, students will have to come up with their own method of processing information. This academic freedom given to students can result in a lackadaisical learning technics. Figures indicate that the reduced effort results in a reduced commitment to the course. The distance learning division of Cornell University, less than a third of the respondents expected the quality of online course to be as good as the classroom course (Cornellius).…

    • 914 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Online Learning Technology

    • 1031 Words
    • 4 Pages

    Innovations of Technology Applicable to Online Learning Technological advancements have enabled online learning to develop and become a higher preferred method of education. With the accumulation of advanced computers and high-speed internet, we have the competences to be able to take advantage of the innovations of online learning. With programs like Blackboard and Canvas, the abundant of resources available and the facilitation of instructors, students can be successful in this environment.…

    • 1031 Words
    • 4 Pages
    Improved Essays