RAPTOR Syntax and Semantics - Arrays Array variable - Array variables are used to store many values (of the same type) without having to have many variable names. Instead of many variables names a count-controlled loop is used to gain access (index) the individual elements (values) of an array variable. RAPTOR has one and two dimensional arrays of numbers. A one dimensional array can be thought of as a sequence (or a list). A two dimensional array can be thought of as a table (grid or matrix). To create an array variable in RAPTOR, use it like an array variable. i.e. have an index, ex. Score[1], Values[x], Matrix[3,4], etc. All array variables are indexed starting with 1 and go up to the largest index used so far. RAPTOR array variables grow in size as needed. The assignment statement GPAs[24] ← 4.0 assigns the value 4.0 to the 24th element of the array GPAs. If the array variable GPAs had not been used before then the other 23 elements of the GPAs array are initialized to 0 at the same time. i.e. The array variable GPAs would have the following values: 1 2 3 4… Array variables in action- Arrays and count-controlled loop statements were made for each other. Notice in each example below the connection between the Loop Control Variable and the array index! Notice how the Length_Of function can be used in the count-controlled loop test! Notice that each example below is a count-controlled loop and has an Initialize, Test, Execute, and Modify part (I.T.E.M)! Assigning values to an array variable Reading values into an array variable Writing out an array variable’s values Computing the total and average of an array variable’s values Index ← 1 Index ← 1 Index ← 1 Total ← 0 Loop Loop Loop Index ← 1 PUT “The value of the array at position “ + Index + “ is “ + GPAs[Index] Loop GPAs[Index] ← 4.0 “Enter the GPA of student “” + Index + “: “ GET GPAs[Index] Index >= 24 Index >= 24 Index >= Length_Of (GPAs) Index ← Index + 1 Index ← Index + 1 Index ← Index + 1 Total ← Total + GPAs[Index] Index >= Length_Of(GPAs) Index ← Index + 1 … 23 24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4.0 The initialization of previous elements to 0 happens only when the array variable is created. Successive assignment statements to the GPAs variable affect only the individual element listed. For example, the following successive assignment statements GPAs[20] GPAs[11] ← ← 1.7 3.2 would place the value 1.7 into the 20th position of the array, and would place the value 3.2 into the 11th position of the array. i.e. GPAs[20] ← 1.7 GPAs[11] ← 3.2 1 2 3 4… … 23 24 Initialize the elements of a two dimensional array (A two dimensional array requires two loops) Row ← 1 Loop Average ← Total / Length_Of(GPAs) Find the largest value of all the values in an array variable Find the INDEX of the largest value of all the values in an array variable Highest_GPA ← GPAs[1] Highest_GPA_Index ←1 Index ← 1 Index ← 1 Loop Loop GPAs[Index] > Highest_GPA GPAs[Index] >= GPAs[Highest_GPA_Index] Column ← 1 Loop 0 0 0 0 0 0 0 0 0 0 3.2 0 0 0 0 0 0 0 0 1.7 0 0 0 4.0 An array variable name, like GPAs, refers to ALL elements of the array. Adding an index (position) to the array variable enables you to refer to any specific element of the array variable. Two dimensional arrays work similarly. i.e. Table[7,2] refers to the element in the 7 th row and 2nd column. Individual elements of an array can be used exactly like any other variable. E.g. the array element GPAs[5] can be used anywhere the number variable X can be used. The Length_Of function can be used to determine (and return) the number of elements that are associated with a particular array variable. For example, after all the above, Length_Of(GPAs) is 24. Matrix[Row, Column] ← 1 Column >= 20 Column ← Column + 1 Highest_GPA ← GPAs[Index] Highest_GPA_Index ← Index Index >= Length_Of(GPAs) Index >= Length_Of(GPAs) Index ← Index + 1 Index ← Index + 1 PUT “The highest GPA is “ + Highest_GPA¶ PUT “The highest GPA is “ + GPAs[Highest_GPA_Index] + “ it is at position “ + Highest_GPA_Index¶ Row >= 20 Row ← Row + 1
View full slide show




Slightly Less Simple Loops (C) for (index = 0; index < length; index++) { dst[index] = pow(src1[index], src2[index]); } for (index = 0; index < length; index++) { dst[index] = src1[index] % src2[index]; } for (index = 0; index < length; index++) { dst[index] = sqrt(src[index]); } for (index = 0; index < length; index++) { dst[index] = cos(src[index]); } for (index = 0; index < length; index++) { dst[index] = exp(src[index]); } for (index = 0; index < length; index++) { dst[index] = log(src[index]); } Supercomputing in Plain English: Instruct Lev Par Tue Feb 13 2018 48
View full slide show




What’s Changing and What’s Not? CHANGING: • Alpine users will change to the use of the web-based Office 365 Email tool to access email • New icons on PC’s available to access Office 365 Email (aka Office 365 Outlook Web Access (OWA)) • More comprehensive address list of email users with more information about contacts • Easier access to email and calendar by phone • Adjusted names conference rooms and shared calendars to fit within UW naming conventions NOT CHANGING • Email addresses of “uw.edu” and “u.washington.edu” remain unchanged • PC users who use Outlook on their PC today may continue to use Outlook • The Office 365 Email migration project is not changing version of Windows or other Microsoft products you use today. • “Mailman” distribution list content and management process • Implementation of other applications available in Office 365 is not within the scope of the Office 365 Email and Calendaring migration project. 5
View full slide show








Some Simple Loops (C) for (index = 0; index < length; index++) { dst[index] = src1[index] + src2[index]; } for (index = 0; index < length; index++) { dst[index] = src1[index] - src2[index]; } for (index = 0; index < length; index++) { dst[index] = src1[index] * src2[index]; } for (index = 0; index < length; index++) { dst[index] = src1[index] / src2[index]; } for (index = 0; index < length; index++) { sum = sum + src[index]; } Supercomputing in Plain English: Instruct Lev Par Tue Feb 13 2018 46
View full slide show




                           www.ndsu.edu/arch www.ndsu.edu/bisonconnection www.ndsu.edu/cms www.ndsu.edu/diversityresources www.ndsu.edu/english www.ndsu.edu/hnes www.ndsu.edu/its www.ndsu.edu/itsecurity www.ndsu.edu/mu www.ndsu.edu/student_success www.ndsu.edu/recordsmanagement www.ndsu.edu/tfac www.ndsu.edu/univsenate www.ndsu.edu/vpit www.ndsu.edu/vpur www.ndsu.edu/weather connectnd.ndus.edu helpcenter.ndsu.edu sits.ndus.edu ag.ndsu.edu www.ndsu.edu/finearts www.ndsu.edu/gradschool www.ndsu.edu/international www.ndsu.edu/news www.ndsu.edu/physics www.ndsu.edu/registrar www.ndsu.edu/vpsa                            www.ndsu.edu/alcoholinfo www.ndsu.edu/bulletin www.ndsu.edu/carringtonrec www.ndsu.edu/cdfs www.ndsu.edu/commencement www.ndsu.edu/communication www.ndsu.edu/counseling www.ndsu.edu/disabilityservices www.ndsu.edu/dining_services www.ndsu.edu/eci www.ndsu.edu/education www.ndsu.edu/forestservice www.ndsu.edu/ime www.ndsu.edu/modernlanguages www.ndsu.edu/oira www.ndsu.edu/pesticide www.ndsu.edu/president www.ndsu.edu/pkp www.ndsu.edu/saem www.ndsu.edu/sheepandgoat www.ndsu.edu/staff_senate www.ndsu.edu/statistics www.ndsu.edu/trio www.ndsu.edu/vpaa www.ndsu.edu/web www.ndsu.edu/webmaster www.ndsu.edu/wellness
View full slide show




Jagged arrays  Implemented as arrays of arrays , 4 index type index lower bound index upper bound address address , 3 , 3 index type index type index lower bound index lower bound index upper bound index upper bound address address , 7 , 7 index type index type index lower bound index lower bound index upper bound index upper bound address address , 4 , 4 index type index type index lower bound index lower bound index upper bound index upper bound address address , 5 , 5 index type index type index lower bound index lower bound index upper bound index upper bound address address 24
View full slide show




Extreme Questionnaire An experiment was conducted to investigate the effects of replacing the moderately worded SUS with versions with the neutral SUS Wording statements replaced by statements that were worded in an extremely positive or an extremely negative fashion. The System Usability Scale (SUS) The Extremely Positive System Usability Scale (XP-SUS) The Extremely Negative System Usability Scale (XN-SUS) 1. I think that I would like to use 1. I think that this is one of my all1. I think I never want to use the web this system frequently. time favorite web sites. site again. 2. I found the system unnecessarily 2. I found the web site was really 2. I found the web site to be horribly complex. straightforward. complex for no good reason. 3. I thought the system was easy to 3. I thought the web site was 3. I thought the web site was very use. amazingly easy to use. difficult to use. 4. I think that I would need the 4. I think that technical support 4. I think that I would need a permanent support of a technical person to services are just not required for hot-line to the help desk to be able to be able to use this system. the web site. use the web site.* 5. I found the various functions in 5. I found the various pages on the 5. I found all the pages on the web site this system were well integrated. web site worked together very to be an ugly mess. 6. I thought there was too much smoothly. 6. I thought the inconsistency in the web inconsistency in this system. 6. I thought the web site was site would kill it. 7. I would imagine that most people consistent throughout. 7. I found the web site to be completely would learn to use this system 7. I would imagine anybody could use impossible to use. very quickly. the web site like a pro from day 8. I found that this web site was 8. I found the system very one. extremely awkward to use. cumbersome to use. 8. I found the web site was a delight 9. I felt utterly confused by the web site. 9. I felt very confident using the to use. 10.Absolutely nothing about the web system. 9. I felt completely confident using the site worked 10.I needed to learn a lot of things web site. before I could get going with this 10.Everything to know about A set of volunteersI needed was asked to evaluate a website, with one-third CS 321 system. using the website was there for me. Lesson Twenty-Two Questionnaires Page 6 of the volunteers randomly assigned the traditional SUS questionnaire, one-third randomly assigned the XP-SUS questionnaire, and the final one-third randomly assigned the XN-
View full slide show




