BIS1003-Introduction to Programming Intensive

profileAbdulmalek
BIS1003_Workshop_Topic1.pdf

BIS1003 Introduction to Programming

Workshop 1

Topic 1: Programming Fundamentals

Apply and test your knowledge of the current and previous topics by attempting the

questions below. Completing these questions will help you to succeed in your subject.

Workshop Questions

1. Download the latest version of Python for your operating system (Windows or

Mac) from https://www.python.org/downloads/

2. Write a flowchart to ask the end user to enter the length and the width of a

rectangle in centimetre and then calculates and displays the rectangle area in

meters. 1 cm = 1/100 m.

3. Write pseudocode to implement a python program that asks the end user to

enter a temperature in Fahrenheit temperatures (F) and then convert to

Celsius units (C) and displays it to the user. C = (F - 32) /1.8

4. Write an algorithm (flowchart and pseudocode) to enter a positive number.

Then the program calculates and displays the double of the number.