PG – 618

*PG618*

I Semester M.C.A. Degree Examination, February/March 2013 (Y2K5 Scheme) COMPUTER SCIENCE 1MCA2 : Computer Programming and Problem Solving Time : 3 Hours Instruction :

Max. Marks : 80 Answer any five questions choosing atleast two from each Part. PART – I

1. a) Give the flow chart representation for nesting of two loops.

8

b) Explain the features of C-language.

8

2. a) What are the decision making statements which are supported in C and write their flow charts and explain ?

8

b) Write a program in C to check whether a given number is PRIME number or not.

8

3. a) Write a program in C to print as below using one-dimensional array.

8

x [ 1 ] = 1.10 x [ 2 ] = 2.20 x [ 3 ] = 3.30 x [ 4 ] = 4.40 x [ 5 ] = 5.50 b) What are the commonly used string-handling functions and write their action ?

8

4. a) Write a program to interchange the valves of two variables using call by valve method.

8

b) Write a function to find the GCD of two given numbers.

8

P.T.O.

*PG618*

PG – 618

PART – II 5. a) Write a C program to illustrate pointer to an array concept.

8

b) Write a program to reverse string content using its pointer.

8

6. a) Briefly explain the features of C preprocessor.

8

b) Explain the rules and uses of macro definition.

8

7. a) What are the different storage classes that exist in C ? Explain. b) Write a program to read a text fib and accumulate the occurrence of each character in two dimensional array and output the frequency. 8. Write short notes on the following : a) GetChar and PutChar b) Local and global variables c) Malloc and Calloc functions d) Bitwise Operators.

________________

8 8 (4×4)

Computer Programming and Problem Solving.pdf

Whoops! There was a problem loading this page. Computer Programming and Problem Solving.pdf. Computer Programming and Problem Solving.pdf. Open.

62KB Sizes 1 Downloads 97 Views

Recommend Documents

COMPUTER PROGRAMMING AND PROBLEM SOLVING.pdf
COMPUTER PROGRAMMING AND PROBLEM SOLVING.pdf. COMPUTER PROGRAMMING AND PROBLEM SOLVING.pdf. Open. Extract. Open with. Sign In.

Concepts, Techniques, and Models of Computer Programming
Jun 5, 2003 - 2.1 Defining practical programming languages . . . . . . . . . . . . . 33 .... 3 Declarative Programming Techniques. 113 ... 3.7.3 A word frequency application . ...... an Apple Macintosh PowerBook G4 with Mac OS X and X11. The first ..

Concepts, Techniques, and Models of Computer Programming
Jun 5, 2003 - One approach to study computer programming is to study .... based on Java, but the problem exists in all existing languages to some degree.

fundamentals of computer programming and information technology ...
fundamentals of computer programming and information technology pdf. fundamentals of computer programming and information technology pdf. Open. Extract.

111208-110003-Computer Programming and Utilization.pdf ...
Page 1 of 2. Stand 02/ 2000 MULTITESTER I Seite 1. RANGE MAX/MIN VoltSensor HOLD. MM 1-3. V. V. OFF. Hz A. A. °C. °F. Hz. A. MAX. 10A. FUSED. AUTO HOLD. MAX. MIN. nmF. D Bedienungsanleitung. Operating manual. F Notice d'emploi. E Instrucciones de s

COMPUtER PROGRAMMiNG
Good salaries. Good growth. If there is an app for something, there is computer programmer behind it.. Modern life is sup- ported by computer programs.. In 2009 the median salary was. $90,000 a year. Current growth is projected at over 30% per year t