際際滷

際際滷Share a Scribd company logo
CSE-1203
Structured Programming Language
Lecture 1
Introduction
Md. Rafsan Jani
Assistant Professor
Department of Computer Science and Engineering
Jahangirnagar University
Course Overview
 Objectives: The Structured Programming Language course is
designed to introduce the fundamental principles, mechanism of
programming skills and develop basic programming skills. The
course begins with introductory concepts of structured
programming language and then covers other important topics
related to structured programming language. It also deals with
basic data structures like stack and queue.
 Reading Materials : Lecture materials and reference books.
 Assessment Strategy:
 Continuous Assessment (50%)
 Class Tests-10% (3 MCQs + 1Written)
 Presentation/Assignments-10%
 Attendance-10%
 Mid Term-20%
 Final-50%
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 2
Course Outline
Week Date Topics Covered Remarks
1
August 19 Course Overview, Programming Concepts, Program Development Stages, Structured Programming Language
August 22 Variables, Basic Input/Outputs, Data Types and Their Memory Allocation
2
August 26 Holiday Janmashtami
August 29
Data Types, Variables, Constants, Number System: Binary, Octal, Decimal, and Hexadecimal Systems; Basic
Input/Outputs
3
September 2 Operators, Expressions, Flow Charts
September 5 Control Structures: "if else", "switch", Flow Charts
4
September 9 Control Structures: Loops (for, while, do-while) Class Test 1
September 12 Control Structures: Loops (for, while, do-while)
5
September 16 Holiday Eid-E-Miladunnabi
September 19 Control Structures: Nested Loops
6
September 23 Arrays-I
September 26 Arrays-II
7
September 30 Searching and Sorting Class Test 2/Midterm
October 3 Character Arrays/Strings
8
October 7 Functions-I
October 10 Functions-II
9
October 14 Pointers-I Class Test 2/Midterm
October 17 Pointers-II
10
October 21 Dynamic Memory Allocation-I
October 24 Dynamic Memory Allocation-II
11
October 28 Recursion-I
October 31 Recursion-II
12
November 4 Structures, Unions, Enumerations Class Test 3
November 7 File I/O; Header Files, Preprocessor Directives
13
November 11 Miscellaneous-I
November 14 Miscellaneous-II
14
November 18 Stack, Queue, and Review
November 21 Stack, Queue, and Review Class Test 4
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 3
 Section: BCSE-24-A
 Class Code: bycmlpx
 Section: BCSE-24-B
 Class Code: kyzkekn
Google Classroom
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 4
Reference Books
1. Programming in ANSI C
 By E. Balagurusamy
2. The C Programming Language
 By Brian Kernighan and Dennis Ritchie
3. TeachYourself C
 By Herbert Schildt
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 5
What Is a Computer?
 Computer is a
 device capable of performing computations and making logical
decisions
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 6
Copyright 息 2000 by Brooks/Cole Publishing Company
A division of International Thomson Publishing Inc.
Computer Architecture
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 7
What is Software?
 Computer software, or simply software, is a generic
term that refers to a collection of computer instructions
that tell the computer what to do and how to do it.
 Software is a program executed by computer.
 Computers process data under the control of sets of
instructions called computer programs
 Basically two Types:
 System Software
 Application Software
8
System
Software
Application
Software
Software
 Application software
 Easy-to-use programs designed to perform specific tasks
 System software
 Programs that manages resource(CPU, input/output/storage) and
support the execution and development of other programs
 Mediates between application software and computer hardware
 Three major types
 Operating systems
 Translation systems
 Utility programs
Software Classifications
9
 System software coordinates the various parts of the
computer system and mediates between application
software and computer hardware.
 The system software that manages and controls the
computers activities is called the operating system.
 Other system software consists of computer language
translation programs that convert programming
languages into machine language and utility programs
that perform common processing tasks
System Software
10
 Operating System is a software, which makes a
