text
stringlengths
313
1.33M
# Wikijunior:Solar System/The Sun ## What is the Sun? {{/Coolfacts\|= 1\|!☉︎.svg "☉︎"){width="80"}\|= 2\|Sun Facts\ WARNING: Never look directly at the Sun; it can hurt and damage your eyes.\|= 3\| - If you looked at the Sun in a telescope, you could risk blindness. - The Sun is 150,000,000 km (93 million miles)...
# Wikijunior:Solar System/Mercury !Mercury from the MESSENGER spacecraft. \_\_TOC\_\_ {{-}} ## What is Mercury? {{/Coolfacts\|!☿.svg "☿"){width="80"}\|*Mercury Facts*\| - Mercury orbits around the Sun faster than any other planet. - Mercury\'s surface temperature can vary from -180°C (-300°F) to 430°C (800°...
# Wikijunior:Solar System/Venus ```{=html} <div style="float:right; border:2px solid #aaaaaa; width:250px; margin-left:0.2em; padding:0.4em"> ``` !♀.svg "♀"){width="80"} **Venus Facts**: - Venera 7, the first space probe to land on Venus, was destroyed by the hostile conditions on Venus after only 23 minutes. ...
# Wikijunior:Solar System/Earth Earth is the planet we live on. It is the only planet in the Solar System with liquid water on its surface. It is also the only planet we know to have *life* on it. Earth is also known as Terra. ```{=html} <div style="float:right; border:2px solid #000000; width:250px; margin-left:0.2e...
# Wikijunior:Solar System/Moon {{/Coolfacts\|= 1\|!☽︎.svg "☽︎"){width="80"}\|= 2\|Moon Facts\|= 3\| - When we look at the Moon from Earth, we always see roughly the same side. Until Luna 3 sent back photos in 1959, no-one knew what the other side looked like. - The Moon is nearly twice as big as ../Pl...
# Wikijunior:Solar System/Mars ```{=html} <div style="float:right; border:2px solid #aaaaaa; width:250px; margin-left:0.2em; padding:0.4em"> ``` !♂.svg "♂"){width="80"} **Mars Facts**: - Mars is red because of rust in the surface rocks - A volcano on Mars called *Olympus Mons* is the highest mountain in our ...
# Wikijunior:Solar System/Asteroid belt !Asteroid belt between Mars & Jupiter.PNG The asteroid belt lies between the planets Mars and Jupiter. It contains lumps of rock and metal much smaller than planets. These lumps are called asteroids or minor planets. They are not visible from Earth with the naked eye, but many ...
# Wikijunior:Solar System/Jupiter ```{=html} <div style="float:right; border:2px solid #aaaaaa; width:250px; margin-left:0.2em; padding:0.4em"> ``` !♃.svg "♃"){width="80"} **Jupiter Facts**: - Due to its magnetic field trapping particles from the Sun, Jupiter is surrounded by very powerful radiation belts whic...
# Wikijunior:Solar System/Saturn ```{=html} <div style="float:right; border:2px solid #aaaaaa; width:250px; margin-left:0.2em; padding:0.4em"> ``` !♄.svg "♄"){width="80"} **Saturn Facts**: - If you could find a bathtub big enough, Saturn would float in it. - Some of Saturn\'s moons control the width of its rings...
# Wikijunior:Solar System/Uranus Uranus, the seventh planet from the Sun, was discovered by William Herschel on March 13, 1781.[^1] !Uranus as seen from Voyager 2 {{/Coolfacts\| !⛢.svg "⛢"){width="80"}\|Uranus Facts:\| - Uranus\'s rings look white in pictures, but they are really made of asphalt-colored materi...
# Wikijunior:Solar System/Neptune !Neptune as seen from Voyager 2 {{/Coolfacts\|= 1\|!♆.svg "♆"){width="80"}\|= 2\|Neptune Facts:\|= 3\|\*Wind speeds on Neptune can reach 450 meters per second. - Neptune was discovered because its gravitational field was affecting the orbit of Uranus. - Neptune is sometimes f...
# Wikijunior:Solar System/Pluto Pluto is a dwarf planet that was discovered by the astronomer Clyde W. Tombaugh in Arizona on February 18, 1930.[^1] !Pluto, as seen from the *New Horizons* spacecraft. ```{=html} <div style="float:right; border:2px solid #aaaaaa; width:250px; margin-left:0.2em; padding:0.4em"> ``` !♇....
# Wikijunior:Solar System/Comets {{/Coolfacts\|= 1\|\|= 2\|80px\|☄.svg "wikilink") Comet Facts\|= 3\| - Comets are often described as giant \"dirty snowballs\" because they are mostly made up of ice and some dirt. - Comets have two \"tails\", one made up mostly of rocks and dust, the other mostly made of ...
# Wikijunior:Solar System/Kuiper Belt ```{=html} <div style="float:right; border:2px solid #aaaaaa; width:250px; margin-left:0.2em; padding:0.4em"> ``` **Kuiper Belt Facts**: - The Kuiper belt is the most recently discovered section of the Solar System. ```{=html} </div> ``` Beyond the **orbit** of Neptune li...
# Wikijunior:Solar System/Oort Cloud {{/Coolfacts\|= 1\|\|= 2\|Oort cloud Facts:\|= 3\|\* The Oort cloud is as far from the Sun as you can go without leaving the Solar System. - It is believed that most comets originate in the Oort cloud before \"falling\" toward the Sun. }} The Oort cloud is a huge halo made ...
# Wikijunior:Solar System/Space exploration ## Space exploration --- A long dream !An illustration of a spacecraft in *From the Earth to the Moon* Going into space was always one of the biggest dreams people had, even thousands of years ago. Many science fiction authors wrote about traveling in space even before the ...
# Wikijunior:Solar System/Puzzles ### Crypto Quiz Try to fill in the correct answer for each of the questions below. A letter should go on each blank line. The numbers underneath the lines match the entries in the secret message. What does it say? ![](Solar_System_Crypto_Quiz.png "Solar_System_Crypto_Quiz.png"){width...
# Wikijunior:Solar System/Glossary {{ }} A glossary of words used in this book: - **Antimatter**: the opposite of normal matter. Not usually found outside of a laboratory. When mixed with matter they cancel each other out and release lots of energy. ```{=html} <!-- --> ``` - **Arachnoid**: a scientific...
# Wikijunior:Solar System/Test ## Task 1: The Solar System Below are the eight planets of our solar system, each with a description. Fill in the blanks in the descriptions. - First you have to fill in which planet it is from the sun. For example: if you think Jupiter is the seventh planet, fill in *7th*. - S...
# Wikijunior:Solar System/How the Solar System was born Our **solar system** is part of an entity called our **universe**. There were many attempts made in the past to explain how our solar system and universe came into existence as we observe it today. Most scientists use the **Big Bang Theory**, though some people h...
# Wikijunior:Solar System/What will happen to the Solar System in the future ## The Fate of Our Solar System Just as the Solar System relies on the Sun as its source of energy, so too is its fate linked to that of the Sun. The Sun is right now a middle-aged star. It has existed for about 5 billion years, and will go...
# Wikijunior:Solar System/Is there life out there? The short answer is \"Nobody knows\" - but it\'s interesting to try to make some guesses based on what we **do** know! Scientists who have tried to make good guesses use an equation called \'The Drake Equation\' which was named after Doctor Frank Drake who first trie...
# OpenSSH/Overview The OpenSSH suite provides secure remote access and file transfer. Since its initial release, it has grown to become the most widely used implementation of the SSH protocol. During the first ten years of its existence, ssh has largely replaced older corresponding unencrypted tools and protocols. The...
# OpenSSH/Why Use Encryption Encryption has been a hot topic in computing for a long time. It became a high priority item in national and international politics in 1991 when Dr. Phil Zimmermann at the Massachusetts Institute of Technology (MIT) first published Pretty Good Privacy (PGP). With the arrival of the first w...
# OpenSSH/SSH Protocols OpenSSH uses the SSH protocol which connects over TCP. Normally, one SSH session per TCP connection is made, but multiple sessions can be multiplexed over a single TCP connection if planned that way. The current set of Secure Shell protocols is SSH2. It is a rewrite of the old, deprecated SSH1 ...
# OpenSSH/Other SSH Implementations ## Dropbear Dropbear is a smaller, modular, open source SSH2 client and server available for all regular POSIX platforms. Dropbear is partially a derivative of OpenSSH and it is often used in embedded systems because very small binaries can be produced. Functions that are not neede...
# OpenSSH/Client Applications On the client side, ssh(1), scp(1), and sftp(1) provide a wide range of capabilities. Interactive logins and file transfers are just the tip of the iceberg. : ssh(1) - The basic login shell-like client program. : sftp(1) - FTP-like program that works using the SSH protocol. :...
# OpenSSH/Client Configuration Files Client configuration files can be per user or system wide, with the former taking precedence over the latter and run-time arguments in the shell overriding both. In these configuration files, one parameter per line is allowed. The syntax is the parameter name followed by its value ...
# OpenSSH/Server The OpenSSH Server, sshd(8), listens for connections from clients and starts a new process or two for each new incoming connection to handle key exchange, encryption, authentication, program execution, and data exchange. In the case of multiplexing, some processes are reused. It can run standalone and...
# OpenSSH/Pattern Matching in OpenSSH Configuration A pattern consists of zero or more non-whitespace characters. An asterisk (**\***) matches zero or more characters in a row, and a question mark (**?**) matches exactly one character. For example, to specify a set of declarations that apply to any host in the \".co.u...
# OpenSSH/Utilities : ssh-agent(1) - An authentication agent that can store private keys. : ssh-add(1) - A tool which adds or removes keys to or from the above agent. : ssh-keygen(1) - A key generation tool. : ssh-keyscan(1) - A utility for gathering public host keys from a number of hosts. : ...
# OpenSSH/Third Party Utilities : autossh - Automatically restart SSH sessions and tunnels : scanssh - a scanner for SSH hosts and some kinds of proxies : sshfs - a user-space file system client based on SFTP : sshfp - generates SSHFP DNS records from **known_hosts** files or ssh-keyscan(1) : ...
# OpenSSH/Logging and Troubleshooting Both the OpenSSH client and server offer a lot of choice as to where the logs are written and how much information is collected. A prerequisite for logging is having an accurate system clock using the Network Time Protocol, NTP, or equivalent, service which provides ongoing time ...
# OpenSSH/Development It is possible to advance OpenSSH through donations of hardware or money. See the OpenSSH project web site at www.openssh.com for details. OpenSSH is a volunteer project with the goal of making quality software. In that way it relies upon hardware and cash donations to keep the project rolling. ...
# C Sharp Programming/K-Means++ ``` csharp using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Security.Cryptography; class KMeansPP { //Output object public class PointClusters { private Dictionary<Point, List<Point>> _pc = new...
# Proteomics/Introduction to Proteomics \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{=html...
# Proteomics/Protein Sample Preparation \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{=html...
# Proteomics/Plant Proteomics about Two Dimensional Gel Electrophoresis \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> `...
# Proteomics/Protein Separations - Chromatography \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ```...
# Proteomics/Protein Separations- Electrophoresis CurrentPage=Introduction to Electrophoresis| PrevPage=[[Proteomics/Protein Separations - Chromatography|Previous Chapter - Protein Separations: Chromatography]]| NextPage=[[Proteomics/Protein Separations- Electrophoresis/Gel Electrophoresis|Gel Electrophoresis]]}} ``` ...
# Proteomics/Protein Separations - Centrifugation \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ```...
# Proteomics/Emerging and Miscellaneous Proteomics Technologies \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=...
# Proteomics/Protein Identification - Mass Spectrometry \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <t...
# Proteomics/Protein Primary Structure \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{=html}...
# Proteomics/Post-translational Modification \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{...
# Proteomics/Protein - Protein Interactions \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{=...
# Proteomics/Protein Chips \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{=html} <td align=l...
# Proteomics/Biomarkers \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{=html} <td align=left...
# Proteomics/Experimental Protocols \_\_NOEDITSECTION\_\_ \_\_NOTOC\_\_ ### `<font size=1 color=dimgray>`{=html}Presentation`</font>`{=html} ```{=html} <table height=1 border=1 style="border-collapse:collapse; border-color:LightSkyBlue; background-color:AliceBlue;" width="100%"> ``` ```{=html} <tr> ``` ```{=html} <t...
# Human Physiology/Physiology Introduction **Physiology** The word *physiology* is from the Ancient Greek φυσιολογία (*phusiología*, \"natural philosophy\") and it is the study of how organisms perform their vital functions. An example is the study of how a muscle contracts or the force contracting muscles exert on th...
# Human Physiology/Homeostasis ## Overview The human organism consists of trillions of cells all working together for the maintenance of the entire organism. While cells may perform very different functions, all the cells are quite similar in their metabolic requirements. Maintaining a constant internal environment w...
# Human Physiology/Cell physiology ## Cell Structure and Function ### What is a Cell? A **cell** is a structure as well as a functional unit of life. Every living thing has cells: **bacteria, protozoans, fungi, plants, and animals** are the main group of living things. Some organisms are made up of just one cell are...
# Human Physiology/Integumentary System ## Introduction The **integumentary system** consists of the skin, hair, nails, the subcutaneous tissue below the skin,and assorted glands.The most obvious function of the integumentary system is the protection that the skin gives to underlying tissues. The skin not only keeps ...
# Human Physiology/The Nervous System The **central nervous system** includes the **brain** and **spinal cord**. The brain and spinal cord are protected by bony structures, membranes, and fluid. The brain is held in the cranial cavity of the skull and it consists of the **cerebrum**, **cerebellum**, and the **brain st...
# Human Physiology/Senses ## What are Senses? We experience reality through our senses. Senses are the physiological methods of perception, so a sense is a faculty by which outside stimuli are perceived. The senses and their operation, classification, and theory are overlapping topics studied by a variety of fields. ...
# Human Physiology/The Muscular System The **muscular system** is the biological system of humans that produces movement. The muscular system, in vertebrates, is controlled through the nervous system, although some muscles, like cardiac muscle, can be completely autonomous. **Muscle** is contractile tissue and is deri...
# Human Physiology/The cardiovascular system !Model of a human heart{width="500"} ## Introduction The heart is the life-giving, ever-beating muscle in your chest. From inside the womb until death, the thump goes on. The heart for the average human will contract about 3 billion times; never resting, never stopping to...
# Human Physiology/The Immune System ## Overview The immune system is a complex system that is responsible for protecting us against infections and foreign substances. There are three lines of defense: the first is to keep invaders out (through skin, mucus membranes, etc), the second line of defense consists of non-s...
# Human Physiology/The Urinary System !450 px\|right ## Introduction The **Urinary System** is a group of organs in the body concerned with filtering out excess fluid and other substances from the bloodstream. The substances are filtered out from the body in the form of **urine**. Urine is a liquid produced by the k...
# Human Physiology/The respiratory system The **Respiratory System** is vital to every human being. Without it, we would cease to live outside of the womb. Let us begin by taking a look at the structure of the respiratory system and how vital it is to life. During inhalation or exhalation air is pulled towards or away...
# Human Physiology/The gastrointestinal system ## Introduction Which organ is the most important organ in the body? Most people would say the heart or the brain, completely overlooking the gastrointestinal tract (*GI tract*). Though definitely not the most attractive organs in the body, they are certainly among the m...
# Human Physiology/The endocrine system ## Introduction To The Endocrine System The endocrine system is a control system of ductless glands that secrete hormones within specific organs. Hormones act as \"messengers,\" and are carried by the bloodstream to different cells in the body, which interpret these messages an...
# Human Physiology/The male reproductive system ## Introduction In simple terms, **reproduction** is the process by which organisms create descendants. This miracle is a characteristic that all living things have in common and sets them apart from nonliving things. But even though the reproductive system is essential...
# Human Physiology/The female reproductive system ## Introduction All living things reproduce. This is something that sets the living apart from non-living. Even though the reproductive system is essential to keeping a species alive, it is not essential to keeping an individual alive. This chapter describes the diffe...
# Human Physiology/Pregnancy and birth ## Introduction In this chapter we will discuss the topics covering pregnancy, from conception to birth. The chapter will cover fertilization, implantation of the zygote, to becoming a fetus, the three trimesters, and the progressive development of the fetus through the weeks of...
# Human Physiology/Genetics and inheritance ## Introduction Genetics is the science of the way traits are passed from parent to offspring. For all forms of life, continuity of the species depends upon the genetic code being passed from parent to offspring. Evolution by natural selection is dependent on traits being h...
# Human Physiology/Development: birth through death ## Overview We are born, we grow up, we age, and then we die. Unless disease or trauma occurs, most humans go through the various stages of the life described above. Human Development is the process of growing to maturity and mental ability. Traditionally, theories ...
# Human Physiology/Appendix 1: answers to review questions This appendix does not provide answers to the review questions posted at the end of each chapter; it is a collection of questions provided at the end of each chapter. ## Homeostasis 1\. Meaning of Homeostasis: : A\) contributor and provider : B\) expand...
# Wikijunior:Big Cats/Complete Edition # INTRODUCTION # Foreword \ # Meet The Cats \ = GREAT CATS = # Lions \ = Tigers = \ = Leopards = \ = Jaguars = \ = Snow Leopards = \ = Clouded Leopards = \ = Marbled Cats = \ = SWIFT CATS = # Cheetahs \ = SMALL NEW WORLD CATS = # Pumas \ = Lynx and bobcats = \ = Ocelots...
# Wikijunior:Big Cats/Marbled cat \_\_NOTOC\_\_ ![](Lydekker_-_Marbled_Cat.JPG "Lydekker_-_Marbled_Cat.JPG"){width="250"} The **marbled cat** is the big cat that isn\'t big at all, only slightly larger than a domestic cat. Scientists place it in the same closely related group as the lion, tiger and leopard, the *Subfa...
# Wikijunior:Big Cats/Cheetah \_\_NOTOC\_\_ !Two cheetahs together.{width="250"} **Cheetahs** are built for speed, with a whip-like spine, long legs, and a long tail that acts as a rudder for sudden turns. They are the world\'s fastest land animal (but the world's fastest animal is a bird called a peregrine falcon). T...
# Wikijunior:Big Cats/Rusty spotted cat \_\_NOTOC\_\_ **Rusty spotted cats** are the smallest members of the cat family. ## Where do rusty spotted cats live? !The range of the rusty-spotted cat appears in green Rusty spotted cats live in southern India and Sri Lanka. Those living in India mostly live in tropical dr...
# Wikijunior:Big Cats/Sand cat \_\_NOTOC\_\_ !A sand cat **Sand cats** are the other extreme cat, taking the desert heat the way the snow leopard takes the icy cold. ## Where do sand cats live? As its name implies, the sand cat is commonly found in sandy desert areas in the arid countries of Northern Africa, Arabia,...
# Wikijunior:Big Cats/Tigards The tigard is a rare feline species that comes from a male tiger and a female leopard. When people tried to cross the tiger and the female leopard the cubs that were born died. There have only been two attempts for crossing this two species: In the year 1900 Carl Hagenbeck crossed this ...
# Wikijunior:Big Cats/In danger of extinction \_\_NOTOC\_\_ ## Extinction is Forever !A photo of an extinct Bali tiger Some big cats throughout history have become extinct because they were replaced with newer species better suited to the environment. The Sabretooth (*Smilodon fatalis*) is one example of a large Ice...
# Wikijunior:Big Cats/Classification Scientists classify all living things into different groups. This helps to see what some animals have in common and how related some animals are. It is like building a family tree for living things. They classify cats as well. All cats are in the family Felidae. In English, a Puma...
# Non-Programmer's Tutorial for Python 3/Front matter All example Python source code in this tutorial is granted to the public domain. Therefore you may modify it and relicense it under any license you please. Since you are expected to learn programming, the Creative Commons Attribution-ShareAlike license would requir...
# Non-Programmer's Tutorial for Python 3/Intro ### First things first So, you\'ve never programmed before. As we go through this tutorial, I will attempt to teach you how to program. There really is only one way to learn to program. **You** must read *code* and write *code* (as computer programs are often called). I\...
# Non-Programmer's Tutorial for Python 3/Hello, World ### What you should know Once you\'ve read and mastered this chapter, you should know how to edit programs in a text editor or IDLE, save them to the hard disk, and run them once they have been saved. ### Printing Programming tutorials since the beginning of tim...
# Non-Programmer's Tutorial for Python 3/Who Goes There? ### Input and Variables Now I feel it is time for a really complicated program. Here it is: ``` python print("Halt!") user_input = input("Who goes there? ") print("You may pass,", user_input) ``` When **I** ran it, here is what **my** screen showed: `Halt!`...
# Non-Programmer's Tutorial for Python 3/Count to 10 ### While loops Presenting our first *control structure*. Ordinarily the computer starts with the first line and then goes down from there. Control structures change the order that statements are executed or decide if a certain statement will be run. Here\'s the so...
# Non-Programmer's Tutorial for Python 3/Decisions ### If statement As always, I believe I should start each chapter with a warm-up typing exercise, so here is a short program to compute the absolute value of an integer: ``` python n = int(input("Number? ")) if n < 0: print("The absolute value of", n, "is", -n) e...
# Non-Programmer's Tutorial for Python 3/Debugging ### What is debugging? : \"As soon as we started programming, we found to our surprise that it wasn\'t as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of...
# Non-Programmer's Tutorial for Python 3/Defining Functions ### Creating Functions To start off this chapter I am going to give you an example of what you could do but shouldn\'t (so don\'t type it in): ``` python a = 23 b = -23 if a < 0: a = -a if b < 0: b = -b if a == b: print("The absolute values of"...
# Non-Programmer's Tutorial for Python 3/Advanced Functions Example *Note: Some people find this section useful, and some find it confusing. If you find it confusing, feel free to skip it and continue with the next section.* To show more advanced ways of using functions, we\'ll now do a walk through for the following...
# Non-Programmer's Tutorial for Python 3/Lists ### Variables with more than one value You have already seen ordinary variables that store a single value. However other variable types can hold more than one value. These are called containers because they can contain more than one object. The simplest type is called a ...
# Non-Programmer's Tutorial for Python 3/For Loops With a for loop, we can repeat a piece of code. Let\'s look at an example: ``` python one_to_ten = range(1, 11) for count in one_to_ten: print(count) ``` The output of this code looks as follows: `1`\ `2`\ `3`\ `4`\ `5`\ `6`\ `7`\ `8`\ `9`\ `10` The output loo...
# Non-Programmer's Tutorial for Python 3/Boolean Expressions Here is a little example of boolean expressions (you don\'t have to type it in): ``` python a = 6 b = 7 c = 42 print(1, a == 6) print(2, a == 7) print(3, a == 6 and b == 7) print(4, a == 7 and b == 7) print(5, not a == 7 and b == 7) print(6, a == 7 or b == ...
# Non-Programmer's Tutorial for Python 3/Dictionaries This chapter is about dictionaries. Dictionaries have keys and values. The keys are used to find the values. Here is an example of a dictionary in use: ``` python def print_menu(): print('1. Print Phone Numbers') print('2. Add a Phone Number') print('3...
# Non-Programmer's Tutorial for Python 3/Using Modules Here\'s this chapter\'s typing exercise (name it cal.py (`import` actually looks for a file named calendar.py and reads it in. If the file is named calendar.py and it sees a \"import calendar\" it tries to read in itself which works poorly at best.)): ``` python ...
# Non-Programmer's Tutorial for Python 3/More on Lists We have already seen lists and how they can be used. Now that you have some more background I will go into more detail about lists. First we will look at more ways to get at the elements in a list and then we will talk about copying them. Here are some examples o...
# Non-Programmer's Tutorial for Python 3/Revenge of the Strings And now presenting a cool trick that can be done with strings: ``` python def shout(string): for character in string: print("Gimme an " + character) print("'" + character + "'") shout("Lose") def middle(string): print("The middl...
# Non-Programmer's Tutorial for Python 3/File IO ### File I/O Here is a simple example of file I/O (input/output): ``` python # Write a file with open("test.txt", "wt") as out_file: out_file.write("This Text is going to out file\nLook at it and see!") # Read a file with open("test.txt", "rt") as in_file: te...
# Non-Programmer's Tutorial for Python 3/Dealing with the imperfect ### \...or how to handle errors ### closing files with with We use the \"with\" statement to open and close files.[^1][^2] ``` python with open("in_test.txt", "rt") as in_file: with open("out_test.txt", "wt") as out_file: text = in_file...
# Non-Programmer's Tutorial for Python 3/Recursion ## Recursion In Python, a recursive function is a function which calls itself. ### Introduction to recursion So far, in Python, we have seen functions which call other functions. However, it is possible for a function to call itself. Let\'s look at a simple example...
# Non-Programmer's Tutorial for Python 3/Intro to Object Oriented Programming in Python 3 ## Object Oriented Programming Up until now, the programming you have been doing has been procedural. However, a lot of programs today are Object Oriented. Knowing both types, and knowing the difference, is very important. Many ...
# Non-Programmer's Tutorial for Python 3/Intro to Imported Libraries and other Functions ## Intro to Imported Libraries and other Functions In this chapter, we will cover some functions from various imported libraries that are commonly asked about, or used in Python. This chapter is not required to fully understand b...
# Non-Programmer's Tutorial for Python 3/The End So here we are at the end, or maybe the beginning. This tutorial is on Wikibooks, so feel free to make improvements to it. If you want to learn more about Python, The Python Tutorial by Guido van Rossum has more topics that you can learn about. If you have been followin...
# Blended Learning in K-12/Introduction |previous=BEGINNING |next=Definition|What is "Blended Learning"?}} ``` ## Introduction While teachers have always used a variety of teaching methods and media, blended learning includes the recent availability of digital learning technologies and Internet-based tools that facil...
# Blended Learning in K-12/Definition |previous=Introduction |next=The many names of Blended Learning}} ``` Dr. Margaret Driscoll identifies four different concepts in defining blended learning **The first defines blended learning as meaning \"to combine or mix modes of Web-based technology (e.g., live virtual classro...