Week 1 - Presentation
Week 1 - Presentation
Assignment/Exam Instructions:
• The default programming language for the course is Python unless otherwise explicitly allowed
• Code should be submitted using Moodle Page https://learn.azimpremjiuniversity.edu.in/login/index.php
• Make sure to include comments in code for readability
• If submitting only one ipynb file name it "yourregisternumber_firstname_lastname.ipynb” nd if it is necessary to
submit multiple files, then keep all those files in a directory and ZIP the directory with name
"yourregisternumber_firstname_lastname.zip"
Honor Code:
• You are free to discuss the assignment problems with other students in the class.
• But all your code should be produced independently without looking at/referring to anyone else's code.
• Any cases of copying will be dealt with as per the APU policy guidelines along with the possibility of awarding U
(unsuccessful) grade.
General Information (3)
Grading:
• Algorithmic thinking/Scratch (21%): In-class group work (12%), 1 coding test (9%)
• Python (70%): 2 coding tests (18%), 4 take home assignments best 3 to be taken (27%), final
project (25%)
• Hardware (9%): 1 written test (9%)
Grading for in-class group work: Total tasks 10, will be graded out of total score 15
• 0 - for not completing any of the tasks
• 1 - for completing some of the tasks
• 2 - for completing all the tasks
From https://classic.csunplugged.org/programming-
languages/#Marching_Orders
In-class Activity 2
• Form groups. Each group will be given a collection of playing cards
• Write a set of instructions to find the minimum card from the stack
of cards
• Pair up with another group and evaluate each other
From https://curriculum.code.org/csp-19/unit3/2/
In-class Activity 3
From https://curriculum.code.org/csp-19/unit3/2/
In-class Activity 4
• Write instructions to add two numbers. Write the instructions as if
you are giving them to a six-year-old. More precisely, you may
assume they know how to count, but nothing more. For simplicity,
assume that both numbers are less than 5
• Can you now give a set of instructions to add three numbers? You
may assume all three numbers are less than 5.
• Can you write instructions to add two numbers, if the the numbers
are not necessarily less than 5?
• Some more interesting links:
• https://www.youtube.com/watch?v=PGvR1oKdnkI Addition (numbers up to 10) - Head and Fingers
Method
• https://www.youtube.com/watch?v=UixU1oRW64Q How high can you count on your fingers?
• https://www.youtube.com/watch?v=Bke95oWWZII How to Count to 31 on One Hand by Using the Binary
Counting System
Discussions