background preloader

Programming

Facebook Twitter

Posters: Mother Tongues of Computer Languages. Click here to see this poster in more detail (550MB PNG) or Click here for a truly big version (1.1MB PNG) Thanks for the original scan Dan Croghan Thanks for the much cleaned up and corrected version Travis Owens (see Travis' Blog here) A Comment from enthusiast Jim Franz I know the poster of "Mother Tongues" could not fit all languages, but there is one that is highly in use by large and small corporations around the world, has hundreds of thousands of active coders, has been around since the 60's, yet refreshed enough to be an active & viable business language today.

RPG-Report Program Generator (and the current version RPG IV). As fully functional (or more functional) as Cobol, corps like Office Depot, Royal Caribbean Cruise Lines, Disney World, Universal Studios, and many more (banks, insurance companies, manufacturing, retail, etc) have major application systems running this language. A Correction from James Britt There is, though, an error regarding the Ruby programming langauge. Robomindacademry. Algorithm&Flowchart. Key SCRATCH vocabulary. Teaching Kids to Code. Every era demands--and rewards--different skills. In different times and different places, we have taught our children to grow vegetables, build a house, forge a sword or blow a delicate glass, bake bread, create a soufflé, write a story or shoot hoops. Now we are teaching them to code. We are teaching them to code, however, not so much as an end in itself but because our world has morphed: so many of the things we once did with elements such as fire and iron, or tools such as pencil and paper, are now wrought in code.

We are teaching coding to help our kids craft their future. In this collection we share many different perspectives on coding, from a university professor's vantage point (MIT's Mitch Resnick describes why learning to code is like learning to learn) to an entrepreneur's reflections from his cross-country roadtrip to bring coding--and his stuffed dog--to classrooms across the U.S. We should always teach children to bake bread, feed the goats and wield a hammer. Part 4: Introduction to XAML | Windows Phone 8 Development for Absolute Beginners.

Source Code: PDF Version: In this lesson, I want to talk about the XAML syntax we wrote in our first pass at the SoundBoard app. Hopefully you could see how the XAML we wrote impacted what we saw in the Phone preview pane. It's relatively easy to figure out the absolute basics of XAML just by looking at it, but I want to point out some of the features and functions that may not be obvious at first glance.

At a high level, here's our game plan in this lesson: We'll talk about the purpose and nature of XAML, comparing it to C# We'll talk about the special features of XAML ... little hidden features of the language that may not become obvious by just staring at it My aim is by the end of this lesson you'll have enough knowledge that you can look at the XAML we write in the remainder of this series and be able to take a pretty good guess at what it's doing before I even try to explain it. 1.

XAML is a special usage of XML. 2. Computing Science Inside... Material for Educators. Binary Game. Skip to Content | Skip to Footer Cisco Binary Game The Cisco Binary Game is the best way to learn and practice the binary number system. It is great for classes, students and teachers in science, math, digital electronics, computers, programming, logic and networking. It is also a LOT of fun to play for anyone who likes to play fast-paced arcade games. Cambridge GCSE Computing Courses - RAM and ROM | Cambridge GCSE Computing online - supporting the GCSE in Computing Science from OCR. Algorithm. An algorithm is a step-by-step list of directions that need to be followed to solve a problem.

The instructions should be simple enough such that each step can be done without thinking about it. Algorithms are often used to describe how a computer might solve a problem. But there are algorithms in the real world too. A recipe can be considered a type of algorithm. It tells what ingredients are needed to make the dish and what steps to follow. Comparing algorithms[change | edit source] There is usually more than one way to solve a problem. In cooking, some recipes are more difficult to do than others, because they take more time to finish or have more things to keep track of. Sorting by colors[change | edit source] This is an example of an algorithm for sorting cards with colors on them into piles of the same color: Sorting by numbers[change | edit source] These are examples of algorithms for sorting a stack of cards with many different numbers, so that the numbers are in order.

Algorithms and programming principles. The physics of Angry Birds: how it works. We're sure, without a doubt, that you know Angry Birds. We're equally sure that you've played it - it's available for purchase on innumerable device platforms, and even for free on Google Chrome and Android, albeit with annoying ads. And we're pretty certain you're better at it than we are. Just in case, the basic plot of the game is to knock out a bunch of green pigs by firing flightless birds at them from a catapult. The birds are angry because the pigs have stolen their eggs, and the pigs are trying to protect themselves by hiding in some remarkably ramshackle structures made of wood, glass, or rock. And that's it really.

