Sub Menu contents

Unit 2

Introduction to Mobile Apps & Pair Programming

2.1 Unit Overview

2.2 I Have a Dream Tutorial

2.3 The Internet & The Cloud

2.4 I Have a Dream Part 2

2.5 Mobile Apps & Devices

2.6 Algorithm Basics

2.7 I Have a Dream Projects

2.8 Abstraction

2.9 Binary Numbers

2.10 Hardware Abstractions: Logic Gates

2.11 The Digitial Explosion

2.12 Wrap Up

 

What is Abstraction

One of the Big Ideas of the Computer Science Principles course is Abstraction. As we will see throughout the course, abstraction is an important concept and practice in computer science. But what exactly is abstraction? This lesson is provides a quick introduction to this key concept.

This lesson introduces the concept of abstraction, which is one of the seven big ideas. This will be one of many lessons in the course that focuses on abstraction. In this first look, the focus is on the everyday concept and promotes the idea that the process of abstraction is a fundamental element of human thought and language. Through a number of examples of abstraction in everyday life as well as in computing, students explore and reflect on what abstraction is and how it is exemplified in their own worlds.



Make sure to view the PowerPoint about Abstractions in the Assignments pane, and complete your Portfolio items.

Abstraction Concepts in App Inventor: Critical Thinking

This lesson also makes an initial connection to how abstraction is used in programming. The examples of an App Inventor variable and an App Inventor procedure are shown as examples of data abstraction and procedural abstraction respectively, thereby reinforcing the enduring understanding that abstractions are a fundamental element of building computer programs and other computational

Programmers create an abstraction by defining a procedure: a named sequence of operations. Once you name a bunch of operations, you can ignore the details. Procedures are sometimes called sub-procedures or functions. Here's an example: When you brush your teeth in the morning, you

  1. Open the cabinet
  2. Grab your brush and paste
  3. Put some paste on your brush
  4. Open your mouth
  5. Push the brush across your teeth

Now when a dad tells a kid to brush his teeth, he doesn’t want to explain all these steps each time. When the dad says, “brush your teeth”, he is making a procedure call. ‘Brush your teeth’ is an abstraction for all the many steps involved.