computer to actually work. It is the software that enables
all the programs we use.
 The Operating System organizes and controls the
hardware.
 Operating System acts as an interface between the
application programs and the machine hardware.
 Examples:
 Windows
 Linux
 Unix and
 Mac OS
 etc.,
Operating System
11
Application Software
 Application software makes computer popular and easy to
use
 Common application software:
 Microsoft Word,Word Perfect
 PowerPoint
 Netscape, Internet Explorer, Chrome
 Photoshop, Photo-Paint
 Quick Time
 Dreamweaver
12
Computer Software Relationships
User
Interface
Basic Input and Output Services (BIOS)
 needed for a computer to boot up
User Interface Operating System
User Interface Application Programs
Computer Hardware
13
Program
 A program is a specific set of operations to perform.
 Human work model:
 Computer work model:
 A computer program is a collection of instructions that
performs a specific task when executed by a computer.
 A computer program is usually written by a computer
programmer in a programming language.
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 14
Language Types
 1. Low-Level Programming Languages
 Machine Language:The most basic type of programming
language, consisting of binary code that the computer's hardware
directly understands. It is specific to a particular computer
architecture.
 Assembly Language:A step above machine language, assembly
uses mnemonic codes to represent machine language
instructions. It is still closely tied to the hardware, making it
difficult to use for complex applications, but it provides more
control over the hardware.
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 15
Language Types Cont
 2. High-Level Programming Languages
 Procedural Programming Languages:These languages are based on the concept of
procedure calls, where code is organized into procedures or functions. Examples include: C,
Pascal, FORTRAN
 Object-Oriented Programming (OOP) Languages:These languages are based on the
concept of "objects", which can contain data and code to manipulate that data. Examples
include: Java, C++, Python, C#
 Scripting Languages:These are typically high-level languages used for automating tasks.
They are often interpreted rather than compiled. Examples include: JavaScript, Python, Ruby,
PHP
 Functional Programming Languages:These languages treat computation as the
evaluation of mathematical functions and avoid changing states and mutable data. Examples
include: Haskell, Erlang, Scala
 Logic Programming Languages:These languages are based on formal logic.A program
written in a logic programming language is essentially a set of sentences in logical form,
expressing facts and rules about some problem domain. Example: Prolog
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 16
Language Types Cont
 3. Domain-Specific Languages (DSLs): These languages are designed
for a specific type of task or industry.They are often less general-purpose
and more efficient within their domain. Examples include:
 SQL for database queries
 HTML/CSS for web design
 MATLAB for mathematical computing
 4. System Programming Languages: These languages are used for
system software, such as operating systems, drivers, and embedded
systems.They need to interact closely with the hardware. Examples
include: C, Rust, Go
 5.Visual Programming Languages: These languages allow users to
create programs by manipulating program elements graphically rather
than by specifying them textually. Examples include: Scratch, LabVIEW,
Blockly
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 17
Language Types Cont
 6. Markup and Style Sheet Languages: Though not
traditional programming languages, these are used to
define the structure and presentation of text in
documents, especially on the web. Examples include:
 HTML (HyperText Markup Language)
 XML (eXtensible Markup Language)
 CSS (Cascading Style Sheets)
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 18
Machine language Low-level assembly High-level
An example:
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 19
Translation
 High level language must be translated into a language
the computer can understand
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 20
High-level
Code
Compiler /
Interpreter
Machine
Instruction
s
How to translate?
Examples of compilers:
 gcc, g++, MicrosoftVisual C++
