Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Programming Through C: Reasons for Teaching and Learning with Examples from ATM Systems, Essays (university) of Programming Languages

The reasons for teaching programming through C language using examples from various transactions in an ATM system. It covers topics such as program development steps, data types, input/output statements, arrays, conditional and branching statements, iterative statements, searching, sorting, modularization, structures, pointers, and file handling. The document also includes references to YouTube videos for further learning.

Typology: Essays (university)

2020/2021

Uploaded on 06/30/2021

kranthi-kumar-9
kranthi-kumar-9 ๐Ÿ‡ฎ๐Ÿ‡ณ

1 document

1 / 17

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
WIT AND WIL
For
Programming through C
VNR VIGNANA JYOTHI INSTITUTE OF ENGINEERING & TECHNOLOGY
Department of Computer Science and Engineering
I BTECH I SEMESTER
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Programming Through C: Reasons for Teaching and Learning with Examples from ATM Systems and more Essays (university) Programming Languages in PDF only on Docsity!

WIT AND WIL

For

Programming through C

VNR VIGNANA JYOTHI INSTITUTE OF ENGINEERING & TECHNOLOGY

Department of Computer Science and Engineering

I BTECH I SEMESTER

Why am I teaching Programming Through C?

Manual work vs Automation

Robotic Surgery / Doctor Transactions at ATM /Bank

Learning by App / Traditional Railway Reservation

Home Appliances

Programming is to develop software --

Ease of use and saves time

UNIT โ€“ I

Program Development Steps

Data Types

Input /Output Statements

Step 1

Step 2

Step 3

Step 4

Step 5

End user

ATM

UNIT โ€“ II

List of Customers -- Arrays

Customer Names -- Strings

UNIT โ€“ II

Conditional and Branching

Statements

Iterative Statements

Step 1

Step 2

Step 3

Step 4

Step 5

End user

ATM

UNIT โ€“ IV

Modularization - Functions

Step 1

Step 2

Step 3

Step 4

Step 5

End user

ATM

Step 1

Step 2

Step 3

Step 4

Step 5

End user

ATM

UNIT โ€“ V

Structures

Pointers

UNIT โ€“ I

Program Development Steps

Data Types

Input /Output Statements

UNIT โ€“ II

Arrays

UNIT โ€“ II

Conditional and Branching

Statements

Iterative Statements

UNIT โ€“ IV

Modularization - Functions

Step 1

Step 2

Step 3

Step 4

Step 5

End user

ATM

UNIT โ€“ VI

Files โ€“ Storage of Data

UNIT โ€“ III

Searching

Sorting

UNIT โ€“ V

Structures

Pointers

UNIT I

What I am Teaching?

What I am Learning?

Data types

( Integers, Real, Characters )

Operators

Expressions and Evaluation

Data types

( Integers, Real, Characters )

Operators

Expressions and Evaluation

Program

Development

steps

Algorithm : Step by Step procedure to solve a

given problem

Problem: To find sum of two integers

Step 1: start

Step 2 : Take two integers a, b

Step 3 : add a , b

Step 4 : store result of step 3 to sum

Step 5 : Display sum

Step 6 : stop

Algorithm : Step by Step procedure to solve a

given problem

Problem: To find sum of two integers

Step 1: start

Step 2 : Take two integers a, b

Step 3 : add a , b

Step 4 : store result of step 3 to sum

Step 5 : Display sum

Step 6 : stop

Start

Start

Take two

integers a,b

Take two

integers a,b

a>b

a>b

Display โ€˜aโ€™

is Big

Display โ€˜aโ€™

is Big

Display โ€˜bโ€™

is Big

Display โ€˜bโ€™

is Big

Stop

Stop

Flowchart

Why am I Teaching?

Why am I Learning?

Different Transactions are

performed by Expression

Evaluation

Minbal>

bal=bal - withdrawlamt

Different Transactions are

performed by Expression

Evaluation

Minbal>

bal=bal - withdrawlamt

Creation of Digital

Record of a Customer

Through Program

Creation of Digital

Record of a Customer

Through Program

Customer details

are represented by

Data types

Customer details

are represented by

Data types

UNIT III

What I am Teaching?

What I am Learning?

Why am I Teaching?

Why am I Learning?

Searching techniques:

Linear Search

https://www.youtube.com/watch?v=XuiJ8sLBBTA

Binary Search

Sorting techniques:

Bubble Sort

https://www.youtube.com/watch?v=NiyEqLZmngY

Selection Sort

https://www.youtube.com/watch?v=EdUWyka7kpI

Insertion Sort

https://www.youtube.com/watch?v=OxN2Jqb8S9s

Searching techniques:

Linear Search

https://www.youtube.com/watch?v=XuiJ8sLBBTA

Binary Search

Sorting techniques:

Bubble Sort

https://www.youtube.com/watch?v=NiyEqLZmngY

Selection Sort

https://www.youtube.com/watch?v=EdUWyka7kpI

Insertion Sort

https://www.youtube.com/watch?v=OxN2Jqb8S9s

Arrangement of Elements

Arrangement of Elements

Finding for an Element

Finding for an Element

Search for โ€“IFSC Code, Highest Cibil Score

Search for โ€“IFSC Code, Highest Cibil Score

Sorting of transactions According to Date

Sorting of transactions According to Date

UNIT IV

What I am Teaching?

What I am Learning?

Why am I Teaching?

Why am I Learning?

Modularization Through Functions

Modularization Through Functions

Function Basics

Function Basics Recursion

Recursion

Modular programming is the process of subdividing a task

into separate subtasks

Every subtask in ATM is Carried out with The Concept of

Functions

Modular programming is the process of subdividing a task

into separate subtasks

Every subtask in ATM is Carried out with The Concept of

Functions

UNIT VI

What I am Teaching?

What I am Learning?

Why do we need files???

Why do we need files???

Program access to files

Program access to files

File Access Methods

File Access Methods

File operations

File operations

C program to

create

file using file

operations

Input through keyboard to

the program

The input received by

program is stored

permanently in Files

Bank Records

C program to

create

file using file

operations

Bank Records

Instruction

Through Program

Storing customer records in

files

Storing customer records in

files

Retrieving customer records

from file for transaction

updation

Retrieving customer records

from file for transaction

updation

Why am I Teaching?

Why am I Learning?

File

Operations

File

handling

functions

File access

methods

File

Operations

File

handling

functions

File access

methods

UNIT VI