[go: up one dir, main page]

0% found this document useful (0 votes)
14 views11 pages

Create Task Final Check

The document outlines the requirements for creating a My Block in a programming task, emphasizing the need for a parameter, an IF block, and a loop that runs more than once. It also specifies the necessity of making at least one call to the My Block with data and explains how different calls will trigger different IF statements. Additionally, it highlights the importance of managing complexity with a list that contains multiple items and allows access to those items.

Uploaded by

Sushmoy Barua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views11 pages

Create Task Final Check

The document outlines the requirements for creating a My Block in a programming task, emphasizing the need for a parameter, an IF block, and a loop that runs more than once. It also specifies the necessity of making at least one call to the My Block with data and explains how different calls will trigger different IF statements. Additionally, it highlights the importance of managing complexity with a list that contains multiple items and allows access to those items.

Uploaded by

Sushmoy Barua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

CREATE TASK

FINAL CHECK
Your My Block - Part 1

You need to have a My Block and a parameter. As seen in this picture.


Your My Block - Part 2
You need to have
at least 1 IF block
that uses the
parameter (small
pink oval)

It does not matter


how you use it,
such as =, >, <, etc.
You just need to
use it in the top
portion of the IF
Your My Block - Part 3
You need to have some sort of loop inside of
your My Block

This is a REPEAT

OR

REPEAT UNTIL

FOREVER DOES NOT COUNT

YOUR LOOP NEEDS TO RUN MORE THAN 1 TIME

Here are examples of loops - you need at least 1


loop.
My Block Calls - Part 1

These are CALLS to your My Block

You need at least 1 CALL in your program that


sends data over to your My Block

You might be sending text over or numbers


My Block Calls - Part 2

Depending on the value being passed


(in this examples it is 95)

A certain IF STATEMENT will run.


My Block Calls - Part 2

Depending on the value being passed


(in this examples it is 95)

A certain IF STATEMENT will run.


My Block Calls - Part 3
You will need to explain to the College Board that certain calls will make your
program do certain things.

Like in the previous 2 slides; you would explain that if the call was
YourMyBlockName (95) Then the first IF STATMENT would run and would do a certain
thing.

If the call was YourMyBlockName (10) then the first IF STATEMENT IS FALSE and the
second IF STATEMENT would be TRUE would run and make your program do
something different.
List - Part 1

You need a list that helps manage the


complexity of your program.

You can have many list in your


program, but you can only mention
and talk about 1.
List - Part 2
You need to add items to your list

YOU NEED TO ADD MORE THAN 1 ITEM TO YOUR LIST

YOU WILL NOT GET CREDIT IF YOUR LIST ONLY HAS 1 ITEM
List - Part 3
You need access multiple
items from your list.

This could be checking the


values of each or trying to
find something on your
list.

This example shows going


through the list to find
items that are greater than
100.

You might also like