A program written in high-level programming language
(for example, C program)
A low-level (machine language) program that is
understandable by a computer (for example, a PC)
COMPILER (for example, gcc)
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 21
Compiler vs Interpreter
Features Compiler Interpreter
Definition
Translates the entire source code into machine
code before execution.
Translates and executes code line-by-line or
statement-by-statement.
Execution
The entire program is translated at once and then
executed.
Each statement is translated and executed
immediately.
Speed
Faster execution after compilation, as the entire
code is translated into machine code beforehand.
Slower execution since each line is translated and
executed one at a time.
Error Detection
Errors are detected only after the entire program
is compiled.
Errors are detected immediately as each line is
executed.
Intermediate Code
Generates an intermediate object code or
machine code that can be saved and executed
later.
No intermediate code is generated; execution
happens directly.
Memory
Requirement
Requires more memory to store both source code
and object code.
Requires less memory, as it doesnt store an
intermediate object code.
Debugging
More difficult to debug, as errors are reported
after the entire program is compiled.
Easier to debug, as errors are found and reported
during execution.
Languages
Examples
C, C++, Java (when compiled to bytecode),
Fortran, Pascal.
Python, Ruby, JavaScript, MATLAB, Perl.
Portability
The compiled code is specific to the target
machine's architecture and may not be portable.
The source code remains portable and can be
executed on any machine with the appropriate
interpreter.
Typical Use Case
Used in situations where performance is critical,
such as system software and large applications.
Common in scripting, web development, and
applications where ease of testing and debugging
is important.
January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 22

More Related Content

Similar to CSE-1203-Lecture-01-Introduction for c programming.pptx (20)

Programming
ProgrammingProgramming
Programming
vanesa4ab
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptx
Guru Nanak Technical Institutions
Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof language
nicky_walters
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
sudharsanm56
Intro to programming and intro to java netbean.pdf
Intro to programming and intro to java netbean.pdfIntro to programming and intro to java netbean.pdf
Intro to programming and intro to java netbean.pdf
ErwinButchNicolas1
Procedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesProcedural Programming Of Programming Languages
Procedural Programming Of Programming Languages
Tammy Moncrief
JAVA
JAVAJAVA
JAVA
sonali_iul
Unit 1
Unit 1Unit 1
Unit 1
ankita1317
Introduction to programing languages part 1
Introduction to programing languages   part 1Introduction to programing languages   part 1
Introduction to programing languages part 1
university of education,Lahore
600Desc
600Desc600Desc
600Desc
tutorialsruby
600Desc
600Desc600Desc
600Desc
tutorialsruby
Top Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdf
Top Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdfTop Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdf
Top Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdf
SKIPS University
Programming language design and implemenation
Programming language design and implemenationProgramming language design and implemenation
Programming language design and implemenation
Ashwini Awatare
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...
IRJET Journal
GPSS interactive learning environment
GPSS interactive learning environmentGPSS interactive learning environment
GPSS interactive learning environment
Servicio de Difusi坦n de la Creaci坦n Intelectual (SEDICI)
Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...
Laura Martin
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
AmanGunner
History Of C Essay
History Of C EssayHistory Of C Essay
History Of C Essay
Melissa Williams
Scales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduates
Scales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduatesScales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduates
Scales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduates
Hans Ecke
Introduction to Agile Software Development & Python
Introduction to Agile Software Development & PythonIntroduction to Agile Software Development & Python
Introduction to Agile Software Development & Python
Tharindu Weerasinghe
Programming
ProgrammingProgramming
Programming
vanesa4ab
Ndu06 typesof language
Ndu06 typesof languageNdu06 typesof language
Ndu06 typesof language
nicky_walters
PCCF Unit 2.pptx
PCCF Unit 2.pptxPCCF Unit 2.pptx
PCCF Unit 2.pptx
sudharsanm56
Intro to programming and intro to java netbean.pdf
Intro to programming and intro to java netbean.pdfIntro to programming and intro to java netbean.pdf
Intro to programming and intro to java netbean.pdf
ErwinButchNicolas1
Procedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesProcedural Programming Of Programming Languages
Procedural Programming Of Programming Languages
Tammy Moncrief
Top Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdf
Top Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdfTop Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdf
Top Programming Languages to Learn in 2024_ Insights from SKIPS BCA Program.pdf
SKIPS University
Programming language design and implemenation
Programming language design and implemenationProgramming language design and implemenation
Programming language design and implemenation
Ashwini Awatare
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...
IRJET Journal
Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...
Laura Martin
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
AmanGunner
Scales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduates
Scales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduatesScales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduates
Scales02WhatProgrammingLanguagesShouldWeTeachOurUndergraduates
Hans Ecke
Introduction to Agile Software Development & Python
Introduction to Agile Software Development & PythonIntroduction to Agile Software Development & Python
Introduction to Agile Software Development & Python
Tharindu Weerasinghe

