COMPUTER SCIENCE IAR 3, YEAR 9

?
Make a shopping list with the values: Apples, Oranges and Bananas
ShoppingList=["Apples","Oranges","Bananas"]
1 of 12
Add the value: Grapes to this list
ShoppingList.append("Grapes")
2 of 12
Run a program checking the amount of values in the list
print(len(ShoppingList))
3 of 12
Delete the value Oranges from this List
ShoppingList.remove("Oranges")
4 of 12
Sort the values in this list
ShoppingList.sort()
5 of 12
How do you convert from Binary to Hexa?
Put it in the table of values, make it read 8,4,2,1,8,4,2,1. Put a line through the middle. Add numbers on both sides. 10=A, 11=B, 12=C, etc.
6 of 12
Hexa to binary?
Convert any letters back to numbers then make the combination with the table of values to equal those numbers.
7 of 12
Den to Binary?
Make the combination in the tables of values with the denary number
8 of 12
Binary to Den?
Put it under the table of values and add
9 of 12
Hexa to Den?
Table of 16^0, 16^1 and 16^2 values. Then that number times every number in the column
10 of 12
Den to Hexa?
Convert to Binary and then solve normally.
11 of 12
State the Laws of Adding Binary
0+0=0, 0+1=1, 1+0=1, 1+1=10, 1+1+1=11
12 of 12

Other cards in this set

Card 2

Front

Add the value: Grapes to this list

Back

ShoppingList.append("Grapes")

Card 3

Front

Run a program checking the amount of values in the list

Back

Preview of the front of card 3

Card 4

Front

Delete the value Oranges from this List

Back

Preview of the front of card 4

Card 5

Front

Sort the values in this list

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Fun resources:

See all Fun resources »See all Fun resources »