Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Tuesday and.

Slides:



Advertisements
Similar presentations
Months of the year December January November October February
Advertisements

Learn all about the year.
WALT: Know the months of the year poem. Answer questions about the months.
Chubaka Producciones Presenta :.
2012 CALENDAR. JANUARY 2012 Sunday 日 Monday 月 Tuesday 火 Wednesday 水 Thursday 木 Friday 金 Saturday 土
2012 JANUARY Sun Mon Tue Wed Thu Fri Sat
January 2012 Monday Tuesday Wednesday Thursday Friday Sat/ Sun / /8 14/15 21/22 28/
P Pathophysiology Calendar. SundayMondayTuesdayWednesdayThursdayFridaySaturday January 2012.
Chicas, este calendario si es pa' nosotras !!!!!.
Prof. Alfred J Bird, Ph.D., NBCT Office – Wheatly 2nd floor Office Hours – MW 3:00PM to 4:00PM.
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSAT/SUN Note: You can print this template to use as a wall calendar. You can also copy the slide for any month to add.
You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation. If you’d like to change.
You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation. If you’d like to change.
2008 Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation. If you’d.
School Year Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.
School Year Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.
You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation. If you’d like to change.
2007 Monthly Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.
2006 Monthly Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSAT/SUN Note: You can print this template to use as a wall calendar. You can also copy the slide for any month to add.
MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSAT/SUN Note: You can print this template to use as a wall calendar. You can also copy the slide for any month to add.
January 2013 MondayTuesdayWednesdayThursdayFridaySaturdaySunday.
You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation. If you’d like to change.
You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation. If you’d like to change.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormack 3rd floor 607.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Tuesday and.
Prof. Alfred J Bird, Ph.D., NBCT Door Code for IT441 Students – * Office – Wheatly.
Prof. Alfred J Bird, Ph.D., NBCT Door Code: * Office – McCormick 3rd floor 607 Office.
Copyright © 2010 Certification Partners, LLC -- All Rights Reserved Perl Specialist.
Prof. Alfred J Bird, Ph.D., NBCT -bird.wikispaces.umb.edu/ Office – McCormick 3rd floor.
WORD JUMBLE. Months of the year Word in jumbled form e r r f b u y a Word in jumbled form e r r f b u y a february Click for the answer Next Question.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Tuesday and.
September 2008 SundayMondayTuesdayWednesdayThursdayFridaySaturday
DATE POWER 2 INCOME JANUARY 100member X 25.00P2, FEBRUARY 200member X 25.00P5, MARCH 400member X 25.00P10, APRIL 800member.
Calendar for 2011 Months of the Year with Holidays.
Copyright © 2003 ProsoftTraining. All rights reserved. Perl Fundamentals.
Prof. Alfred J Bird, Ph.D., NBCT Door Code for IT441 Students.
By Monica Hilgemann Second Grade Teacher
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Tuesday and.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607.
2011 Calendar Important Dates/Events/Homework. SunSatFriThursWedTuesMon January
Prof. Alfred J Bird, Ph.D., NBCT Door Code for IT441 Students.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607.
TEMPORAL VISUALIZATION OF DATA FROM THE FRENCH SENTINEL NETWORK.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3nd floor, room 607 Office Hours –Tuesday.
The Calendar.
July 2007 SundayMondayTuesdayWednesdayThursdayFridaySaturday
School Year Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own.
IT441 Network Services Administration
IT441 Network Services Administration
Dictation practice 2nd Form Ms. Micaela-Ms. Verónica.
TIMELINES PHOTOS This is an example text
TIMELINES PHOTOS This is an example text
McDonald’s Kalender 2009.
McDonald’s Kalender 2009.
School Year Calendar You can print this template to use it as a wall calendar, or you can copy the page for any month to add it to your own presentation.
McDonald’s Kalender 2009.
Problem Gambling Clicks to Opgr.org
2300 (11PM) September 21 Blue line is meridian..
McDonald’s calendar 2007.
1 - January - Sun Mon The Wed Thu Fri Sat
Teacher name August phone: Enter text here.
February 2007 Note: Source:.
MONTHS OF THE YEAR January February April March June May July August
McDonald’s calendar 2007.
Production Month Sun Hours K Monthly Kwh Tou Peak Value After Kwh
Habitat Changes and Fish Migration
2015 January February March April May June July August September
Habitat Changes and Fish Migration
Presentation transcript:

Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Tuesday and Thursday 4:00 PM to 5:15PM

 Write a program that: Asks you the numeric value of the month and the year you were born, creates an array with the names of the months and an array that contains the number of days in a month (remember leap years) and use these arrays in a print statement to print out the month, the year and how many days are in the month you were born based on the info you entered.

 Write a program that: Asks you the numeric value of the month and the year you were born, creates an array with the names of the months and an array that contains the number of days in a month (remember leap years) and use these arrays in a print statement to print out the month, the year and how many days are in the month you were born based on the info you entered. #!/usr/bin/perl/ print “Enter the number of the month you were born: “; chomp ($month = ); print “Enter year you were born: “; chomp ($year = = qw&January February March April May June July August September October November = (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); $numDaysCorrect = $numDays[$month-1]; if ($month==2 && $year%4==0){$numDaysCorrect=29;} print (“$months[$month-1] $year has $numDaysCorrect days \n”);

 Write code using the previous program that will print out a series of statements like the following:  The month of January has 31 days  …  Assume you do not know how many entries there are in the arrays but that both arrays have the same numbers of entries

 How do we add data to an array? = $scalar); #is one way!  But there is a better way!!  $scalar; #will do the same thing!  push will append the value in $scalar to the top  Likewise pop will take the last value in an array and do something with it.  $scalar =

 push() and pop() act on the top of an array (the highest indexed end)  shift() and unshift() act on the bottom of an array and perform the same function.  We already know what reverse() does.

 Another function is sort().  What do you think it does?  Write a simple program to try it with your array of months.  Predict the output before you try it.  What happened?  Now write a simple program to try it with an array of number between 0 and 100 (at least 20 numbers).  Predict the output before you try it.  What happened?????  Why?????

 What is a namespace?  What is a package?  Packages are perl files with.pm extn and are considered a separate namespace. So a package is nothing but group of related scalars,arrays,hashes and subroutines for a specific purpose. Once a package is included in a.pl file (using "use") and you want to call one of the subroutines of the package, you may have to use the scope resolution operator &package::subroutine1

 What is a module?  Modules are packages which have the capabilities of exporting selective subroutines/scalars/arrays/hashes of the package to the namespace of the main package itself. So for the interpreter these look as though the subroutines are part of the main package itself and so there is no need to use the scope resolution operator while calling them.

 Why use PERL?\  What other languages could we use?  Ruby, Python, Scripting…..  TIMTOWTDI!!  Other people have already done it!   

 Read pages 95 to 114 in the textbook.