### removed som text

parent 59fb3d30
 %% Cell type:markdown id: tags: # Assignment 1 ## Learning Objectives: * Able to use regular Python calculation operators: addition +, subtraction -, multiplication \* , division /, integer division //, modulo % and exponentiation ** * Understand the difference between the four basic data types: integer (int), float, text strings (str), and truth values (boolean) * Understand how the calculation operators work for the different data types * Be able to use scientific notation for particularly small and especially large floating numbers * Understand that code must be error-free to run, and be able to correct simple syntax errors * Understand why and how we use variables in programming, and that variable assignment is not the same as mathematical equality * Be able to print to screen and input data from user via keyboard with standard print () and input () functions * Be able to easily convert between data types with standard functions like int () and float () ## Starting Out with Python: * Kap. 2: Input, Processing, and Output ## Approval: For TDT4127 students: You must do the two mandatory exercises for TDT4127 (Programming and Numerics) below (marked in table), in addition to three exercises of your own choice from the table of regular programming exercises. Tasks that are a little extra difficult are marked with a star. Tasks that go beyond what has been lectured are marked with two stars. All assignments must be demonstrated to a learning assistant in person. In tasks where you write program code, this should also be demonstrated. Good luck! Task | Theme | Difficulty | TDT4127 --- | --- | --- | --- [Intro to Jupyter](Introduction%20to%20Jupyter%20(ENG).ipynb) | Jupyter notebooks | - | --- [Numerics Theory](Numerics%20Theory.ipynb) | Theory | - | mandatory [Numerical differentiation](Numerical%20derivatives.ipynb) | Functions | - | mandatory [I love IT](Jeg%20elsker%20ITGK(ENG).ipynb) | Output | - | --- [Calculations](Calculations(ENG).ipynb)|Math operations| - | --- [Input and variables](Input%20og%20variable(ENG).ipynb)|Input/output og variabler| - | --- [Converting numbers](Converting%20numbers(ENG).ipynb)|Converting| - | --- [Peppes pizza](Peppes%20Pizza(ENG).ipynb)|Math operations| - | --- [Geometry](Geometry(ENG).ipynb)|Debugging | - | --- [Scientific notation](Scientific%20notation(ENG).ipynb)|Converting|![img](./../Resources/Images/star_yellow.svg) | --- [Tetrahedron](Tetrahedron(ENG).ipynb)|Built-in functions|![img](./../Resources/Images/star_yellow.svg) | --- [Baking Course](BakingCourse(ENG).ipynb)|Formatting|![img](./../Resources/Images/star_yellow.svg) | --- [James Bond and Operation round](James%20Bond%20and%20Operation%20round()(ENG).ipynb)|Strings, rounding, whole number divison, modulo|![img](./../Resources/Images/star_yellow.svg) ![img](./../Resources/Images/star_yellow.svg) | --- %% Cell type:code id: tags: ``` python ```
 %% Cell type:markdown id: tags: # Assignment 1 ## Learning Objectives: * Able to use regular Python calculation operators: addition +, subtraction -, multiplication \* , division /, integer division //, modulo % and exponentiation ** * Understand the difference between the four basic data types: integer (int), float, text strings (str), and truth values (boolean) * Understand how the calculation operators work for the different data types * Be able to use scientific notation for particularly small and especially large floating numbers * Understand that code must be error-free to run, and be able to correct simple syntax errors * Understand why and how we use variables in programming, and that variable assignment is not the same as mathematical equality * Be able to print to screen and input data from user via keyboard with standard print () and input () functions * Be able to easily convert between data types with standard functions like int () and float () ## Starting Out with Python: * Kap. 2: Input, Processing, and Output ## Approval: For TDT4127 students: You must do the two mandatory exercises for TDT4127 (Programming and Numerics) below (marked in table), in addition to three exercises of your own choice from the table of regular programming exercises. Some of the regular python exercises has been translated to english, marked with (ENG) at the end of the task name. For TDT4127 students: You must do the two mandatory exercises for TDT4127 (Programming and Numerics) below (marked in table), in addition to three exercises of your own choice from the table of regular programming exercises. Tasks that are a little extra difficult are marked with a star. Tasks that go beyond what has been lectured are marked with two stars. All assignments must be demonstrated to a learning assistant in person. In tasks where you write program code, this should also be demonstrated. Good luck! Task | Theme | Difficulty | TDT4127 --- | --- | --- | --- [Intro to Jupyter](Introduction%20to%20Jupyter%20(ENG).ipynb) | Jupyter notebooks | - | --- [Numerics Theory](Numerics%20Theory.ipynb) | Theory | - | mandatory [Numerical differentiation](Numerical%20derivatives.ipynb) | Functions | - | mandatory [I love IT](Jeg%20elsker%20ITGK(ENG).ipynb) | Output | - | --- [Calculations](Calculations(ENG).ipynb)|Math operations| - | --- [Input and variables](Input%20og%20variable(ENG).ipynb)|Input/output og variabler| - | --- [Converting numbers](Converting%20numbers(ENG).ipynb)|Converting| - | --- [Peppes pizza](Peppes%20Pizza(ENG).ipynb)|Math operations| - | --- [Geometry](Geometry(ENG).ipynb)|Debugging | - | --- [Scientific notation](Scientific%20notation(ENG).ipynb)|Converting|![img](./../Resources/Images/star_yellow.svg) | --- [Tetrahedron](Tetrahedron(ENG).ipynb)|Built-in functions|![img](./../Resources/Images/star_yellow.svg) | --- [Baking Course](BakingCourse(ENG).ipynb)|Formatting|![img](./../Resources/Images/star_yellow.svg) | --- [James Bond and Operation round](James%20Bond%20and%20Operation%20round()(ENG).ipynb)|Strings, rounding, whole number divison, modulo|![img](./../Resources/Images/star_yellow.svg) ![img](./../Resources/Images/star_yellow.svg) | --- %% Cell type:code id: tags: ``` python ``` ... ...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment