Search Header Logo
Mini Project

Mini Project

Assessment

Presentation

Computers

10th Grade

Practice Problem

Hard

Created by

Ehetsham Malikehtesham

Used 2+ times

FREE Resource

6 Slides • 3 Questions

1

Mini Project
Calculator using Functions

By Ehetsham Malik

2

Multiple Choice

Question image

What is the difference between parameter and argument in python functions?

1
A parameter is the value passed to the function; an argument is a variable in the function definition.
2
Parameters and arguments are interchangeable terms in Python.
3
Parameters are used only in class methods; arguments are used in standalone functions.
4
A parameter is a variable in the function definition; an argument is the value passed to the function.

3

media

​Follow the steps on python online editor

4

media

5

media

6

media
media

7

Multiple Choice

What's the difference between while loop and for loop?

1
While loops are condition-based; for loops are iteration-based.
2
While loops cannot be used for counting iterations.
3
While loops are faster than for loops.
4
For loops can only iterate over arrays.

8

Open Ended

Enter Your complete code here . don't worry about indentation....

9

​Final Task

​Make a function which will when called should print some statement about Mr Malik Your Computer Teacher
You can mention your views about him in print statement.

Run the code and take screenshot of the output and put it on padlet.

Mini Project
Calculator using Functions

By Ehetsham Malik

Show answer

Auto Play

Slide 1 / 9

SLIDE