COMSC 100 Programming Exercises, For SP15

Size: px
Start display at page:

Download "COMSC 100 Programming Exercises, For SP15"

Transcription

1 COMSC 100 Programming Exercises, For SP15 Programming is fun! Click HERE to see why. This set of exercises is designed for you to try out programming for yourself. Who knows maybe you ll be inspired to pursue study in computer science. At least you ll gain an appreciation for discipline, exactness, patience, and attention to detail that it takes to be a programmer. In any case, learning to program can help you develop problem- solving skills. As you go through these assignments, take the time to: understand the problem before you start doing any programming read all instructions first, complete one step at a time and make sure it s correct before starting the next step, know when to take your losses remember you can always start over if you get hopelessly lost, learn the difference between what you know and what you think you know that is, test your programs to make sure they work correctly, and they produce a desirable, professional result. In order to develop any useful understanding of programming, it is necessary to actually do some programming. That s what this series of exercises does it provides a structured, step- by- little- step sequence for learning basic programming steps. If you are diligent, read thoroughly, and precise, you will go easily from one exercise to the next, learning a bit more each time. Python The exercises in this series are designed using the Python computer programming language. You can create and execute Python programs using only an Internet browser, like Internet Explorer, Safari, Firefox, or Chrome. There are many other popular programming languages that could have been used instead, like C++ or Java, but most others involve installation and use of compiler software a step that complicates things a bit for beginners. Almost everyone knows how to use a browser, and that s all we ll need. To do our exercises, we ll use a freely available Python 3 compiler. But if you wish to use any other Python 3 compiler, you may do so. Whatever you use, you ll submit a text file for grading your instructor will tell you how to do that. If You Get Stuck You may struggle with some of these assignments, as is part of the learning process. When that happens do this: start the assignment over from scratch, and repeat this process until you complete the assignment without struggle. Do this before going to the next exercise, because each new exercise builds on what you learned from the previous ones. And click HERE for FAQs that may help you get unstuck. Online students: Contact your instructor for help before spending a lot of time in trial and error and becoming frustrated. Remember that this is supposed to be a positive experience of learning some basics of how computer programming works. There are many conceptual hurdles to overcome throughout this series of exercises, and your instructor is here to help you over them. Face- to- face students: These exercises are meant to be completed during the lab period of your regular scheduled class time, with the help and supervision of your instructor. Seek your instructor s help whenever you find yourself struggling with understanding the requirements of an exercise or if things are not working for you. These exercises are not really designed for you to do outside of class, on your own, so if you work on any at home and run into difficulty, bring it to class so that you can get it resolved. Comsc 100 Page 1 of 16 Programming Exercises

2 EXERCISE 1: Using The Internet Browser To Write And Execute Python Programs Purpose. The purpose of this exercise is for you to access the Internet page where your work for all of the exercises will be completed, and assure yourself that you ll be able to participate in this series. Requirements. On a Windows PC or on a Mac, open the Internet browser of your choice. Make sure you have access to the Internet, and go to this URL: You should see something very much like this: Exploring. If so, you ll see that there is already a simple Python program typed in the box labeled main.py. You should see an icon. Click it to execute the program, and you should see this note Hello World! : See where it says Use this section to type your Linux commands? You ll use this for the one command you ll be entering in this series the clear command, as explained on page 3. So already you have seen what a Python program looks like, you ve executed a program, and seen what actual output looks like. Good start! Experimenting. Play around with this try typing different text in the print statement of the code, and execute observe the output. Add more print statements above or below the one with Hello World! see what output you can produce. Be sure to fully left-justify each print statement! HINT: To add another print statement, copy/paste/markup the existing print ("Hello World!") statement do not type it from scratch! This helps to avoid typing errors. The hash symbol ( # ) in line 1 is a special symbol in Python. It enables programmers to type comments that do not appear in the output (in the green box) when a program is executed. It s a good thing to use for typing any identifying information your instructor may require of you, like your name, course and section number, exercise number, etc. Try adding lines below line 1, starting with #, and any text you want after. Execute, and see that the text from the print statement(s) still appear in the green Terminal box, but the comments do not. Comsc 100 Page 2 of 16 Programming Exercises

3 Your Turn. Here s the exercise in main.py, delete the text Hello World program in Python in line 1 after the hash symbol, and type your name and student ID instead. Starting in line 2, enter additional comments as directed by your instructor. Remember to use the hash symbol at the start of each comment! Write as many comments as necessary, and leave one blank line after the last comment for spacing. Starting after the blank line that follows the comments, enter one or more print statements, printing the text that your instructor assigns. It may include your name, something about yourself, something about the class or the assignment -- however your instructor directs you. About that print statement the space before the opening parenthesis is not required. And the double-quotes can be single quotes. These are your choices pick a way and stick with it. Submitting Your Work. Your instructor may just want to see your working program in the lab, and check you off without submitting the file. Or they may require that you submit the program in printed or electronic form. In any case, you will certainly want a backup of the program you wrote, because once you close your browser, all you typed will be lost! So save it to a file: To save your work to a file, open Notepad++ or Windows 8 Notepad or Mac TextEdit (formatted to make plain text ). With that running in one window, navigate back to the browser page with main.py and select and copy the contents of the main.py box. Navigate back to Notepad or TextEdit and paste. Save it with a name as specified by your instructor. That s the file you will submit. Avoid Microsoft Word, or any rich-text editor (like Mac TextEdit formatted to make rich text ). These can lose line breaks or insert extra ones when copied back into the main.py box. If you have any further work to do on the file any more programming to do anything your instructor wants you to fix then open the file, select/copy its Python program, and paste it all into the main.py box of the browser page, and just continue from there. HINT: To clear the Terminal box, enter the comment clear: HINT: If your session expires after a long period of inactivity, select-copy your program so that you don t lose it, and use your browser s back button to restart another session. Paste your program into the main.py box, and you ll be back on track. Comsc 100 Page 3 of 16 Programming Exercises

4 EXERCISE 2: Using Variables And Code Blocks In Programming Purpose. The purpose of this exercise is to introduce the concept of variables, which are capable of storing and recalling data, like the memory register on a calculator. Background. The comments and the output-producing print statements are separate blocks of code called code blocks. They are separated with a blank line, although that is just cosmetic. For this exercise, we ll introduce another code block. It comes between the comments code block and the output code block. It s the variables code block. Here s a sample code block: Like the print statements, these statements have to be fully left-justified. Each line creates a variable and stores an item of data in that variable. The sample above creates two separate variables. The word to the left of the equals sign is the variable name. The text inside the single quotes is what gets stored in the variable. Referring to it by its name, as in this sample, retrieves and substitutes a variable s content. Just a few rules variable names cannot have spaces in them, or any other punctuation (except underscore). They can only consist of letters and digits (and underscores) but cannot begin with a digit. The content of the single quoted text can be anything, as long as it s all on one line anything but a single quote! So Python allows either single or double quotes for text so we can do this: Print statements can output more than just one thing. Just list them, separated by commas, like this: By referring to a variable by its name, you get a copy of its contents. Mix and match text (offset by single or double quotes) and variables, as many as you want, separated by commas. Step-By-Step. The best way to build a program with variables is to start with just one variable. Then work that variable into your output code block. If that works, add another variable, and continue oneat-a-time until you get the hang of this. So if you intend to have variables for your first and last names, create one for your first name only and make that work. Only then, proceed to your last name. This is what we call an organic approach to programming because it grows a larger program a little at a time. Learn this approach in this exercise and apply it in all the rest of these exercises. Your Turn. Here s the exercise: use your exercise 1 file as a starting place. Following the step-bystep approach, build a variables code block with variables for your first name, last name, and any additional variables specified by your instructor. Name the variables as you wish, or as instructed. Then wherever the text from any of these variables appears among the print statements, edit those print statements so that they use the variables in place of the text. That is, if your first name is Ishmael, and it s stored in a variable named first, and the word Ishmael appears in a print statement like this: print('call me Ishmael'), then write this instead: print('call me', first). Don t worry about spacing Python handles that. Submitting Your Work. Submit your work as you did in exercise 1, following any additional requirements that your instructor may specify. Comsc 100 Page 4 of 16 Programming Exercises

5 Samples. Here are some samples that show how to organize the three code blocks comments, variables, and output: And here s what a typing error looks like note that the variable name for the car s year is spelled differently in the variables block that it is in the output block. Python blames the error on the second spelling. Note that Python explains the error and even says the line number containing the error. Comsc 100 Page 5 of 16 Programming Exercises

6 EXERCISE 3: Writing An Interactive Program That Reads An Input File Purpose. The purpose of this exercise is to introduce the concept of input, in which a user of your program types text into a separate box, and the contents of the box gets copied into variables when your program executes. This one adds an input.txt box, which you ll do in several of the remaining exercises in this sequence. This kind of program is called interactive because its input is supplied by a user, and not by the programmer (you). By contrast, the input you typed in exercise 2 is called hard-wired it was typed by the programmer (you), directly into the program. Preparation. You ll need an input.txt box. Click the plus symbol next to New Project. This adds a new file named Newfile.py. Right-click Newfile.py and choose Rename File from the popup menu. Retype the name as input.txt and press ENTER: Now you should see a tab named input.txt, and you can use the tabs to navigate between the program s file, main.py, and the input file, input.txt : Use these steps for any later exercise that requires an input file. Background. Just read -- your turn's coming! You learned in exercise 2 how to create a variable and store text in it. You also learned how to retrieve a copy of that text from the variable. But you have to edit the program every time you want to change any of the values you stored in the variables. It would be nice if you could type those values into a separate input file, and get your program to pull them from there. Then you can use the same program, without modification, with any set of inputs. Here s how it s done. As the first line in the variables code block, open the input file (named input.txt to match the added tab) and come up with a variable name to represent that file in the program. (Yes, variables can be for things other than text, as we ll see in later exercises). Comsc 100 Page 6 of 16 Programming Exercises

7 To get the first line (line 1) from the input.txt box and store it in the variable myfirstname as text, write this: str(fin.readline().strip()). Let s take that apart. fin.readline() copies the whole first line of the input file (represented as fin), including the ENTER key that was pressed when it got typed in the input file. Adding.strip() strips out the ENTER key. str( ) interprets it as text (or as Python calls it, a string ). That s a lot to take in, so just remember that str(fin.readline().strip()) copies a line from the input file as text. (Eventually we ll find out about another option besides str.) If you use fin.readline() more than once, it skips to the next lines of the input file, one at a time. The first time it s used, it gets line 1. The second time, line 2, and so on. But there s just one fin =. Your Turn. Now it's your turn! The application for this exercise is to write a program that produces a form letter, informing a raffle winner of their prize. There are two variables (the winner s name and the raffle prize). All the rest of the text in the print statements is boilerplate that is, it s the same text for all prize winners. Develop this program organically, step-by-step. Remember that in the organic approach, the program starts from very simple beginnings usually a copy/paste/markup of a previous working program. Then add features one-by-one, testing and confirming each change. Here are the steps to write the program for this exercise, using this technique. In this case, start with the default program that you get when you first open the tutorialspoint.com web page one without a variables code block yet. Step 1, write a full form letter without any variables, to print something like this: print('congratulations, Pat Student! You won our weekly computer science department raffle. Your prize is a live six-foot python. Please collect your prize at the division office before the end of the week'). Write that like you wrote exercise 2, and make sure it all works. Then apply one or both of the following options. Option 1. Break the long wrapping print statement up into multiple, shorter statements, because you really should avoid line-wrap in programming. Even though your code may wrap in main.py and so remain legible there, it won t wrap in the Terminal box, requiring left-right scrolling in order to read it. Option 2. Keep the long, wrapping print statement, and just insert \n into the text in chosen places to force a line break. That's a backslash "en", like this: print('congratulations!\nyou win'). Line breaks force the computer to skip to a new line before printing more output. Step 2, add an input.txt window, put in it the winner s name on line 1 and the prize on line 2. Step 3, back in main.py, write a variables code block to read the name and prize from the input file. To make sure it works, put simple print statements at the end of the variables code block to print the two variables. If they are right, remove those print statements they were only to confirm things are working so far. Comsc 100 Page 7 of 16 Programming Exercises

8 Step 4, replace the winner s name wherever it appears in the print statements. Replace it with the variable that stores the copy of the winner s name as read from the input file. Something like print('congratulations,', winner, 'You '). Make sure it works. Step 5, replace the prize wherever it appears in the print statements, as you did the winner. If you did this right, you should be able to change the winner and prize in the input.txt box and execute the program again without modifying main.py, and see output personalized to for the winner. This is how form letters and sheets of address labels get made! Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any set of input values for winner and prize that they wish. Here s a sample: HINT: If you click the x in the main.py or the input.txt tab and lose the tab, don t worry! Just doubleclick the name of the missing tab under the symbol, and the tab will reappear, with anything you may have typed into it. HINT: Avoid typing a variable s name more than once. Copy/paste it instead. This avoids misspellings which lead to incorrect results or execution errors. HINT: Case matters in programming. Input.txt with an uppercase I is not the same as input.txt with a lowercase i. Think of the alphabet as having 52 distinct characters a-z and A-Z instead of the usual 26. Comsc 100 Page 8 of 16 Programming Exercises

9 EXERCISE 4: Doing Text Concatenation Purpose. The purpose of this exercise is to show how text stored in variables can be concatenated, or joined, to form new text sequences. It allows you to control spacing! This introduces a new code block that comes between the variables code block and the output code block. It s the calculations code block. It creates additional variables, but their values are not hardcoded, and not interactive (from an input file). They are calculated based on values stored in other variables. Background. Here s how to concatenate variables containing text. Presuming that the variables myfirstname and mylastname already exist, we can create new variables like this: Then you can simply print one of these new variables, like this: print(myname). Note that concatenation does not include spacing like the print statements with multiple, commaseparated values does. So the programmer has to put these in, like the text with one spacebar character separating first and last name above, and the space after Ms. above. Your Turn. Rewrite the program from exercise 3 so that there are no print statements with multiple, comma-separated values. Create concatenated variables in a calculations code block to combine into new variables what s in each of exercise 3 s print statements. Even if a print statement has just one text value (like print('congratulations!')), store that is a variable in the calculations code block. Each print statement should print a variable, only. Don t get the idea that print statements should always print just variables, and that text should always be concatenated for later printing that s not the case at all. We re just doing so here in order to show how concatenation works. Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any set of input values for winner and prize that they wish. Here s a sample of main.py and the output box: Comsc 100 Page 9 of 16 Programming Exercises

10 EXERCISE 5: Doing The Math Purpose. The purpose of this exercise is to show the difference between two types of data text and numbers, and how math computations can be performed with numbers. It also demonstrates how comments can be placed anywhere not just in the comment block. See the sample below. Background. In all previous exercises, the input read from the input.txt box got read as text. That s what the str( ) is doing in the variables code blocks. Even if the text involves digits and is intended as a number, it is still just text. That is, the computer does not distinguish between letters and numbers on the keyboard it s all just series of keystrokes. Remember adding the first and last names in the previous assignment? Adding 1 and 1 in the same way would result in 11. Try this: To specify that a variable should store a number, do something like this, with float instead of str: float is an abbreviation for floating point number. The floating point is the decimal in numbers that have a fractional part like 1½ is 1.5, and the period in 1.5 is the floating point. Your Turn. Write a program that converts a temperature (on line 1 of the input.txt box) from degrees Centigrade to degrees Fahrenheit. The calculation is f = 9 * c / , where c is the temperature in degrees C (the input), and f is degrees F (the output). You recognize the plus sign, but what are these others the slash and the asterisk? / is for division; * is multiplication. This multiplies 9 times degrees C, divides that result by 5, and then adds 32. Your output should look like this: degrees C equals degrees F. It should echo the value read from input.txt (in this case, 100.0) and print the calculated variable (here, 212.0), with nice labeling to identify each. Check your work by comparing these easy reference points: -40C is -40F (the only point where C and F are the same), 0C is 32F (the freezing point of water), and 100C is 212F (the boiling point of water). Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any input value for degrees C that they wish. Comsc 100 Page 10 of 16 Programming Exercises

11 EXERCISE 6: Statistics Calculations Finding An Average Purpose. The purpose of this exercise is to provide more practice in writing programs that (1) read numbers from an input file, (2) perform calculations, and (3) show output results. Background. You know how to read multiple values from an input file. You know how to store them as numbers. You know how to addition, multiplication, and division. And you know how to echo input values and print calculated results. That s all you need to know in order to do this exercise. Your Turn. Write a program that reads five numbers from the input.txt box s lines 1-5, adds them to get their total, and calculates their average by dividing their total by 5. For these numbers, use the present temperatures from 5 different cities in the world degrees C or F your choice. The output should something like this: But wait let s do something about all those zeros! Here s how to round off a number to a maximum of two decimal digits, using a variable name average for storing the calculated average: Statements like this belong in the calculations code block, after the variable average gets calculated and before average gets used in the output code block, like this: This is the first time we re seeing a calculation that has the same variable name appearing twice. In this case, the original number stored in average (in this case, ) gets replaced with an updated, rounded-off value (in this case, it should be 73.96). Apply this, so that your program shows something like this: I rounded the total to 2 decimal digits so why do I only get.8? It s because Python rounded it to a maximum of 2 digits. In this case it got.80, and it dropped the trailing zero. It drops all trailing zeros after the first one. Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any set of input values for city temperatures that they wish. Comsc 100 Page 11 of 16 Programming Exercises

12 EXERCISE 7: Introducing if Logic - - Programming An RPN Calculator Purpose. The purpose of this exercise is to introduce logic into your programs. We ll put a number in each of the first two lines of input.txt, and use the 3 rd line to tell the program what to do with them. Background. We ve learned about comments, variables, calculations, input files, and print statements. Fun, but it s nothing we couldn t already do in Excel. It starts to get interesting when we start using Python s if-statement. An RPN calculator uses reverse Polish notation. It s not like the calculators we use today, where we add one and one using this sequence: one, plus, one, equals. In RPN, as the earliest digital calculators used, that sequence is one, one, add. We can write a 3-line input.txt, with numbers on the first two lines, and an instruction (like add ) on the 3 rd. We know how to read and store the numbers in variables in our variables code block. We can even read the 3 rd line and store it in a variable as text remember str( )? But what then? Here s how if-statements work in Python: There s a lot of detail here, but it s not too bad once we break it down. It s located in the calculations code block. dothis is the variable name used to store the instruction on the 3 rd line of input.txt. == (double-equals) is the symbol for comparing two things to see if they are equal, in this case, what s stored in dothis and the word add. Note these details: the spelling and casing of the word if, the parentheses, and the colon at the end. It all means that if the word read from the third line of the input file is add, spelled and cased exactly like that, then do all the statements indented under the if-statement. Otherwise, skip them entirely. For the two indented statements, note these details: they are both indented the same number of spaces. (The if-statement itself is not indented at all.) Both statements create new variables, just as if they were not indented and located in the variables code block. The numeric variables have to be converted to text using str(...) so that they can be used in text concatenation. The new variable saythis gets printed later in the output code block. Your Turn. Write a program that gets a number from each of the first two lines of input.txt, and reads an instruction from the third line. The program should perform that instruction on the two numbers and output a nicely formatted version that echoes the input numbers and the result. The operations to include are: add, subtract, multiply, divide, average, min, and max. The Python symbol for subtraction is (as you might have guessed) is (hyphen or minus). The others we saw in the temperature conversion exercise: plus ( + ), multiply ( * ) and divide ( / ). Comsc 100 Page 12 of 16 Programming Exercises

13 Here are sample input.txt contents that your program should be able to process: Use the organic method to create this program. To do so, start with just one operation add. Make this work for add. Once it s all working, put the next operation in multiply. Then subtract, then divide, then average, then min, then max, making sure to fully test your program each time you add one. Add and multiply are straightforward. The order of the numbers on lines 1 and 2 don t matter. But subtract and divide are a bit trickier subtraction subtracts the number from line 2 from the number in line 1. Division divides the number in line 1 by the number in line 2. Order matters! Average is just the sum divided by two, but be careful! It s not a + b / 2 as you might expect! Python scans the line and does all the multiplies and divides first, and then it takes a second pass and does the adds and subtracts. The above would divide b by 2 and add a to that result! So do this in two separate statements one that gets the sum and another that gets the average, using that sum. It s just like the addition example given above, but insert a new, indented line between the other two that says result = sum / 2. Max (return the maximum) and min (return the minimum) require logic inside logic! And they involve if-statements that don t just check for equality. The symbol to compare for equality is ==. To check if a number is less than another, it s <, and greater than is > as you might have guessed. Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any set of input numbers and any operation name that they wish. Just be sure to name the operations exactly as specified here, because your instructor will be testing with those names! Comsc 100 Page 13 of 16 Programming Exercises

14 EXERCISE 8: Statistics And if Logic Finding The Largest And Smallest Of 5 Numbers Purpose. The purpose of this exercise is to gain more experience with logic in your programming. Background. The way a computer finds the smallest number among a set of numbers is to assume that the first number is the smallest. Then it compares that to each remaining number, one-by-one, and changes it s mind whenever it runs across a better answer. So if a computer had this 3-number sequence: 10, 20, 30, it would create a variable named minimum and set it to 10 the first number. Then it would compare minimum (10) to the second number, 20, and replace the value stored in minimum with 20. Then it would compare minimum (now 20) to the second number, 30, and replace the value stored in minimum with 30. The number stored in minimum (30) at the end of this process is the answer. We know how to create variables to store numbers, and we know how to read numbers from an input file and store them in the variables. We know how to write if-statements, but we ve only ever tested for equality in them. Now we ll learn to test for greater or lesser. It s something like this: For more than two numbers, just repeat the if-statement, updating minimum as needed. Your Turn. Write a program to input 5 airline ticket prices from the input file (in the input.txt box), each on a separate line, stored in variables named as you wish. Create two new variables to track the minimum and maximum, and set them to the first input number. Then in a series of if-statements, compare to each of the other 4 inputs and update the minimum and maximum as needed. For output, echo the 5 input prices, and say the minimum and maximum, something like this: Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any set of ticket prices that they wish. Comsc 100 Page 14 of 16 Programming Exercises

15 EXERCISE 9: Sorting A List Of Names In Alphabetical Order Purpose. The purpose of this exercise is to gain more experience with logic in your programming. Background. Remember from exercise #7 that the way to check if the contents of two variables are the exact same is like this: In exercise 8 we learned the way to check if two variables contents are greater or less than one another is like this: The one on the left says if secondnumber is less than minimum, and the one on the right says if secondnumber is greater than maximum. To reorder a set of variables, you ll have to swap the contents until they are in order. Here s how to compare and swap two, so that the name stored in firstname precedes that stored in secondname, alphabetically: Your Turn. Write a program to read and store 5 names from input.txt and reorder them alphabetically, and output them. To do so, follow this recipe for your calculations code block: 1. if the first name is greater than the second name, swap them. 2. if the first name is greater than the third name, swap them. 3. if the first name is greater than the fourth name, swap them. 4. if the first name is greater than the fifth name, swap them. 1. if the second name is greater than the third name, swap them. 2. if the second name is greater than the fourth name, swap them. 3. if the second name is greater than the fifth name, swap them. 1. if the third name is greater than the fourth name, swap them. 2. if the third name is greater than the fifth name, swap them. 1. if the fourth name is greater than the fifth name, swap them. Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any set of names that they wish. Comsc 100 Page 15 of 16 Programming Exercises

16 EXERCISE 10: Your Own Recipe Multiplier Program Purpose. In this last exercise you get to apply all that you ve learned about programming so far, to make something useful. This program adjusts the amounts of ingredients in a recipe to make a number of servings that s different from the number of servings that the recipe makes. You ll also learn another useful application of the hash symbol for comments outside of the comment block itself, to provide a detailed description of a variable in the variables code block. Background. You know how to create variables for storing numbers, but to this point we ve only ever assigned values to the variables by reading them from input.txt. These examples show how to hard-wire an ingredient for a recipe, with a variable name to identify the ingredient and its unit of measure: Note that there are no single or double quote marks around the numbers. This is what tells Python that these are numbers and not text. This allows them to be used in the math calculations it s going to take to convert the amounts for a different number of servings. But first we need to know how many servings that the original recipe makes: Note the one new thing here is the hash symbol and the comment that follows it. This is a comment that s added to the end of a non-comment statement, to allow detailed description that s hard to put into a variable s name. Next we need to know how many servings we want to make, using this recipe. We can get that as input from the input.txt box like this: Finally, here s how to convert each ingredient, and round off the result: Your Turn. Write a program to convert your favorite recipe. Use as many ingredients as you like, as long as it s at least three. In your output, say the name of the recipe, the number of servings as input from input.txt, and the full name and amount of each ingredient, like this: Submitting Your Work. Submit your work as you did in previous exercises, submitting only the contents of main.py not input.txt. Your instructor should be able to test your program with any number of servings that they wish. Comsc 100 Page 16 of 16 Programming Exercises

COMSC 101 Programming Exercises, For FA15

COMSC 101 Programming Exercises, For FA15 COMSC 101 Programming Exercises, For FA15 Programming is fun! Click HERE to see why. This set of 10 exercises is designed for you to try out programming for yourself. Who knows maybe you ll be inspired

More information

We will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share.

We will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share. LING115 Lecture Note Session #4 Python (1) 1. Introduction As we have seen in previous sessions, we can use Linux shell commands to do simple text processing. We now know, for example, how to count words.

More information

Introduction to Python

Introduction to Python WEEK ONE Introduction to Python Python is such a simple language to learn that we can throw away the manual and start with an example. Traditionally, the first program to write in any programming language

More information

What is a database? The parts of an Access database

What is a database? The parts of an Access database What is a database? Any database is a tool to organize and store pieces of information. A Rolodex is a database. So is a phone book. The main goals of a database designer are to: 1. Make sure the data

More information

Microsoft Access 3: Understanding and Creating Queries

Microsoft Access 3: Understanding and Creating Queries Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex

More information

University of Hull Department of Computer Science. Wrestling with Python Week 01 Playing with Python

University of Hull Department of Computer Science. Wrestling with Python Week 01 Playing with Python Introduction Welcome to our Python sessions. University of Hull Department of Computer Science Wrestling with Python Week 01 Playing with Python Vsn. 1.0 Rob Miles 2013 Please follow the instructions carefully.

More information

Programming in Access VBA

Programming in Access VBA PART I Programming in Access VBA In this part, you will learn all about how Visual Basic for Applications (VBA) works for Access 2010. A number of new VBA features have been incorporated into the 2010

More information

Hypercosm. Studio. www.hypercosm.com

Hypercosm. Studio. www.hypercosm.com Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks

More information

Getting Started with Excel 2008. Table of Contents

Getting Started with Excel 2008. Table of Contents Table of Contents Elements of An Excel Document... 2 Resizing and Hiding Columns and Rows... 3 Using Panes to Create Spreadsheet Headers... 3 Using the AutoFill Command... 4 Using AutoFill for Sequences...

More information

Exercise 4 Learning Python language fundamentals

Exercise 4 Learning Python language fundamentals Exercise 4 Learning Python language fundamentals Work with numbers Python can be used as a powerful calculator. Practicing math calculations in Python will help you not only perform these tasks, but also

More information

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 Table of Contents Part I Creating a Pivot Table Excel Database......3 What is a Pivot Table...... 3 Creating Pivot Tables

More information

How to Create and Send a Froogle Data Feed

How to Create and Send a Froogle Data Feed How to Create and Send a Froogle Data Feed Welcome to Froogle! The quickest way to get your products on Froogle is to send a data feed. A data feed is a file that contains a listing of your products. Froogle

More information

Databases in Microsoft Access David M. Marcovitz, Ph.D.

Databases in Microsoft Access David M. Marcovitz, Ph.D. Databases in Microsoft Access David M. Marcovitz, Ph.D. Introduction Schools have been using integrated programs, such as Microsoft Works and Claris/AppleWorks, for many years to fulfill word processing,

More information

Organizational Development Qualtrics Online Surveys for Program Evaluation

Organizational Development Qualtrics Online Surveys for Program Evaluation The purpose of this training unit is to provide training in an online survey tool known as Qualtrics. Qualtrics is a powerful online survey tool used by many different kinds of professionals to gather

More information

Creating and Using Databases with Microsoft Access

Creating and Using Databases with Microsoft Access CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries

More information

Introduction to MS WINDOWS XP

Introduction to MS WINDOWS XP Introduction to MS WINDOWS XP Mouse Desktop Windows Applications File handling Introduction to MS Windows XP 2 Table of Contents What is Windows XP?... 3 Windows within Windows... 3 The Desktop... 3 The

More information

MS Access: Advanced Tables and Queries. Lesson Notes Author: Pamela Schmidt

MS Access: Advanced Tables and Queries. Lesson Notes Author: Pamela Schmidt Lesson Notes Author: Pamela Schmidt Tables Text Fields (Default) Text or combinations of text and numbers, as well as numbers that don't require calculations, such as phone numbers. or the length set by

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

Udacity cs101: Building a Search Engine. Extracting a Link

Udacity cs101: Building a Search Engine. Extracting a Link Udacity cs101: Building a Search Engine Unit 1: How to get started: your first program Extracting a Link Introducing the Web Crawler (Video: Web Crawler)... 2 Quiz (Video: First Quiz)...2 Programming (Video:

More information

Creating APA Style Research Papers (6th Ed.)

Creating APA Style Research Papers (6th Ed.) Creating APA Style Research Papers (6th Ed.) All the recommended formatting in this guide was created with Microsoft Word 2010 for Windows and Word 2011 for Mac. If you are going to use another version

More information

Website Development Komodo Editor and HTML Intro

Website Development Komodo Editor and HTML Intro Website Development Komodo Editor and HTML Intro Introduction In this Assignment we will cover: o Use of the editor that will be used for the Website Development and Javascript Programming sections of

More information

Web Ambassador Training on the CMS

Web Ambassador Training on the CMS Web Ambassador Training on the CMS Learning Objectives Upon completion of this training, participants will be able to: Describe what is a CMS and how to login Upload files and images Organize content Create

More information

Computer Programming In QBasic

Computer Programming In QBasic Computer Programming In QBasic Name: Class ID. Computer# Introduction You've probably used computers to play games, and to write reports for school. It's a lot more fun to create your own games to play

More information

Q&As: Microsoft Excel 2013: Chapter 2

Q&As: Microsoft Excel 2013: Chapter 2 Q&As: Microsoft Excel 2013: Chapter 2 In Step 5, why did the date that was entered change from 4/5/10 to 4/5/2010? When Excel recognizes that you entered a date in mm/dd/yy format, it automatically formats

More information

New Online Banking Guide for FIRST time Login

New Online Banking Guide for FIRST time Login New Online Banking Guide for FIRST time Login Step 1: Login Enter your existing Online Banking User ID and Password. Click Log-In. Step 2: Accepting terms and Conditions to Proceed Click on See the terms

More information

MICROSOFT ACCESS 2003 TUTORIAL

MICROSOFT ACCESS 2003 TUTORIAL MICROSOFT ACCESS 2003 TUTORIAL M I C R O S O F T A C C E S S 2 0 0 3 Microsoft Access is powerful software designed for PC. It allows you to create and manage databases. A database is an organized body

More information

Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008

Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008 Errors That Can Occur When You re Running a Report From Tigerpaw s SQL-based System (Version 9 and Above) Modified 10/2/2008 1 Introduction The following is an explanation of some errors you might encounter

More information

ITS Service Delivery ITSM & ITAM Services. Remedy FAQs. Frequently Asked Questions, Tips, and Tricks for using Remedy ITSM 7.6

ITS Service Delivery ITSM & ITAM Services. Remedy FAQs. Frequently Asked Questions, Tips, and Tricks for using Remedy ITSM 7.6 ITS Service Delivery ITSM & ITAM Services Remedy FAQs Frequently Asked Questions, Tips, and Tricks for using Remedy ITSM 7.6 Revision 1.0 June 7, 2011 ITSM & ITAM Services: FAQ 2 DOCUMENT SUMMARY... 3

More information

Cal Answers Analysis Training Part I. Creating Analyses in OBIEE

Cal Answers Analysis Training Part I. Creating Analyses in OBIEE Cal Answers Analysis Training Part I Creating Analyses in OBIEE University of California, Berkeley March 2012 Table of Contents Table of Contents... 1 Overview... 2 Getting Around OBIEE... 2 Cal Answers

More information

CS 1133, LAB 2: FUNCTIONS AND TESTING http://www.cs.cornell.edu/courses/cs1133/2015fa/labs/lab02.pdf

CS 1133, LAB 2: FUNCTIONS AND TESTING http://www.cs.cornell.edu/courses/cs1133/2015fa/labs/lab02.pdf CS 1133, LAB 2: FUNCTIONS AND TESTING http://www.cs.cornell.edu/courses/cs1133/2015fa/labs/lab02.pdf First Name: Last Name: NetID: The purpose of this lab is to help you to better understand functions:

More information

The Social Accelerator Setup Guide

The Social Accelerator Setup Guide The Social Accelerator Setup Guide Welcome! Welcome to the Social Accelerator setup guide. This guide covers 2 ways to setup SA. Most likely, you will want to use the easy setup wizard. In that case, you

More information

Microsoft Access 2010 Part 1: Introduction to Access

Microsoft Access 2010 Part 1: Introduction to Access CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3

More information

Cloud Backup Express

Cloud Backup Express Cloud Backup Express Table of Contents Installation and Configuration Workflow for RFCBx... 3 Cloud Management Console Installation Guide for Windows... 4 1: Run the Installer... 4 2: Choose Your Language...

More information

The first program: Little Crab

The first program: Little Crab CHAPTER 2 The first program: Little Crab topics: concepts: writing code: movement, turning, reacting to the screen edges source code, method call, parameter, sequence, if-statement In the previous chapter,

More information

Kids College Computer Game Programming Exploring Small Basic and Procedural Programming

Kids College Computer Game Programming Exploring Small Basic and Procedural Programming Kids College Computer Game Programming Exploring Small Basic and Procedural Programming According to Microsoft, Small Basic is a programming language developed by Microsoft, focused at making programming

More information

Finding and Opening Documents

Finding and Opening Documents In this chapter Learn how to get around in the Open File dialog box. See how to navigate through drives and folders and display the files in other folders. Learn how to search for a file when you can t

More information

How to Configure Outlook 2013 to connect to Exchange 2010

How to Configure Outlook 2013 to connect to Exchange 2010 How to Configure Outlook 2013 to connect to Exchange 2010 Outlook 2013 will install and work correctly on any version of Windows 7 or Windows 8. Outlook 2013 won t install on Windows XP or Vista. 32-bit

More information

Prepare your result file for input into SPSS

Prepare your result file for input into SPSS Prepare your result file for input into SPSS Isabelle Darcy When you use DMDX for your experiment, you get an.azk file, which is a simple text file that collects all the reaction times and accuracy of

More information

Horizon Debt Collect. User s and Administrator s Guide

Horizon Debt Collect. User s and Administrator s Guide Horizon Debt Collect User s and Administrator s Guide Microsoft, Windows, Windows NT, Windows 2000, Windows XP, and SQL Server are registered trademarks of Microsoft Corporation. Sybase is a registered

More information

Chapter 4. Spreadsheets

Chapter 4. Spreadsheets Chapter 4. Spreadsheets We ve discussed rather briefly the use of computer algebra in 3.5. The approach of relying on www.wolframalpha.com is a poor subsititute for a fullfeatured computer algebra program

More information

How to Create a Spreadsheet With Updating Stock Prices Version 3, February 2015

How to Create a Spreadsheet With Updating Stock Prices Version 3, February 2015 How to Create a Spreadsheet With Updating Stock Prices Version 3, February 2015 by Fred Brack In December 2014, Microsoft made changes to their online portfolio management services, changes widely derided

More information

E-mail Encryption Guide version 1.2, by Thomas Reed

E-mail Encryption Guide version 1.2, by Thomas Reed E-mail Encryption Guide version 1.2, by Thomas Reed In order for two people to send and receive encrypted e-mails to/from each other, both parties need: An e-mail reader that supports encryption (such

More information

How to Build a Form in InDesign CS5

How to Build a Form in InDesign CS5 How to Build a Form in InDesign CS5 Subject Descriptors: InDesign CS5, Text Frame, Field, Form, Tabs, Leader, Radio, Buttons, New Layer, Export, PDF, Recognition, Highlight Application (Version): Adobe

More information

2 The first program: Little Crab

2 The first program: Little Crab 2 The first program: Little Crab topics: concepts: writing code: movement, turning, reacting to the screen edges source code, method call, parameter, sequence, if statement In the previous chapter, we

More information

Enterprise Asset Management System

Enterprise Asset Management System Enterprise Asset Management System in the Agile Enterprise Asset Management System AgileAssets Inc. Agile Enterprise Asset Management System EAM, Version 1.2, 10/16/09. 2008 AgileAssets Inc. Copyrighted

More information

Microsoft Access Basics

Microsoft Access Basics Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision

More information

Tabs3, PracticeMaster, and the pinwheel symbol ( trademarks of Software Technology, Inc. Portions copyright Microsoft Corporation

Tabs3, PracticeMaster, and the pinwheel symbol ( trademarks of Software Technology, Inc. Portions copyright Microsoft Corporation Tabs3 Trust Accounting Software Reseller/User Tutorial Version 16 for November 2011 Sample Data Copyright 1983-2013 Software Technology, Inc. 1621 Cushman Drive Lincoln, NE 68512 (402) 423-1440 http://www.tabs3.com

More information

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved. 1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,

More information

Part 1 Foundations of object orientation

Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 1 Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 2 1 OFWJ_C01.QXD 2/3/06 2:14 pm Page 3 CHAPTER 1 Objects and classes Main concepts discussed

More information

Dynamics CRM for Outlook Basics

Dynamics CRM for Outlook Basics Dynamics CRM for Outlook Basics Microsoft Dynamics CRM April, 2015 Contents Welcome to the CRM for Outlook Basics guide... 1 Meet CRM for Outlook.... 2 A new, but comfortably familiar face................................................................

More information

Import Filter Editor User s Guide

Import Filter Editor User s Guide Reference Manager Windows Version Import Filter Editor User s Guide April 7, 1999 Research Information Systems COPYRIGHT NOTICE This software product and accompanying documentation is copyrighted and all

More information

Exercise 1: Python Language Basics

Exercise 1: Python Language Basics Exercise 1: Python Language Basics In this exercise we will cover the basic principles of the Python language. All languages have a standard set of functionality including the ability to comment code,

More information

OUTLOOK WEB APP 2013 ESSENTIAL SKILLS

OUTLOOK WEB APP 2013 ESSENTIAL SKILLS OUTLOOK WEB APP 2013 ESSENTIAL SKILLS CONTENTS Login to engage365 Web site. 2 View the account home page. 2 The Outlook 2013 Window. 3 Interface Features. 3 Creating a new email message. 4 Create an Email

More information

PharmaSUG 2015 - Paper QT26

PharmaSUG 2015 - Paper QT26 PharmaSUG 2015 - Paper QT26 Keyboard Macros - The most magical tool you may have never heard of - You will never program the same again (It's that amazing!) Steven Black, Agility-Clinical Inc., Carlsbad,

More information

Getting Started with

Getting Started with Getting Started with MASTERINGPHYSICS IS POWERED BY MYCYBERTUTOR BY EFFECTIVE EDUCATIONAL TECHNOLOGIES STUDENT EDITION MasteringPhysics is the first Socratic tutoring system developed specifically for

More information

Buddy User Guide. www.connectnz.co.nz 1

Buddy User Guide. www.connectnz.co.nz 1 Buddy User Guide www.connectnz.co.nz 1 Contents Please click titles to navigate through the guide CHAPTER 1 What is Buddy TM and first steps Setting up Buddy TM on your browser and logging in 3 CHAPTER

More information

FrontStream CRM Import Guide Page 2

FrontStream CRM Import Guide Page 2 Import Guide Introduction... 2 FrontStream CRM Import Services... 3 Import Sources... 4 Preparing for Import... 9 Importing and Matching to Existing Donors... 11 Handling Receipting of Imported Donations...

More information

Getting Started with MasteringPhysics

Getting Started with MasteringPhysics Getting Started with MasteringPhysics POWERED BY MYCYBERTUTOR STUDENT EDITION MasteringPhysics helps you when you need it most when you are stuck working out a problem. Designed specifically for university

More information

Windows File Management A Hands-on Class Presented by Edith Einhorn

Windows File Management A Hands-on Class Presented by Edith Einhorn Windows File Management A Hands-on Class Presented by Edith Einhorn Author s Notes: 1. The information in this document is written for the Windows XP operating system. However, even though some of the

More information

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP Consolidate Data in Multiple Worksheets Example data is saved under Consolidation.xlsx workbook under ProductA through ProductD

More information

This document is provided "as-is". Information and views expressed in this document, including URLs and other Internet Web site references, may

This document is provided as-is. Information and views expressed in this document, including URLs and other Internet Web site references, may This document is provided "as-is". Information and views expressed in this document, including URLs and other Internet Web site references, may change without notice. Some examples depicted herein are

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

Basic Setup Guide. Remote Administrator 4 NOD32 Antivirus 4 Business Edition Smart Security 4 Business Edition

Basic Setup Guide. Remote Administrator 4 NOD32 Antivirus 4 Business Edition Smart Security 4 Business Edition Basic Setup Guide Remote Administrator 4 NOD32 Antivirus 4 Business Edition Smart Security 4 Business Edition Contents Getting started...1 Software components...1 Section 1: Purchasing and downloading

More information

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9 TABLE OF CONTENTS Query 4 Lesson Objectives 4 Review 5 Smart Query 5 Create a Smart Query 6 Create a Smart Query Definition from an Ad-hoc Query 9 Query Functions and Features 13 Summarize Output Fields

More information

Version 4.1 USER S MANUAL Technical Support (800) 870-1101

Version 4.1 USER S MANUAL Technical Support (800) 870-1101 ESSENTIAL FORMS Version 4.1 USER S MANUAL Technical Support (800) 870-1101 401 Francisco St., San Francisco, CA 94133 (800) 286-0111 www.essentialpublishers.com (c) Copyright 2004 Essential Publishers,

More information

Chronicle USER MANUAL

Chronicle USER MANUAL Chronicle USER MANUAL 1st Edition 2 IN THIS MANUAL Part One The Chronicle Interface The Overview Screen The Bill Detail Screen Part Two Creating, Editing and Viewing Bills Creating Your First Bill Editing

More information

Getting Started with Blackboard A Guide for Students

Getting Started with Blackboard A Guide for Students Getting Started with Blackboard A Guide for Students Contents Your Account... 3 Accessing Blackboard... 3 Browser Issues When Connecting from Outside the Network... 4 The Blackboard Environment... 5 Tabs...

More information

Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)

Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) (Revised from http://msdn.microsoft.com/en-us/library/bb384842.aspx) * Keep this information to

More information

PeopleSoft Query Training

PeopleSoft Query Training PeopleSoft Query Training Overview Guide Tanya Harris & Alfred Karam Publish Date - 3/16/2011 Chapter: Introduction Table of Contents Introduction... 4 Navigation of Queries... 4 Query Manager... 6 Query

More information

Microsoft Outlook. KNOW HOW: Outlook. Using. Guide for using E-mail, Contacts, Personal Distribution Lists, Signatures and Archives

Microsoft Outlook. KNOW HOW: Outlook. Using. Guide for using E-mail, Contacts, Personal Distribution Lists, Signatures and Archives Trust Library Services http://www.mtwlibrary.nhs.uk http://mtwweb/cgt/library/default.htm http://mtwlibrary.blogspot.com KNOW HOW: Outlook Using Microsoft Outlook Guide for using E-mail, Contacts, Personal

More information

Access Queries (Office 2003)

Access Queries (Office 2003) Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy

More information

Creating and Using Forms in SharePoint

Creating and Using Forms in SharePoint Creating and Using Forms in SharePoint Getting started with custom lists... 1 Creating a custom list... 1 Creating a user-friendly list name... 1 Other options for creating custom lists... 2 Building a

More information

Converting an Excel Spreadsheet Into an Access Database

Converting an Excel Spreadsheet Into an Access Database Converting an Excel Spreadsheet Into an Access Database Tracey L. Fisher Personal Computer and Software Instructor Butler County Community College - Adult and Community Education Exceeding Your Expectations..

More information

Staying Organized with the Outlook Journal

Staying Organized with the Outlook Journal CHAPTER Staying Organized with the Outlook Journal In this chapter Using Outlook s Journal 362 Working with the Journal Folder 364 Setting Up Automatic Email Journaling 367 Using Journal s Other Tracking

More information

MICROSOFT ACCESS STEP BY STEP GUIDE

MICROSOFT ACCESS STEP BY STEP GUIDE IGCSE ICT SECTION 11 DATA MANIPULATION MICROSOFT ACCESS STEP BY STEP GUIDE Mark Nicholls ICT Lounge P a g e 1 Contents Task 35 details Page 3 Opening a new Database. Page 4 Importing.csv file into the

More information

Computer Science for San Francisco Youth

Computer Science for San Francisco Youth Python for Beginners Python for Beginners Lesson 0. A Short Intro Lesson 1. My First Python Program Lesson 2. Input from user Lesson 3. Variables Lesson 4. If Statements How If Statements Work Structure

More information

Encoding Text with a Small Alphabet

Encoding Text with a Small Alphabet Chapter 2 Encoding Text with a Small Alphabet Given the nature of the Internet, we can break the process of understanding how information is transmitted into two components. First, we have to figure out

More information

Web Intelligence User Guide

Web Intelligence User Guide Web Intelligence User Guide Office of Financial Management - Enterprise Reporting Services 4/11/2011 Table of Contents Chapter 1 - Overview... 1 Purpose... 1 Chapter 2 Logon Procedure... 3 Web Intelligence

More information

Making a Website with Hoolahoop

Making a Website with Hoolahoop Making a Website with Hoolahoop 1) Open up your web browser and goto www.wgss.ca/admin (wgss.hoolahoop.net temporarily) and login your the username and password. (wgss.ca is for teachers ONLY, you cannot

More information

JetBrains ReSharper 2.0 Overview Introduction ReSharper is undoubtedly the most intelligent add-in to Visual Studio.NET 2003 and 2005. It greatly increases the productivity of C# and ASP.NET developers,

More information

ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700

ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700 Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 training@csun.edu TABLE OF CONTENTS Introduction... 1 Import Excel

More information

VISUAL GUIDE to. RX Scripting. for Roulette Xtreme - System Designer 2.0

VISUAL GUIDE to. RX Scripting. for Roulette Xtreme - System Designer 2.0 VISUAL GUIDE to RX Scripting for Roulette Xtreme - System Designer 2.0 UX Software - 2009 TABLE OF CONTENTS INTRODUCTION... ii What is this book about?... iii How to use this book... iii Time to start...

More information

FRONTPAGE FORMS... ... ...

FRONTPAGE FORMS... ... ... tro FRONTPAGE FORMS........................................ CREATE A FORM.................................................................................. 1. Open your web and create a new page. 2. Click

More information

How to Set-Up your Pay Pal Account and Collect Dues On-Line

How to Set-Up your Pay Pal Account and Collect Dues On-Line How to Set-Up your Pay Pal Account and Collect Dues On-Line To Navigate, use your Page Up and Page Down or Left and Right Keyboard Arrow Keys to go Forward or Backward v.3 Open a web browser and go to

More information

Getting Started with WebSite Tonight

Getting Started with WebSite Tonight Getting Started with WebSite Tonight WebSite Tonight Getting Started Guide Version 3.0 (12.2010) Copyright 2010. All rights reserved. Distribution of this work or derivative of this work is prohibited

More information

Context-sensitive Help Guide

Context-sensitive Help Guide MadCap Software Context-sensitive Help Guide Flare 11 Copyright 2015 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this

More information

Getting Started in Tinkercad

Getting Started in Tinkercad Getting Started in Tinkercad By Bonnie Roskes, 3DVinci Tinkercad is a fun, easy to use, web-based 3D design application. You don t need any design experience - Tinkercad can be used by anyone. In fact,

More information

How to Format a Bibliography or References List in the American University Thesis and Dissertation Template

How to Format a Bibliography or References List in the American University Thesis and Dissertation Template PC Word 2010/2007 Bibliographies and References Lists Page 1 of 7 Click to Jump to a Topic How to Format a Bibliography or References List in the American University Thesis and Dissertation Template In

More information

Database Applications Microsoft Access

Database Applications Microsoft Access Database Applications Microsoft Access Lesson 4 Working with Queries Difference Between Queries and Filters Filters are temporary Filters are placed on data in a single table Queries are saved as individual

More information

MEDIAplus administration interface

MEDIAplus administration interface MEDIAplus administration interface 1. MEDIAplus administration interface... 5 2. Basics of MEDIAplus administration... 8 2.1. Domains and administrators... 8 2.2. Programmes, modules and topics... 10 2.3.

More information

Financial Reporting Using Microsoft Excel. Presented By: Jim Lee

Financial Reporting Using Microsoft Excel. Presented By: Jim Lee Financial Reporting Using Microsoft Excel Presented By: Jim Lee Table of Contents Financial Reporting Overview... 4 Reporting Periods... 4 Microsoft Excel... 4 SedonaOffice General Ledger Structure...

More information

Hands-on Exercise 1: VBA Coding Basics

Hands-on Exercise 1: VBA Coding Basics Hands-on Exercise 1: VBA Coding Basics This exercise introduces the basics of coding in Access VBA. The concepts you will practise in this exercise are essential for successfully completing subsequent

More information

INTRODUCTION TO EMAIL: & BASICS

INTRODUCTION TO EMAIL: & BASICS University of North Carolina at Chapel Hill Libraries Chapel Hill Public Library Carrboro Branch Library Carrboro Cybrary Durham Public Library INTRODUCTION TO EMAIL: & BASICS Getting Started Page 02 Prerequisites

More information

Raptor K30 Gaming Software

Raptor K30 Gaming Software Raptor K30 Gaming Software User Guide Revision 1.0 Copyright 2013, Corsair Components, Inc. All Rights Reserved. Corsair, the Sails logo, and Vengeance are registered trademarks of Corsair in the United

More information

Hosting Users Guide 2011

Hosting Users Guide 2011 Hosting Users Guide 2011 eofficemgr technology support for small business Celebrating a decade of providing innovative cloud computing services to small business. Table of Contents Overview... 3 Configure

More information

A Guide to using egas Lead Applicant

A Guide to using egas Lead Applicant A Guide to using egas Lead Applicant egas Browsers and Browser Settings Logging In Passwords Navigation Principles Your Contact Details Tasks Overview Completing Tasks egas The Health and Care Research

More information

Module One: Getting Started... 6. Opening Outlook... 6. Setting Up Outlook for the First Time... 7. Understanding the Interface...

Module One: Getting Started... 6. Opening Outlook... 6. Setting Up Outlook for the First Time... 7. Understanding the Interface... 2 CONTENTS Module One: Getting Started... 6 Opening Outlook... 6 Setting Up Outlook for the First Time... 7 Understanding the Interface...12 Using Backstage View...14 Viewing Your Inbox...15 Closing Outlook...17

More information

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement

More information

Creating A Grade Sheet With Microsoft Excel

Creating A Grade Sheet With Microsoft Excel Creating A Grade Sheet With Microsoft Excel Microsoft Excel serves as an excellent tool for tracking grades in your course. But its power is not limited to its ability to organize information in rows and

More information

Barcode Labels Feature Focus Series. POSitive For Windows

Barcode Labels Feature Focus Series. POSitive For Windows Barcode Labels Feature Focus Series POSitive For Windows Inventory Label Printing... 3 PFW System Requirement for Scanners... 3 A Note About Barcode Symbologies... 4 An Occasional Misunderstanding... 4

More information