More from MARaihanEmon (9)

CSE-1203-Lecture-07-Loops-Part-II. c pptx
CSE-1203-Lecture-07-Loops-Part-II. c pptxCSE-1203-Lecture-07-Loops-Part-II. c pptx
CSE-1203-Lecture-07-Loops-Part-II. c pptx
MARaihanEmon
CSE-1203-Lecture-06-Loops-Part-I (1).pptx
CSE-1203-Lecture-06-Loops-Part-I (1).pptxCSE-1203-Lecture-06-Loops-Part-I (1).pptx
CSE-1203-Lecture-06-Loops-Part-I (1).pptx
MARaihanEmon
CSE-1203-Lecture-04-Operators.pp c basictx
CSE-1203-Lecture-04-Operators.pp c basictxCSE-1203-Lecture-04-Operators.pp c basictx
CSE-1203-Lecture-04-Operators.pp c basictx
MARaihanEmon
CSE-1203-Lecture-05-Branching. for c programmepptx
CSE-1203-Lecture-05-Branching. for c programmepptxCSE-1203-Lecture-05-Branching. for c programmepptx
CSE-1203-Lecture-05-Branching. for c programmepptx
MARaihanEmon
CSE-1204-Lab-02-Variables and Data Types.pptx
CSE-1204-Lab-02-Variables and Data Types.pptxCSE-1204-Lab-02-Variables and Data Types.pptx
CSE-1204-Lab-02-Variables and Data Types.pptx
MARaihanEmon
Transistor (1).pdf and biasing(bjt and pnp also npn)
Transistor (1).pdf and biasing(bjt and pnp also npn)Transistor (1).pdf and biasing(bjt and pnp also npn)
Transistor (1).pdf and biasing(bjt and pnp also npn)
MARaihanEmon
4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx
4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx
4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx
MARaihanEmon
binary system with boolean simpification
binary system with boolean simpificationbinary system with boolean simpification
binary system with boolean simpification
MARaihanEmon
1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf
1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf
1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf
MARaihanEmon
CSE-1203-Lecture-07-Loops-Part-II. c pptx
CSE-1203-Lecture-07-Loops-Part-II. c pptxCSE-1203-Lecture-07-Loops-Part-II. c pptx
CSE-1203-Lecture-07-Loops-Part-II. c pptx
MARaihanEmon
CSE-1203-Lecture-06-Loops-Part-I (1).pptx
CSE-1203-Lecture-06-Loops-Part-I (1).pptxCSE-1203-Lecture-06-Loops-Part-I (1).pptx
CSE-1203-Lecture-06-Loops-Part-I (1).pptx
MARaihanEmon
CSE-1203-Lecture-04-Operators.pp c basictx
CSE-1203-Lecture-04-Operators.pp c basictxCSE-1203-Lecture-04-Operators.pp c basictx
CSE-1203-Lecture-04-Operators.pp c basictx
MARaihanEmon
CSE-1203-Lecture-05-Branching. for c programmepptx
CSE-1203-Lecture-05-Branching. for c programmepptxCSE-1203-Lecture-05-Branching. for c programmepptx
CSE-1203-Lecture-05-Branching. for c programmepptx
MARaihanEmon
CSE-1204-Lab-02-Variables and Data Types.pptx
CSE-1204-Lab-02-Variables and Data Types.pptxCSE-1204-Lab-02-Variables and Data Types.pptx
CSE-1204-Lab-02-Variables and Data Types.pptx
MARaihanEmon
Transistor (1).pdf and biasing(bjt and pnp also npn)
Transistor (1).pdf and biasing(bjt and pnp also npn)Transistor (1).pdf and biasing(bjt and pnp also npn)
Transistor (1).pdf and biasing(bjt and pnp also npn)
MARaihanEmon
4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx
4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx
4.Digital Logic Design (Topic 8,9,10 - Combinational logic).pptx
MARaihanEmon
binary system with boolean simpification
binary system with boolean simpificationbinary system with boolean simpification
binary system with boolean simpification
MARaihanEmon
1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf
1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf
1.Digital Logic Design (Chap 01, Topic 1,2 - Binary Systems).pdf
MARaihanEmon

