SlideShare a Scribd company logo
1 of 3
GE6151 – COMPUTER PROGRAMMING REG.2013 NOTES
Prepared by V.Balamurugan, Assistant professor / Dept ofIT
Q January 14 May 14 January 15 May 15
1. Adv - 5th generation
computers
(110100111101)2 = (?)8 What is Flow chart? What is super computer?
2. What is pseudo code? Flowchart for biggest of 2number Define algorithm Define pseudo code
3. What are operators in C? What are data types in C? What is a variable? Define keywords
4. Print from 10 to 1 Program for factorial What is ternary operator? Write any 4 I/O statements
5. What is array? What is 2D array? Declare float array with
5values
Define array
6. Write 4 string handling
functions
Write 4 string handling functions What is string array? What is character string
7. Define functions Define recursion Define functions Actual and formal parameter?
8. Define pointer call by value/call byreference What is address operator? Define pointer
9. Define pre-processor What is the Purpose ofunion? What is static storageclass? Define structure
10. Difference b/w struct &union What are pre-processor
directives?
What is #define pre-processor? Define pre-processor
11a Generation of computers(16) Generation of computers(10)
Flowchart for factorial (6)
Organization of computer(10)
PseudoCode-swap two
numbers(6)
Generation of computers(8)
Number system problem(8)
11b Organization of computer(16) Organization of computer (8)
Flowchart for 1+2+3+....+100 (8)
Number system problem(10)
Need of Logical analysis? (6)
Organization of computer (8)
Flowchart–find +/-/0
number(8)
12a Looping in C(16) Prgm - prime or not (8)
Prgm - sum of digits of a
number(8)
Explain operators in C (16)
Explain looping in C(16)
Explain operators in C (8)
Explain constants in C (8)
12b Branching in C(16) Prgm - Roots of quadratic eqn(8)
Prgm - Entry/exit checked loop(8)
Sort an array of numbers (8)
Program using strlen (8)
Explain looping in C (8)
Prgm-Roots of quadratic
eqn(8)
13a Program to reverse a
string(8)
Program for fibbonacci(8)
Prgm - call by reference(8)
Prgm – factorial (8)
Matrix multiplication (8)
Search an element in array(8)
Matrix addition(8)
Search an element in
array(8)
13b Matrix addition(16) Prgm – factorial (8)
Prgm – pointers (8)
Call by value / reference (16) Sort an array of numbers (8)
String handling functions(8)
14a How function is declared? (8)
Call by value & reference(8)
Prgm – bubble sort (16) Recursion (8) Pgrm - Factorial (8)
Prgm – pass by reference(8)
14b Function prototypes(8)
Recursion(8)
Matrix subtraction(16) Prgm–find power of a
number(8)
Prgm-sum of digits of a
number(8)
Prgm-pointer decrement (8)
15a Storage class (8)
Structure(8)
Explain storage class(16) Explain struct withexample(16) Book details using struct(16)
15b Student Mark sheet using
structure(16)
Employee details using structure(16) Explain register storage class(6)
Explain union(6), pre-processor(4)
Explain storage class (8)
Explain union with ex(8)
UNIT 1 UNIT 2 UNIT 3 UNIT 4 UNIT 5
Application & system s/w What is a variable? What is an array? Define function Define structure Adv–
5th generation comp Define keywords String handling functions Define pointers What is pre-processor
Digital computer What are the data types? What is 2D array? Define recursion #define pre-processor
Super computer Program for factorial What is string array? Call by value / reference What is a macro?
Compare RAM and ROM Operators in C Diff b/w struct&union
What is algorithm? Ternary operator Purpose of struct
What is pseudo code? Break and continue Purpose of union
What is flow chart? Program – odd or even Types of storage class
Number problem Diff b/w while & do..While Static storage class
Biggest among 2 numbers Extern storage class
Print from 10 to 1
Generation of computers Looping in C Bubble sort Pgrm – sum of digits Mark sheet – struct
Organization of computer Branching in C Insertion sort Function prototypes Employee – struct
Flowcharts Arithmetic&relational Merge sort Recursion (factorial) union
Number problem Logical&assignment Linear search Call by value&reference Storage classes
Increment/decrement Pgrm – fibbonacci Arithmetic op (pointers) Pre-processor
Formatted/unformatted IO Pgrm – factorial
Pgrm – prime or not Pgrm – matrix add
Pgrm – quadratic eqn Pgrm – matrix sub
Pgrm – matrix multiply
Pgrm-string functions
Pgrm –entry&exit checked
Underlined questions are the most probable questions expected to come for Dec 2015 exam
GE6151 – COMPUTER PROGRAMMING REG.2013 NOTES
Prepared by V.Balamurugan, Assistant professor / Dept ofIT
UNIT 1 
INTRODUCTION TO COMPUTERS
1. What is a computer?
 The computer is an electronic machine that takes input from the user and processes it to generate the output in the