A Very Complicated Loop lot = 0.0 DO index = 1, length lot = lot + & src1(index) * src2(index) + & src3(index) * src4(index) + & (src1(index) + src2(index)) * & (src3(index) + src4(index)) * & (src1(index) - src2(index)) * & (src3(index) - src4(index)) * & (src1(index) - src3(index) + & src2(index) - src4(index)) * & (src1(index) + src3(index) & src2(index) + src4(index)) + & (src1(index) * src3(index)) + & (src2(index) * src4(index)) END DO & & & & & & & & & & & & 24 arithmetic ops per iteration 4 memory/cache loads per iteration Supercomputing in Plain English: Instruct Lev Par Tue Feb 13 2018 63
View full slide show




Select courses from Lynda.com have been uploaded into the Shark Talent Management System. You can search and register for these courses at your convenience by logging into Shark Talent Management as searching by title. About Lynda.com Access for NSU Employees The NSU Alvin Sherman Library is now proud to provide access to Lynda.com, a vast online library of high-quality, current, and engaging video tutorials taught by recognized industry experts. It is accessible to the entire NSU community and you can now access it FOR FREE with your NSU Shark card. With free access to online video tutorials, employees can learn from industry experts on business, technology, creative skills, and more all at their own pace. Whether they are a professional wanting to refresh their knowledge, or an amateur starting from square one, Lynda.com has relevant courses at a level for everyone. After an account is set up, users can fill in a profile and their interests which enables Lynda to recommend relevant videos to them. To access your Lynda account, visit: https://sherman.library.nova.edu/auth/index.php COURSE CATALOG | JULY 2018 — JUNE 2019 21
View full slide show




Variable Importance List: SAS Enterprise Miner Output from Preliminary Decision Tree Analysis *BB = BlackBoard Predictive Measures High School GPA Avg. BB* logins per non-STEM courses that use BB Received merit scholarship (y/n) BB non-stem course logins in week one Total units transferred in at time of admission BB non-STEM course logins during weeks 2 to 7 Avg. SAT critical reading score by high school (from College Board data) Math Placement Score BB STEM course logins during weeks 2 to 7 BB non-STEM course logins through week 7 BB STEM logins weeks 1 to 7 Avg. SAT math score by high school (from College Board data) BB avg. logins per STEM course Total AP STEM units DFW STEM rate in first semester courses Number of STEM credits with DFW rates >= 10% Number of non-STEM credits with DFW rates >= 10% Received Perkins loan (y/n) Gender Avg. SAT math and verbal score by high school (from College Board data) Received TAP (y/n) Amount of federal financial aid need Amount of disbursed scholarship aid Combined SAT math and verbal score Advising visits during week 2 to 7 Level of math courses, e.g., MAP, calculus or higher level SAT writing score SAT verbal score Relative Importance 1.000 0.682 0.544 0.517 0.490 0.456 0.425 0.419 0.387 0.350 0.349 0.317 0.303 0.290 0.273 0.253 0.244 0.223 0.212 0.211 0.193 0.192 0.183 0.149 0.130 0.124 0.099 0.088 22
View full slide show




The calendar Module • The calendar module supplies calendar-related functions, including functions to print a text calendar for a given month or year. • By default, calendar takes Monday as the first day of the week and Sunday as the last one. To change this, call calendar.setfirstweekday() function. • SN Here is a list of functions available the calendar module: Function withwith Description 1 calendar.calendar(year,w=2,l=1,c=6) 2 Returns a multiline string with a calendar for year year formatted into three columns separated by c spaces. w is the width in characters of each date; each line has length 21*w+18+2*c. l is the number of lines for each week. calendar.firstweekday( ) 3 Returns the current setting for the weekday that starts each week. By default, when calendar is first imported, this is 0, meaning Monday. calendar.isleap(year) Returns True if year is a leap year; otherwise, False.
View full slide show




