SlideShare uma empresa Scribd logo
1 de 7
PAPER NAME
STAFF
CLASS
SEMESTER
UNIT
TOPIC
:C PROGRAMMING
:SARITHA
:I YEAR
:I
:I
:COMPUTER AND
THEIRAPPLICATION.
COMPUTER SYSTEMCHARACTERISTIC
• Characteristics of computers that have made them so powerfull and
universal useful are speed, accuracy, diligence, versatility and storage
capacity.
• Computer hardware is the collection of physical parts of a computer
system, e.g: monitor and mouse
• System software implicit the operating system and all the uses that
enable the computer to go through the function.
• Input/output device is any hardware used by a human operator or
other system to communicate with a computer.
HISTORYOF C PROGRAMMING
• It was developed at AT&T’s Bell laboratory.
• It was designed and developed by Dennis Ritchie.
• It was developed in 1972.
• C is a structured programming language.
• C program built from
variables and type declarations
functions
statements
expression
TOKENS, KEYWORDSAND CONSTANT
• The smallest individual units in a c program are know as
token.
• C has six different types of tokens are keywords, identifiers,
constant, strings, specialsymbols,operators.
• Keywords are the words that have special meaning to the c
compiler.
• Keywordsalwayswrittenin only lowercase.
• Constant in c are the fixed values that donot change during
the execution of a program.
CONTROLAND SWITCHSTATEMENT
• if statement is an optional case whether use it no not
else statement, which executes when the true or false
expression is false.
• A switch statement tolerate a variable to be tested for
equality versus a list of values. Each value is called a
occurrence.
• Do-while statement fabricate a structured loop that
executes as long as specified condition is true .
ARRAYANDFUNCTION
• An array is a box structured objectthat holds a fixed
number of values of a singletype.
• An array is a collectionof one or more valuesof the same
type. each value is called an element of the array
• A string is an array characters. The maximum size is the
same for allthe strings stored in a threedimensional array.
• Two typesof storage classthereare automatic and static.
POINTERS ANDFUNCTION
• A pointer is an variable whose value is the address of
another variable.
• The actual data type of the value of all pointer,
whether integer, float.
• An array of pointers to string is an array of character
pointer where each pointer points to the first character
of the string or the base address of the string.

Mais conteúdo relacionado

Semelhante a Introduction to c converted-converted

ds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.pptds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.ppt
AlliVinay1
 
332 ch07
332 ch07332 ch07
332 ch07
YaQ10
 

Semelhante a Introduction to c converted-converted (20)

CS4443 - Modern Programming Language - I Lecture (2)
CS4443 - Modern Programming Language - I  Lecture (2)CS4443 - Modern Programming Language - I  Lecture (2)
CS4443 - Modern Programming Language - I Lecture (2)
 
Data structure
Data structureData structure
Data structure
 
Computer Sience, This is my presentation for beginners coding in python
Computer Sience, This is my presentation for beginners coding in pythonComputer Sience, This is my presentation for beginners coding in python
Computer Sience, This is my presentation for beginners coding in python
 
lec 2.pptx
lec 2.pptxlec 2.pptx
lec 2.pptx
 
C language
C languageC language
C language
 
C#
C#C#
C#
 
Data Handling
Data HandlingData Handling
Data Handling
 
chapter 5.ppt
chapter 5.pptchapter 5.ppt
chapter 5.ppt
 
8. data types
8. data types8. data types
8. data types
 
Basic Concepts of C Language.pptx
Basic Concepts of C Language.pptxBasic Concepts of C Language.pptx
Basic Concepts of C Language.pptx
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
C programming basic concepts of mahi.pptx
C programming basic concepts of mahi.pptxC programming basic concepts of mahi.pptx
C programming basic concepts of mahi.pptx
 
Learning core java
Learning core javaLearning core java
Learning core java
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 
Type checking compiler construction Chapter #6
Type checking compiler construction Chapter #6Type checking compiler construction Chapter #6
Type checking compiler construction Chapter #6
 
12.6-12.9.pptx
12.6-12.9.pptx12.6-12.9.pptx
12.6-12.9.pptx
 
CSC111-Chap_02.pdf
CSC111-Chap_02.pdfCSC111-Chap_02.pdf
CSC111-Chap_02.pdf
 
ds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.pptds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.ppt
 
VB.NET Datatypes.pptx
VB.NET Datatypes.pptxVB.NET Datatypes.pptx
VB.NET Datatypes.pptx
 
332 ch07
332 ch07332 ch07
332 ch07
 

Último

Último (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Introduction to c converted-converted

  • 2. COMPUTER SYSTEMCHARACTERISTIC • Characteristics of computers that have made them so powerfull and universal useful are speed, accuracy, diligence, versatility and storage capacity. • Computer hardware is the collection of physical parts of a computer system, e.g: monitor and mouse • System software implicit the operating system and all the uses that enable the computer to go through the function. • Input/output device is any hardware used by a human operator or other system to communicate with a computer.
  • 3. HISTORYOF C PROGRAMMING • It was developed at AT&T’s Bell laboratory. • It was designed and developed by Dennis Ritchie. • It was developed in 1972. • C is a structured programming language. • C program built from variables and type declarations functions statements expression
  • 4. TOKENS, KEYWORDSAND CONSTANT • The smallest individual units in a c program are know as token. • C has six different types of tokens are keywords, identifiers, constant, strings, specialsymbols,operators. • Keywords are the words that have special meaning to the c compiler. • Keywordsalwayswrittenin only lowercase. • Constant in c are the fixed values that donot change during the execution of a program.
  • 5. CONTROLAND SWITCHSTATEMENT • if statement is an optional case whether use it no not else statement, which executes when the true or false expression is false. • A switch statement tolerate a variable to be tested for equality versus a list of values. Each value is called a occurrence. • Do-while statement fabricate a structured loop that executes as long as specified condition is true .
  • 6. ARRAYANDFUNCTION • An array is a box structured objectthat holds a fixed number of values of a singletype. • An array is a collectionof one or more valuesof the same type. each value is called an element of the array • A string is an array characters. The maximum size is the same for allthe strings stored in a threedimensional array. • Two typesof storage classthereare automatic and static.
  • 7. POINTERS ANDFUNCTION • A pointer is an variable whose value is the address of another variable. • The actual data type of the value of all pointer, whether integer, float. • An array of pointers to string is an array of character pointer where each pointer points to the first character of the string or the base address of the string.