Put baldly like that it doesn't seem like much, but in reality it's quite addictive. I think that part of the reason for its addictiveness is that the launching and the flight of the birds seems very natural, the collisions authentic, and the wobbliness of the pigs' constructions real. Exploring velocity It all boils down to some fairly simple algorithms. STEM Lesson: Using MIT App Inventor in the Classroom.

MIT’s App Inventor is a browser-based platform that allows anyone, including your students, to create mobile apps for android based devices. Computer programming is a high level STEM subject requiring the integration of skills in multiple core areas. Using programming to create applications for the devices that students have in their pockets makes computer science relevant, rewarding and fun-as well as potentially profitable. Discussion/Introduction: Some of the students may have smart phones in their possession, and this is a good chance for them to show off a bit. Have them talk about apps they find useful, things they got rid of and so on.

Make sure they are appropriate to school. Would students like to create their own app and possibly get compensated in real money? The most difficult part of this is starting off with an idea for an app: what functionality is missing, should be improved, or could be integrated, into a phone? Getting Started With App Inventor Lesson 1: Drum App Summary.

RoboZZle online puzzle game. Welcome to RoboMind.net, the new way to learn programming. The binary behind algorithms. The Digital Schoolhouse and Langley Grammar School’s ICT Department has embraced the teaching of computing by launching a binary behind algorithms lesson. This lesson introduces pupils to the basics of 'algorithms' and 'programming' required to cover the KS2 Points of Study in the proposed Department for Education curriculum. Pupils are intoduced to the terminology using a range of audio, visual and kinethatic learning activities e.g. Michael Jackson Moon Walk, and related to their real world. Pupils will study what 'selection' is and the various types of 'interaction' i.e. repetition but in relation to the words/language they already know.

Pupils also learn about what binary is and how it relates to algorithms, in particular thinking about why is it important for algorithms to be accurate and as efficent as possible when programming. UnpluggedTeachersMar2010-USletter. Scratch Day East Resources. Free Computer Science Logo | Lesson Hacker. We’ve completed our transition to a fully fledged Computer Science department at my school, as part of this we took rebranding seriously and as we’ve created some really outstanding department brand identity.

I felt that it was the right time to share this with other people planning on a rebrand of their ICT departments for the brave new world of Computer Science. I’m excited by Computer Science; that was what I studied for my degree, but most people don’t understand the difference. The rebrand really had the effect of people asking us, genuinely, “What’s the difference between this and ICT?” Which is a really powerful buy-in from students, colleagues and parents. The following two images are high-resolution enough to be useful for anyone, and you can feel free to use them and abuse them as you like – I’m putting them under a CC licence. And there’s even a cracking icon for you to use!

Ultrasonic Distance Measurement Using Python – Part 1. LEDs, buzzers and switches are the most common items people attempt to interface to their Raspberry Pi’s. Something I found in eBay that is a little bit different is an ultrasonic measurement module. This allows you to measure the distance to the nearest wall or solid object. The modules are easy to buy, cheap and relatively straight forward to interface to the GPIO header. So here is some information on my experiments with an Ultrasonic measurement module and Python. In future projects I can see these modules being a great way to add some intelligence to a Pi powered robot or car. The HC-SR04 module cost approximately £3 ($5) and is the size of a box of matches.

Connecting To The Pi Powering the module is easy. The input pin on the module is called the “trigger” as it is used to trigger the sending of the ultrasonic pulse. You can use any GPIO pins you like on your RPi but you will need to note the references and amend your Python script accordingly. Ultrasonic Module Circuit Python Script. A Beginner's Guide to DIYing with the Raspberry Pi. Lifehacker: a beginner’s guide. Quickly Convert Binary to Decimal in Your Head | zenoli.net. [Update, April 13, 2007: Thanks to Herr Ziffer for catching a confusing typographical error.] I can’t believe I’d never seen (or figured out) this quick method for converting a binary number to a decimal number in your head. All you need to be able to do is double numbers and occasionally add one. Start at the first ’1′ on the left, and start with the mental number oneMove one digit right. If that digit is a zero, multiply your mental number by two.

Here’s an example. 1011010 – We start at the first one. The rest of this post is a little more technical, so if you glazed over when reading the above, it now may be time to soothe your tired mind. I happened across this trick while contemplating a three-state discrete finite automaton that identifies binary numbers divisible by three. For even more fun, the regular expression (0*(1(01*0)*1)*)* will also match binary numbers divisible by three. Exciting! Mputer Programming Roleplay.