Snap

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Reporter Block

A block that contains a value, anything from numbers to strings

Generalization

A command that is simplified without being repetitive.

Blocks

A list of commands that can be executed without user interaction

Scripts

A list of commands that can be executed without user interaction

Item Block

A part of a list that works in a similar way to a variable, there can be an unlimited amount of items in a list

Functions

Allow for one to make their own programming blocks. Useful for reusing a sequence of blocks in different parts of code, without duplicating the blocks each usage

Command Blocks

Allow you to give orders to your computer to perform certain things

If-Else blocks

Another way to refer to a selection structure. If Condition A is True then perform Action X else, perform Action Y

Sequencing

Basic structures in computer programming. In a sequence structure, an actionleads to the next ordered action in a predetermined order

Repeat Blocks

Blocks held inside this block will loop a given amount of times, before allowing the script to continue.

Procedure

Blocks with a puzzle shape like point in direction

Function

Blocks with an oval shape like pick random

Hiding Complexity

Hiding details, make it look simple

Selection

In a selection structure, a question is asked, and depending on the answer, the program takes one of two courses of action, after which the program moves on to the next event

Hat Blocks

Indicates when the script should be carried out and is designed to start off a script

algorithm

Is a sequence of steps that are usually performed by a computer. In some programming languages, like Snap!, you program algorithms by dragging blocks (individual instructions) and snapping them together. In other languages, you type the instructions. The idea is the same

Debugging

Process of locating and removing computer program bugs, errors or abnormalities

Parameter

The input name, such as number of branches, which is set in the block definition

Argument

The input value, such as 6 for a hexagonal pinwheel, which is given each time the block is used

Sprites

The objects that perform actions in a project

List Blocks

Used to manipulate lists

Condition Blocks

When the block is invoked, it acts as a reporter block, reporting "true" or "false" string values or the numbers "1" and "0" depending on their usage in a script

Iteration

a type for repeat block that has a variable that counts over it

Snap!

puzzle-piece shapes that are used to create code

Abstraction

using a more general block (pinwheel) to create two more specific blocks (asterisk and polygon).


Kaugnay na mga set ng pag-aaral

Unit 2 chapters 2,18, and 3 economics

View Set

ECO 101 Final Part 1 Practice Questions

View Set

Health Psychology Midterm 2 (PSC 126)

View Set

Stats Test 3 (Ch. 12- 14) Lab Notes

View Set

Starting Out With Python Chapter 3

View Set

Map of the Modern World Study Guide

View Set

Prep U/ Qs - Chapter 14: Assessing Skin, Hair, and Nails

View Set

Unit 29 - Florida Laws and Rules Pertinent to Health Insurance

View Set