Recently uploaded (20)

U.S. Department of Education certification
U.S. Department of Education certificationU.S. Department of Education certification
U.S. Department of Education certification
Mebane Rash
UTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri DabhadeUTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri Dabhade
Dabhade madam Dabhade
MIPLM subject matter expert Dr Robert Klinski
MIPLM subject matter expert Dr Robert KlinskiMIPLM subject matter expert Dr Robert Klinski
MIPLM subject matter expert Dr Robert Klinski
MIPLM
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
heathfieldcps1
Role of Teacher in the era of Generative AI
Role of Teacher in the era of Generative AIRole of Teacher in the era of Generative AI
Role of Teacher in the era of Generative AI
Prof. Neeta Awasthy
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study MaterialPass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Jenny408767
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
 Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ... Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
coreylewis960
Sulfonamides by Mrs. Manjushri P. Dabhade
Sulfonamides by Mrs. Manjushri P. DabhadeSulfonamides by Mrs. Manjushri P. Dabhade
Sulfonamides by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
Introduction to Systematic Reviews - Prof Ejaz Khan
Introduction to Systematic Reviews - Prof Ejaz KhanIntroduction to Systematic Reviews - Prof Ejaz Khan
Introduction to Systematic Reviews - Prof Ejaz Khan
Systematic Reviews Network (SRN)
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VIAnti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Samruddhi Khonde
NURSING PROCESS AND ITS STEPS .pptx
NURSING PROCESS AND ITS STEPS                 .pptxNURSING PROCESS AND ITS STEPS                 .pptx
NURSING PROCESS AND ITS STEPS .pptx
PoojaSen20
Studying and Notetaking: Some Suggestions
Studying and Notetaking: Some SuggestionsStudying and Notetaking: Some Suggestions
Studying and Notetaking: Some Suggestions
Damian T. Gordon
How to Setup Company Data in Odoo 17 Accounting App
How to Setup Company Data in Odoo 17 Accounting AppHow to Setup Company Data in Odoo 17 Accounting App
How to Setup Company Data in Odoo 17 Accounting App
Celine George
MIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan KayaMIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan Kaya
MIPLM
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdfWeek 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Liz Walsh-Trevino
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
home
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
Amlan Sarkar
ANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptx
ANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptxANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptx
ANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptx
PRADEEP ABOTHU
3. AI Trust Layer, Governance Explainability, Security & Compliance.pdf
3. AI Trust Layer, Governance  Explainability, Security & Compliance.pdf3. AI Trust Layer, Governance  Explainability, Security & Compliance.pdf
3. AI Trust Layer, Governance Explainability, Security & Compliance.pdf
Mukesh Kala
MIPLM subject matter expert Daniel Holzner
MIPLM subject matter expert Daniel HolznerMIPLM subject matter expert Daniel Holzner
MIPLM subject matter expert Daniel Holzner
MIPLM
U.S. Department of Education certification
U.S. Department of Education certificationU.S. Department of Education certification
U.S. Department of Education certification
Mebane Rash
UTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri DabhadeUTI Quinolones by Mrs. Manjushri Dabhade
UTI Quinolones by Mrs. Manjushri Dabhade
Dabhade madam Dabhade
MIPLM subject matter expert Dr Robert Klinski
MIPLM subject matter expert Dr Robert KlinskiMIPLM subject matter expert Dr Robert Klinski
MIPLM subject matter expert Dr Robert Klinski
MIPLM
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
heathfieldcps1
Role of Teacher in the era of Generative AI
Role of Teacher in the era of Generative AIRole of Teacher in the era of Generative AI
Role of Teacher in the era of Generative AI
Prof. Neeta Awasthy
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study MaterialPass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Pass SAP C_C4H47_2503 in 2025 | Latest Exam Questions & Study Material
Jenny408767
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
 Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ... Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