form of useful information.
2. What is a program?
 A program is a set of instructions that can be executed one-by-one in thecomputer.
 Each program performs certain task that is created by the user.
3. What is Hardware and Software?
 Hardware of the computer means, all the visible components of a computer that are needed for proper functioning.
It is the framework. Software is applied on the hardware of the computer. E.x: CPU, monitor,etc
 Software of the computer means, the set of programs that can be executed one by one in acomputer.
It controls all the operations of a computer. Ex: OS, games softwares,etc
4. What is the difference between application software and system software?
 System softwares are inbuilt softwares that are required to start thecomputer.
 Without system software, a computer cannot work properly. Ex : Windows OS, Linux OS, DOS,etc
 Application softwares are optional softwares that are needed to perform certain task needed foruser.
 Without application software, a system can work. Ex: Tally, Games softwares, etc
5. What are the advantages and disadvantages of first generation ofcomputers?
Advantages:
 Based on vacuum tube technology
 During that time, these type of computers
were the fastest.
 Calculations are done in milliseconds.
Disadvantages:-
 Large space is needed.
 It takes more power
 Very costly
 No reliability
 Programming is difficult
6. What are the advantages and disadvantages of second generation ofcomputers?
Advantages:
 Based on transistor technology
 Small in size
 Less heat produced
 Calculations are done in microseconds
 Better reliability
Disadvantages:-
 Very costly
 It needed AC
 Production was difficult
7. What are the advantages and disadvantages of third generation ofcomputers?
Advantages:
 Based on IC (Integrated Chip) technology
 Calculations are done in nano seconds
 Less power needed
 Less maintenance cost
 More reliability
Disadvantages:-
 It needed AC
 Production was difficult
8. What are the advantages and disadvantages of fourth generation of computers?
Advantages:
 Based on Processor technology
 Small in size
 Portable and very much reliable
 Less maintenance cost
 All programming languages aresupported
Disadvantages:-
 Production was difficult
9. What are the advantages and disadvantages of fifth generation of computers?
Advantages:
 Portable
 User friendly
 Supports many OS
 Supports parallel programming
 High speedcalculations
 Large storage capacity.
Disadvantages:-
 There is no program that makes the computer to
operate completely automatic.
Thank you for using www.freepdfconvert.com service!
Only two pages are converted. Please Sign Up to convert all pages.
https://www.freepdfconvert.com/membership

More Related Content

Similar to cp.docx

U19CS101 - PPS Unit 4 PPT (1).ppt
U19CS101 - PPS Unit 4 PPT (1).pptU19CS101 - PPS Unit 4 PPT (1).ppt
U19CS101 - PPS Unit 4 PPT (1).pptManivannan837728
 
Pragmatic Optimization in Modern Programming - Ordering Optimization Approaches
Pragmatic Optimization in Modern Programming - Ordering Optimization ApproachesPragmatic Optimization in Modern Programming - Ordering Optimization Approaches
Pragmatic Optimization in Modern Programming - Ordering Optimization ApproachesMarina Kolpakova
 
Synchronizing Parallel Tasks Using STM
Synchronizing Parallel Tasks Using STMSynchronizing Parallel Tasks Using STM
Synchronizing Parallel Tasks Using STMIJERA Editor
 
MGU SYLLABUS MANUAL-Advance diploma in computer applications
MGU SYLLABUS MANUAL-Advance diploma in computer applicationsMGU SYLLABUS MANUAL-Advance diploma in computer applications
MGU SYLLABUS MANUAL-Advance diploma in computer applicationsmahatmagandhiuniversity
 
Microprocessor Microcontroller Interview & Viva Question.pdf
Microprocessor Microcontroller Interview & Viva Question.pdfMicroprocessor Microcontroller Interview & Viva Question.pdf
Microprocessor Microcontroller Interview & Viva Question.pdfEngineering Funda
 
ISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary path
ISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary pathISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary path
ISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary pathJohn Holden
 
Sparklyr: Big Data enabler for R users
Sparklyr: Big Data enabler for R usersSparklyr: Big Data enabler for R users
Sparklyr: Big Data enabler for R usersICTeam S.p.A.
 
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAM
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAMSparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAM
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAMData Science Milan
 
Machine learning on streams of data
Machine learning on streams of dataMachine learning on streams of data
Machine learning on streams of dataTomasz Sosiński
 
Overview Of Parallel Development - Ericnel
Overview Of Parallel Development -  EricnelOverview Of Parallel Development -  Ericnel
Overview Of Parallel Development - Ericnelukdpe
 
MCSoC'13 Keynote Talk "Taming Big Data Streams"
MCSoC'13 Keynote Talk "Taming Big Data Streams"MCSoC'13 Keynote Talk "Taming Big Data Streams"
MCSoC'13 Keynote Talk "Taming Big Data Streams"Hideyuki Kawashima
 
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU SelectionMachine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU SelectionAkihiro Hayashi
 

Similar to cp.docx (20)

Bachelor in-computer-application
Bachelor in-computer-applicationBachelor in-computer-application
Bachelor in-computer-application
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
U19CS101 - PPS Unit 4 PPT (1).ppt
U19CS101 - PPS Unit 4 PPT (1).pptU19CS101 - PPS Unit 4 PPT (1).ppt
U19CS101 - PPS Unit 4 PPT (1).ppt
 
Pragmatic Optimization in Modern Programming - Ordering Optimization Approaches
Pragmatic Optimization in Modern Programming - Ordering Optimization ApproachesPragmatic Optimization in Modern Programming - Ordering Optimization Approaches
Pragmatic Optimization in Modern Programming - Ordering Optimization Approaches
 
Computer Programming_Unit 1
Computer Programming_Unit 1Computer Programming_Unit 1
Computer Programming_Unit 1
 
C q 1
C q 1C q 1
C q 1
 
Introduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSPIntroduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSP
 
Synchronizing Parallel Tasks Using STM
Synchronizing Parallel Tasks Using STMSynchronizing Parallel Tasks Using STM
Synchronizing Parallel Tasks Using STM
 
MGU SYLLABUS MANUAL-Advance diploma in computer applications
MGU SYLLABUS MANUAL-Advance diploma in computer applicationsMGU SYLLABUS MANUAL-Advance diploma in computer applications
MGU SYLLABUS MANUAL-Advance diploma in computer applications
 
Microprocessor Microcontroller Interview & Viva Question.pdf
Microprocessor Microcontroller Interview & Viva Question.pdfMicroprocessor Microcontroller Interview & Viva Question.pdf
Microprocessor Microcontroller Interview & Viva Question.pdf
 
ISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary path
ISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary pathISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary path
ISC Frankfurt 2015: Good, bad and ugly of accelerators and a complementary path
 
Advance diploma in it
Advance diploma in itAdvance diploma in it
Advance diploma in it
 
Sparklyr: Big Data enabler for R users
Sparklyr: Big Data enabler for R usersSparklyr: Big Data enabler for R users
Sparklyr: Big Data enabler for R users
 
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAM
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAMSparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAM
Sparklyr: Big Data enabler for R users - Serena Signorelli, ICTEAM
 
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGSA STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
 
Machine learning on streams of data
Machine learning on streams of dataMachine learning on streams of data
Machine learning on streams of data
 
Overview Of Parallel Development - Ericnel
Overview Of Parallel Development -  EricnelOverview Of Parallel Development -  Ericnel
Overview Of Parallel Development - Ericnel
 
MCSoC'13 Keynote Talk "Taming Big Data Streams"
MCSoC'13 Keynote Talk "Taming Big Data Streams"MCSoC'13 Keynote Talk "Taming Big Data Streams"
MCSoC'13 Keynote Talk "Taming Big Data Streams"
 
Matopt
MatoptMatopt
Matopt
 
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU SelectionMachine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
 

More from Balasubramanian699229 (12)

computer networks Error Detection Methods.pdf
computer networks Error Detection Methods.pdfcomputer networks Error Detection Methods.pdf
computer networks Error Detection Methods.pdf
 
