Code Efficiency

Time Module

import time as t

t1 = t.time()
# Testing code here

t2 = t.time()
dt = t2 - t1
print(dt)

Programming Paradigms

20221116_150804000_iOS.jpg

Machine Code & Assembly Language

Machine Code

The lowest-level paradigm that directly represents the instructions as a sequence of binary numbers

Assembly Language

Machine instructions by mnemonics and memory addresses by symbolic labels

Imperative Programming