4 5 6 7 8 9 10 11 12 calendar.leapdays(y1,y2) Returns the total number of leap days in the years within range(y1,y2). calendar.month(year,month,w=2,l=1) Returns a multiline string with a calendar for month month of year year, one line per week plus two header lines. w is the width in characters of each date; each line has length 7*w+6. l is the number of lines for each week. calendar.monthcalendar(year,month) Returns a list of lists of ints. Each sublist denotes a week. Days outside month month of year year are set to 0; days within the month are set to their day-ofmonth, 1 and up. calendar.monthrange(year,month) Returns two integers. The first one is the code of the weekday for the first day of the month month in year year; the second one is the number of days in the month. Weekday codes are 0 (Monday) to 6 (Sunday); month numbers are 1 to 12. calendar.prcal(year,w=2,l=1,c=6) Like print calendar.calendar(year,w,l,c). calendar.prmonth(year,month,w=2,l=1) Like print calendar.month(year,month,w,l). calendar.setfirstweekday(weekday) Sets the first day of each week to weekday code weekday. Weekday codes are 0 (Monday) to 6 (Sunday). calendar.timegm(tupletime) The inverse of time.gmtime: accepts a time instant in time-tuple form and returns the same instant as a floating-point number of seconds since the epoch. calendar.weekday(year,month,day) Returns the weekday code for the given date. Weekday codes are 0 (Monday) to 6 (Sunday); month numbers are 1 (January) to 12 (December).
View full slide show




CEO – New Event Proposal SPEED DATING CHOICES: Social Media Marketing (Speed Dating with Social/Digital Professionals) In two hours you will have 6 opportunities to get in on concise, targeted information to use, drive, or launch your business ideas, products, or services. You can join 6 Different Marketing Roundtables in 2 Hours (15 minutes apiece/5 minutes apart) (120 minutes divided by 6 = 20 minutes) Handouts included for each Roundtable 1. The Latest and Greatest in Trends in Digital and Social Marketing 2. Create the Perfect Media stories or angles that local media will cover 3. Easy tips with Social Platforms – Facebook, Twitter, YouTube, Instagram, and Pinterest 4. Branding You to create a Value Brand 5. Get LinkedIn to Expand your Reach 6. Subject Line Secrets to Entice Email Readers 7. Growing Your Business with Virtual Assistants 8. Engaging Content for your Blogs 9. Finding Social Media Influencers who can benefit your brand 10. Creating a Killer Facebook Ad Campaign 11. Going viral is the name of the game 12. Manage Your Personal Reputation Online 13. Tweet Them Right: Steps to Increasing Customer Loyalty On Twitter 14. The Top Video Categories that Dominate YouTube 15. How Mobile Technology & Social Media are Merging 16. The Do’s and Don’ts of Profile Pictures on Social Media 17. Instagram is the new Storefront Window Shopping 18. Real Time Video Streaming on Social Media 19. How to Sell Using Social Media Without Looking Pushy 20. How Direct Selling Can Go Social
View full slide show




Fallback for Old Browsers • Fallback content can be displayed in browsers that do not support : “” Canvas is not supported! • Scripts can also check for support: // get reference to element var canvas = document.getElementById(‘my_canvas’); if( canvas.getContext() ) { var ctx = canvas.getContet(‘2d’); // drawing code… } else { // canvas unsupported code… } 12
View full slide show




“Heads Up” on some Pre and Post Migration Checklist Items PRE-MIGRATION • • Browse available training and help resources and be familiar of how you will access and use Office 365 Email • Alpine Folders – removing special characters from folder names (at least 2 weeks prior) • Do not request changes to your UW Net Id (password OK) • Update information in Workday so your displayed name and other information appear as desired in the Office 365 Email directory for UW. • Pre-migration exporting email contacts from Alpine or Outlook – see instructions for exporting and saving them. (OPTIONAL) POST-MIGRATION • • One-time set-up for web-based access (language and time zone selection) • Outlook Users will need to follow some simple steps the first day of go-live to run a program to “configure” their Outlook to see Office 365 Email. • Be aware of any changes to methods of updating shared calendars or reserving conference rooms/equipment • Configure your smartphone to access Office 365 Email (OPTIONAL) • Re-set up signature line (OPTIONAL) • Import any contacts saved prior to migration (OPTIONAL) • Verify accuracy of calendar migration (OPTIONAL) • Granting permissions to view your calendar details (OPTIONAL) 6
View full slide show




References • LinkedIn Help. (n.d.). Retrieved October 03, 2016, from https://www.linkedin.com/help/linkedin/answer/ 45/how-linkedin-can-help-you?lang=en • https://business.linkedin.com/talent-solutions/blog/2014/12/5-tips-for-pi cking-the-right-linkedin-profile-picture • https://www.linkedin.com/pulse/2016-linkedin-stats-you-should-knowupdated-katy-elle-blake?published=t
View full slide show