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