Marketing is Everything in the Beauty Business! 憓 Talent gets you in the ...
coreylewis960
Sulfonamides by Mrs. Manjushri P. Dabhade
Sulfonamides by Mrs. Manjushri P. DabhadeSulfonamides by Mrs. Manjushri P. Dabhade
Sulfonamides by Mrs. Manjushri P. Dabhade
Dabhade madam Dabhade
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VIAnti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Anti-Fungal Agents.pptx Medicinal Chemistry III B. Pharm Sem VI
Samruddhi Khonde
NURSING PROCESS AND ITS STEPS .pptx
NURSING PROCESS AND ITS STEPS                 .pptxNURSING PROCESS AND ITS STEPS                 .pptx
NURSING PROCESS AND ITS STEPS .pptx
PoojaSen20
Studying and Notetaking: Some Suggestions
Studying and Notetaking: Some SuggestionsStudying and Notetaking: Some Suggestions
Studying and Notetaking: Some Suggestions
Damian T. Gordon
How to Setup Company Data in Odoo 17 Accounting App
How to Setup Company Data in Odoo 17 Accounting AppHow to Setup Company Data in Odoo 17 Accounting App
How to Setup Company Data in Odoo 17 Accounting App
Celine George
MIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan KayaMIPLM subject matter expert Dr Alihan Kaya
MIPLM subject matter expert Dr Alihan Kaya
MIPLM
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdfWeek 6 - EDL 290F - No Drop Ride (2025).pdf
Week 6 - EDL 290F - No Drop Ride (2025).pdf
Liz Walsh-Trevino
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
20250402 ACCA TeamScienceAIEra 20250402 v10.pptx
home
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
General Quiz at Maharaja Agrasen College | Amlan Sarkar | Prelims with Answer...
Amlan Sarkar
ANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptx
ANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptxANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptx
ANORECTAL MALFORMATIONS: NURSING MANAGEMENT PPT.pptx
PRADEEP ABOTHU
3. AI Trust Layer, Governance Explainability, Security & Compliance.pdf
3. AI Trust Layer, Governance  Explainability, Security & Compliance.pdf3. AI Trust Layer, Governance  Explainability, Security & Compliance.pdf
3. AI Trust Layer, Governance Explainability, Security & Compliance.pdf
Mukesh Kala
MIPLM subject matter expert Daniel Holzner
MIPLM subject matter expert Daniel HolznerMIPLM subject matter expert Daniel Holzner
MIPLM subject matter expert Daniel Holzner
MIPLM