Engineers as experimenter in professional ethics
Engineers as experimenter in professional ethicsEngineers as experimenter in professional ethics
Engineers as experimenter in professional ethics
 
Introduction to Computers.ppt
Introduction to Computers.pptIntroduction to Computers.ppt
Introduction to Computers.ppt
 
Unit III.ppt
Unit III.pptUnit III.ppt
Unit III.ppt
 
DATA COMMUNICATIONS.ppt
DATA COMMUNICATIONS.pptDATA COMMUNICATIONS.ppt
DATA COMMUNICATIONS.ppt
 
bargaining.pdf
bargaining.pdfbargaining.pdf
bargaining.pdf
 
occupational crime.pdf
occupational crime.pdfoccupational crime.pdf
occupational crime.pdf
 
quicksort (1).ppt
quicksort (1).pptquicksort (1).ppt
quicksort (1).ppt
 
Civic Virtues_Unit1.pptx
Civic Virtues_Unit1.pptxCivic Virtues_Unit1.pptx
Civic Virtues_Unit1.pptx
 
Titanic-Powerpoint.pdf
Titanic-Powerpoint.pdfTitanic-Powerpoint.pdf
Titanic-Powerpoint.pdf
 
3 Mile island.pdf
3 Mile island.pdf3 Mile island.pdf
3 Mile island.pdf
 
Chernobyl_Nuclear_Disaster_ppt.pptx
Chernobyl_Nuclear_Disaster_ppt.pptxChernobyl_Nuclear_Disaster_ppt.pptx
Chernobyl_Nuclear_Disaster_ppt.pptx
 

Recently uploaded

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...Call girls in Ahmedabad High profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Recently uploaded (20)

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 

