1. FLOW CHAT
Posts
Mr. FOUARD assignment 2
- Get link
- X
- Other Apps
Calculating Tiles for a Rectangular Shape 1. Flow Chart (visual steps) 1. *Start* 2. Input *length* and *width* of rectangle. 3. Input *tile_length* and *tile_width*. 4. Calculate area of rectangle: `area = length * width`. 5. Calculate area of one tile: `tile_area = tile_length * tile_width`. 6. Calculate number of tiles: `tiles = area / tile_area`. 7. Output *tiles* needed. 8. *End*. 2. Pseudocode BEGIN INPUT length, width // rectangle dimensions INPUT tile_length, tile_width // tile dimensions area ← length * width tile_area ← tile_length * tile_width tiles ← area / tile_area OUTPUT tiles END 3. Code (Python example) def calculate_tiles(length, width, tile_length, tile_width): # Calculate areas area = length * width tile_area = tile_length * tile_width # Calculate number of tiles (round up if partial tiles needed) tiles = area / tile_ar...
Mr. Fuad Assignment
- Get link
- X
- Other Apps
Assignment NAME: JOSHUA KAMANDA MODULE: COMPUTER PROGRAMMING LECTURER: MR. FOUARD KANU DEPARTMENT: INFORMATION TECHNOLOGY, IT LEVEL: YEAR ONE Assignment (1) Here is a clear and structured overview of the major milestones in computing and programming languages Milestones in Computing and Programming Languages 1. Introduction Computing and programming languages have evolved significantly over time. This evolution has transformed computers from simple calculating machines into powerful systems capable of solving complex problems. The milestones in computing represent key developments in hardware, software...