Introduction to Programming with Python: Fundamentals and Data Structures

Programming Languages

Programs are found in many places such as on your computer, your cell phone, or on the internet. A program is a set of instructions that are run or executed. There are many programming languages and, for this course, we will use the Python programming language.

Arithmetic Operators

Operator

Operation

Expression

English description

Result

+

Addition

11 + 56

11 plus 56

67

Subtraction

23 – 52

23 minus 52


-29

Multiplication

4 * 5

4 multiplied by 5

20

Exponentiation

2 ** 5

2 to the power of 5

32

/

division

9

Read More

Python Programming Fundamentals: Introduction to Data Types, Operators, and Control Flow

Programming Languages

Programs are found in many places such as on your computer, your cell phone, or on the internet. A program is a set of instructions that are run or executed. There are many programming languages and, for this course, we will use the Python programming language.

Arithmetic Operators

Operator

Operation

Expression

English description

Result

+

Addition

11 + 56

11 plus 56

67

Subtraction

23 – 52

23 minus 52


-29

Multiplication

4 * 5

4 multiplied by 5

20

Exponentiation

2 ** 5

2 to the power of 5

32

/

division

9

Read More

Software Engineering Fundamentals and Methodologies

CH1


SW prods: 1.Generic: The spec.
Of wht the SW shud do is owned by the SW dever & decisions on SW chnge r made by the dever. 2. Cus2mized: The spec. Of wht the SW shud do is owned by the cstmr
4 the SW & they make decisions on SW chnges that r reqd. SW: Computer progs & associated docmn.. SW prods may b deved 4 a particular cstmr or may b deved 4 a general market. Attributes of good SW: deliver the reqd funcnality & per4mance, maintainable, dependable & usable.SE: engi. Discipline

Read More

Recursive and Iterative Drawing in Python with Turtle

Homework 2

DrawStar(S, N)

Recursion to draw snowflake

python def DrawStar(S, N): """ Recursion to draw snowflake """ if N == 1: pass else: turtle.forward(S/3) DrawStar(S/3, N-1) turtle.forward(-S/3) turtle.left(60) turtle.forward(S/3) DrawStar(S/3, N-1) turtle.forward(-S/3) turtle.left(60) turtle.forward(S/3) DrawStar(S/3, N-1) turtle.forward(-S/3) turtle.left(120) turtle.forward(S/3) DrawStar(S/3, N-1) turtle.forward(-S/3) turtle.left(60) turtle.forward(S/3) DrawStar(S/3, N-1) turtle.forward(-S/3)

Read More

Understanding Network Protocols and Architectures

Network Protocols and Architectures

Transport Services and Protocols

Transport services and protocols provide communication between application processes running on different hosts.

  • Send side: Breaks application messages into segments and passes them to the network layer.
  • Receive side: Reassembles segments into messages and passes them to the application layer.

Network and Transport Layers

Network layer: Enables logical communication between hosts.

Transport layer: Facilitates local communication between

Read More

Understanding ISO 4335: HDLC Frame Structure and Control Field Formats

ISO 4335 – HDLC

Reference Standard

ISO 3309 and ISO 4335

HDLC Frame Structure: Fields

LengthField
1 or n octetsAddress
1 or 2 octetsControl
n octetsOptional Information
2 octetsFrame Control Sequence

HDLC Frame Structure: Address Field

Reference Standard

ISO 3309

The address field identifies a frame as either a command or a response. A command frame contains the address of a station to which the command is being sent. A response frame contains the address of the station sending the frame.

Address Field Basic

Read More