Sale!

BIL 101 INTRODUCTION TO COMPUTER SCIENCE HW 03 solved

$35.00 $21.00

Category: You will receive a download link of the .ZIP file upon Payment

Description

5/5 - (1 vote)

PART 1 (Submit to moodle / .py file)
Write a python code that:
1. You have 3 shape: Circle, Equilateral Triangle, Square
2. Take the radius value of circle, length of one side of triangle and square.
3. Calculate shapes areas.
4. Prints results.
Explain what happens in each line of code writing comments.
BONUS: Print each shape with (*) symbol, according to the side length or radius.
PART 2 (Submit to moodle / .asm file)
Write an assembly code that multiply two integer. Your multiplication result can
be smaller than 10. Save your code as machine code and submit it.
PART 3 (Submit to moodle / .doc file)
Research the jpeg file format and write a paragraph about the file specifications.
Bonus Example:
Square side of length
->3
* * *
* * *
* * *