CSE-1203-Lecture-01-Introduction for c programming.pptx

  • 1. CSE-1203 Structured Programming Language Lecture 1 Introduction Md. Rafsan Jani Assistant Professor Department of Computer Science and Engineering Jahangirnagar University
  • 2. Course Overview Objectives: The Structured Programming Language course is designed to introduce the fundamental principles, mechanism of programming skills and develop basic programming skills. The course begins with introductory concepts of structured programming language and then covers other important topics related to structured programming language. It also deals with basic data structures like stack and queue. Reading Materials : Lecture materials and reference books. Assessment Strategy: Continuous Assessment (50%) Class Tests-10% (3 MCQs + 1Written) Presentation/Assignments-10% Attendance-10% Mid Term-20% Final-50% January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 2
  • 3. Course Outline Week Date Topics Covered Remarks 1 August 19 Course Overview, Programming Concepts, Program Development Stages, Structured Programming Language August 22 Variables, Basic Input/Outputs, Data Types and Their Memory Allocation 2 August 26 Holiday Janmashtami August 29 Data Types, Variables, Constants, Number System: Binary, Octal, Decimal, and Hexadecimal Systems; Basic Input/Outputs 3 September 2 Operators, Expressions, Flow Charts September 5 Control Structures: "if else", "switch", Flow Charts 4 September 9 Control Structures: Loops (for, while, do-while) Class Test 1 September 12 Control Structures: Loops (for, while, do-while) 5 September 16 Holiday Eid-E-Miladunnabi September 19 Control Structures: Nested Loops 6 September 23 Arrays-I September 26 Arrays-II 7 September 30 Searching and Sorting Class Test 2/Midterm October 3 Character Arrays/Strings 8 October 7 Functions-I October 10 Functions-II 9 October 14 Pointers-I Class Test 2/Midterm October 17 Pointers-II 10 October 21 Dynamic Memory Allocation-I October 24 Dynamic Memory Allocation-II 11 October 28 Recursion-I October 31 Recursion-II 12 November 4 Structures, Unions, Enumerations Class Test 3 November 7 File I/O; Header Files, Preprocessor Directives 13 November 11 Miscellaneous-I November 14 Miscellaneous-II 14 November 18 Stack, Queue, and Review November 21 Stack, Queue, and Review Class Test 4 January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 3
  • 4. Section: BCSE-24-A Class Code: bycmlpx Section: BCSE-24-B Class Code: kyzkekn Google Classroom January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 4
  • 5. Reference Books 1. Programming in ANSI C By E. Balagurusamy 2. The C Programming Language By Brian Kernighan and Dennis Ritchie 3. TeachYourself C By Herbert Schildt January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 5
  • 6. What Is a Computer? Computer is a device capable of performing computations and making logical decisions January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 6
  • 7. Copyright 息 2000 by Brooks/Cole Publishing Company A division of International Thomson Publishing Inc. Computer Architecture January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 7
  • 8. What is Software? Computer software, or simply software, is a generic term that refers to a collection of computer instructions that tell the computer what to do and how to do it. Software is a program executed by computer. Computers process data under the control of sets of instructions called computer programs Basically two Types: System Software Application Software 8 System Software Application Software Software
  • 9. Application software Easy-to-use programs designed to perform specific tasks System software Programs that manages resource(CPU, input/output/storage) and support the execution and development of other programs Mediates between application software and computer hardware Three major types Operating systems Translation systems Utility programs Software Classifications 9
  • 10. System software coordinates the various parts of the computer system and mediates between application software and computer hardware. The system software that manages and controls the computers activities is called the operating system. Other system software consists of computer language translation programs that convert programming languages into machine language and utility programs that perform common processing tasks System Software 10
  • 11. Operating System is a software, which makes a computer to actually work. It is the software that enables all the programs we use. The Operating System organizes and controls the hardware. Operating System acts as an interface between the application programs and the machine hardware. Examples: Windows Linux Unix and Mac OS etc., Operating System 11
  • 12. Application Software Application software makes computer popular and easy to use Common application software: Microsoft Word,Word Perfect PowerPoint Netscape, Internet Explorer, Chrome Photoshop, Photo-Paint Quick Time Dreamweaver 12
  • 13. Computer Software Relationships User Interface Basic Input and Output Services (BIOS) needed for a computer to boot up User Interface Operating System User Interface Application Programs Computer Hardware 13
  • 14. Program A program is a specific set of operations to perform. Human work model: Computer work model: A computer program is a collection of instructions that performs a specific task when executed by a computer. A computer program is usually written by a computer programmer in a programming language. January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 14
  • 15. Language Types 1. Low-Level Programming Languages Machine Language:The most basic type of programming language, consisting of binary code that the computer's hardware directly understands. It is specific to a particular computer architecture. Assembly Language:A step above machine language, assembly uses mnemonic codes to represent machine language instructions. It is still closely tied to the hardware, making it difficult to use for complex applications, but it provides more control over the hardware. January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 15
  • 16. Language Types Cont 2. High-Level Programming Languages Procedural Programming Languages:These languages are based on the concept of procedure calls, where code is organized into procedures or functions. Examples include: C, Pascal, FORTRAN Object-Oriented Programming (OOP) Languages:These languages are based on the concept of "objects", which can contain data and code to manipulate that data. Examples include: Java, C++, Python, C# Scripting Languages:These are typically high-level languages used for automating tasks. They are often interpreted rather than compiled. Examples include: JavaScript, Python, Ruby, PHP Functional Programming Languages:These languages treat computation as the evaluation of mathematical functions and avoid changing states and mutable data. Examples include: Haskell, Erlang, Scala Logic Programming Languages:These languages are based on formal logic.A program written in a logic programming language is essentially a set of sentences in logical form, expressing facts and rules about some problem domain. Example: Prolog January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 16
  • 17. Language Types Cont 3. Domain-Specific Languages (DSLs): These languages are designed for a specific type of task or industry.They are often less general-purpose and more efficient within their domain. Examples include: SQL for database queries HTML/CSS for web design MATLAB for mathematical computing 4. System Programming Languages: These languages are used for system software, such as operating systems, drivers, and embedded systems.They need to interact closely with the hardware. Examples include: C, Rust, Go 5.Visual Programming Languages: These languages allow users to create programs by manipulating program elements graphically rather than by specifying them textually. Examples include: Scratch, LabVIEW, Blockly January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 17
  • 18. Language Types Cont 6. Markup and Style Sheet Languages: Though not traditional programming languages, these are used to define the structure and presentation of text in documents, especially on the web. Examples include: HTML (HyperText Markup Language) XML (eXtensible Markup Language) CSS (Cascading Style Sheets) January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 18
  • 19. Machine language Low-level assembly High-level An example: January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 19
  • 20. Translation High level language must be translated into a language the computer can understand January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 20 High-level Code Compiler / Interpreter Machine Instruction s
  • 21. How to translate? Examples of compilers: gcc, g++, MicrosoftVisual C++ A program written in high-level programming language (for example, C program) A low-level (machine language) program that is understandable by a computer (for example, a PC) COMPILER (for example, gcc) January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 21
  • 22. Compiler vs Interpreter Features Compiler Interpreter Definition Translates the entire source code into machine code before execution. Translates and executes code line-by-line or statement-by-statement. Execution The entire program is translated at once and then executed. Each statement is translated and executed immediately. Speed Faster execution after compilation, as the entire code is translated into machine code beforehand. Slower execution since each line is translated and executed one at a time. Error Detection Errors are detected only after the entire program is compiled. Errors are detected immediately as each line is executed. Intermediate Code Generates an intermediate object code or machine code that can be saved and executed later. No intermediate code is generated; execution happens directly. Memory Requirement Requires more memory to store both source code and object code. Requires less memory, as it doesnt store an intermediate object code. Debugging More difficult to debug, as errors are reported after the entire program is compiled. Easier to debug, as errors are found and reported during execution. Languages Examples C, C++, Java (when compiled to bytecode), Fortran, Pascal. Python, Ruby, JavaScript, MATLAB, Perl. Portability The compiled code is specific to the target machine's architecture and may not be portable. The source code remains portable and can be executed on any machine with the appropriate interpreter. Typical Use Case Used in situations where performance is critical, such as system software and large applications. Common in scripting, web development, and applications where ease of testing and debugging is important. January 10, 2025 Md. Rafsan Jani, Assistant Professor, Dept. of CSE, JU 22