Lecture & Laboratory Slides

 

         Diary

 

1

Lect 1(pdf file) (ps file)

Introduction

Program files:  first.c second.c third.c fourth.c fifth.c ex6.c ex7.c second.py sumSq.py larger.py larger1.py 3largest.py arithMean1.py circleArea.py fahrToCel.py mnTonm.py largest1.py

2

Lect 2(pdf file) (ps file)

Conditional and while statement

Program files:  Quadratic Equation Arithmetic Mean Sum of two digits Largest among 3 data Largest among 4 data Largest among n data

3

Lect 3(pdf file) (ps file)

String and Slicing

Program files:  Factorial Factorial All factors Is Prime

4

Graphics Tutorial

Python 2D Graphics by Ranita Biswas

Program files:  Circle Mouse click Face

5

Lect 5(pdf file) (ps file)

Problem Set 1

Program files:  Sum of list elements spliLst Second smallest among 4 data right-tringular pattern isosceles tringular pattern

6

Lect 4(pdf file) (ps file)

7

Lect 6(pdf file) (ps file)

Problem Set 2

Program files:  Factorial function Sum of decimal digits a to the power n Binary string of an integer

8

Lect 8(pdf file) (ps file)

Problem Set 3

Program files:  Fibonacci functions List of primes Random pentacle

9

Problem Set 4

Program files:  Sum of the list elements List of the sum of the digist of the list elements Computation of sine Sequential search in a list

10

Problem Set 5

Program files:  GCD Selection Sort Insertion Sort

 

    Previous Page