cp.docx

  • 1. GE6151 – COMPUTER PROGRAMMING REG.2013 NOTES Prepared by V.Balamurugan, Assistant professor / Dept ofIT Q January 14 May 14 January 15 May 15 1. Adv - 5th generation computers (110100111101)2 = (?)8 What is Flow chart? What is super computer? 2. What is pseudo code? Flowchart for biggest of 2number Define algorithm Define pseudo code 3. What are operators in C? What are data types in C? What is a variable? Define keywords 4. Print from 10 to 1 Program for factorial What is ternary operator? Write any 4 I/O statements 5. What is array? What is 2D array? Declare float array with 5values Define array 6. Write 4 string handling functions Write 4 string handling functions What is string array? What is character string 7. Define functions Define recursion Define functions Actual and formal parameter? 8. Define pointer call by value/call byreference What is address operator? Define pointer 9. Define pre-processor What is the Purpose ofunion? What is static storageclass? Define structure 10. Difference b/w struct &union What are pre-processor directives? What is #define pre-processor? Define pre-processor 11a Generation of computers(16) Generation of computers(10) Flowchart for factorial (6) Organization of computer(10) PseudoCode-swap two numbers(6) Generation of computers(8) Number system problem(8) 11b Organization of computer(16) Organization of computer (8) Flowchart for 1+2+3+....+100 (8) Number system problem(10) Need of Logical analysis? (6) Organization of computer (8) Flowchart–find +/-/0 number(8) 12a Looping in C(16) Prgm - prime or not (8) Prgm - sum of digits of a number(8) Explain operators in C (16) Explain looping in C(16) Explain operators in C (8) Explain constants in C (8) 12b Branching in C(16) Prgm - Roots of quadratic eqn(8) Prgm - Entry/exit checked loop(8) Sort an array of numbers (8) Program using strlen (8) Explain looping in C (8) Prgm-Roots of quadratic eqn(8) 13a Program to reverse a string(8) Program for fibbonacci(8) Prgm - call by reference(8) Prgm – factorial (8) Matrix multiplication (8) Search an element in array(8) Matrix addition(8) Search an element in array(8) 13b Matrix addition(16) Prgm – factorial (8) Prgm – pointers (8) Call by value / reference (16) Sort an array of numbers (8) String handling functions(8) 14a How function is declared? (8) Call by value & reference(8) Prgm – bubble sort (16) Recursion (8) Pgrm - Factorial (8) Prgm – pass by reference(8) 14b Function prototypes(8) Recursion(8) Matrix subtraction(16) Prgm–find power of a number(8) Prgm-sum of digits of a number(8) Prgm-pointer decrement (8) 15a Storage class (8) Structure(8) Explain storage class(16) Explain struct withexample(16) Book details using struct(16) 15b Student Mark sheet using structure(16) Employee details using structure(16) Explain register storage class(6) Explain union(6), pre-processor(4) Explain storage class (8) Explain union with ex(8) UNIT 1 UNIT 2 UNIT 3 UNIT 4 UNIT 5 Application & system s/w What is a variable? What is an array? Define function Define structure Adv– 5th generation comp Define keywords String handling functions Define pointers What is pre-processor Digital computer What are the data types? What is 2D array? Define recursion #define pre-processor Super computer Program for factorial What is string array? Call by value / reference What is a macro? Compare RAM and ROM Operators in C Diff b/w struct&union What is algorithm? Ternary operator Purpose of struct What is pseudo code? Break and continue Purpose of union What is flow chart? Program – odd or even Types of storage class Number problem Diff b/w while & do..While Static storage class Biggest among 2 numbers Extern storage class Print from 10 to 1 Generation of computers Looping in C Bubble sort Pgrm – sum of digits Mark sheet – struct Organization of computer Branching in C Insertion sort Function prototypes Employee – struct Flowcharts Arithmetic&relational Merge sort Recursion (factorial) union Number problem Logical&assignment Linear search Call by value&reference Storage classes Increment/decrement Pgrm – fibbonacci Arithmetic op (pointers) Pre-processor Formatted/unformatted IO Pgrm – factorial Pgrm – prime or not Pgrm – matrix add Pgrm – quadratic eqn Pgrm – matrix sub Pgrm – matrix multiply Pgrm-string functions Pgrm –entry&exit checked Underlined questions are the most probable questions expected to come for Dec 2015 exam
  • 2. GE6151 – COMPUTER PROGRAMMING REG.2013 NOTES Prepared by V.Balamurugan, Assistant professor / Dept ofIT UNIT 1  INTRODUCTION TO COMPUTERS 1. What is a computer?  The computer is an electronic machine that takes input from the user and processes it to generate the output in the form of useful information. 2. What is a program?  A program is a set of instructions that can be executed one-by-one in thecomputer.  Each program performs certain task that is created by the user. 3. What is Hardware and Software?  Hardware of the computer means, all the visible components of a computer that are needed for proper functioning. It is the framework. Software is applied on the hardware of the computer. E.x: CPU, monitor,etc  Software of the computer means, the set of programs that can be executed one by one in acomputer. It controls all the operations of a computer. Ex: OS, games softwares,etc 4. What is the difference between application software and system software?  System softwares are inbuilt softwares that are required to start thecomputer.  Without system software, a computer cannot work properly. Ex : Windows OS, Linux OS, DOS,etc  Application softwares are optional softwares that are needed to perform certain task needed foruser.  Without application software, a system can work. Ex: Tally, Games softwares, etc 5. What are the advantages and disadvantages of first generation ofcomputers? Advantages:  Based on vacuum tube technology  During that time, these type of computers were the fastest.  Calculations are done in milliseconds. Disadvantages:-  Large space is needed.  It takes more power  Very costly  No reliability  Programming is difficult 6. What are the advantages and disadvantages of second generation ofcomputers? Advantages:  Based on transistor technology  Small in size  Less heat produced  Calculations are done in microseconds  Better reliability Disadvantages:-  Very costly  It needed AC  Production was difficult 7. What are the advantages and disadvantages of third generation ofcomputers? Advantages:  Based on IC (Integrated Chip) technology  Calculations are done in nano seconds  Less power needed  Less maintenance cost  More reliability Disadvantages:-  It needed AC  Production was difficult 8. What are the advantages and disadvantages of fourth generation of computers? Advantages:  Based on Processor technology  Small in size  Portable and very much reliable  Less maintenance cost  All programming languages aresupported Disadvantages:-  Production was difficult 9. What are the advantages and disadvantages of fifth generation of computers? Advantages:  Portable  User friendly  Supports many OS  Supports parallel programming  High speedcalculations  Large storage capacity. Disadvantages:-  There is no program that makes the computer to operate completely automatic.
  • 3. Thank you for using www.freepdfconvert.com service! Only two pages are converted. Please Sign Up to convert all pages. https://www.freepdfconvert.com/membership