Trending ▼   ResFinder  

Pune University - FY BSc COMPUTER SCIENCE (Paper - I), April 2010

4 pages, 30 questions, 8 questions with responses, 9 total responses,    0    0
pune_sci
  
+Fave Message
 Home > pune_sci >   F Also featured on: pratik53

Instantly get Model Answers to questions on this ResPaper. Try now!
NEW ResPaper Exclusive!

Formatting page ...

Total No. of Questions : 5] [Total No. of Printed Pages : 4 [3718]-1 F. Y. B. Sc. (Computer Science) Examination - 2010 COMPUTER SCIENCE PAPER - I INTRODUCTION TO PROGRAMMING AND C PROGRAMMING (New 2008 Pattern) Time : 3 Hours] [Max. Marks : 80 Instructions : (1) All questions are compulsory. (2) Figures to the right indicate full marks. (3) Neat diagrams must be drawn wherever necessary. Q.1) Answer the following : (Any Ten) [1x10=10] (1) Give advantages of C Language. (2) What is Source Program and Object Program ? (3) C is a middle level language. Comment. (4) State any four Escape Sequences. (5) How many keywords are used in C Language ? (6) Give rules to declare an Identifier. (7) Give syntax and purpose of go to and label statement. (8) How to access data member from a structure ? (9) What is the difference between SEEK-SET and SEEK-CUR ? (10) Explain any two modes in which files can be opened ? (11) Compare Structure and Union with respect to Memory Management. (12) Explain difference between Pre-increment and Post-increment Operator. [3718]-1 1 P.T.O. Q.2) Answer the following : (Any Four) (a) Distinguish between Compiler and Interpreter. [5x4=20] (b) What is Recursion ? Explain its advantages and disadvantages. (c) Explain any five library functions provided in C to manipulate Strings. (d) (e) Write a note on Preprocessor Directives. Write a note on Command Line Arguments. Q.3) Answer the following : (Any Four) [5x4=20] (a) Write an algorithm and draw a flowchart to check whether the given string is palindrome or not. (b) Find and justify output of the following program segment : #include <stdio.h> void main( ) { char ch = A ; int i = 2; float f = ++ch+i; printf( %f %d %c , f, ch, ch); } (c) [3718]-1 Find and justify output of the following program segment : #include <stdio.h> void main( ) { int n = 63; printf( \n n is %d , n); printf( \n n is %2d , n); printf( \n n is %4d , n); printf( \n n is %6d , n); printf( \n n is %-6d , n); printf( \n n is %\d , n); } 2 Contd. (d) (e) Find and justify output of the following program segment : #include <stdio.h> main( ) { int u1, u2; int v = 3; int * pv; u1 = 2 * (v + 5); pv = &v; u2 = 2 * (* pv + 5); printf( \n u1 = %d u2 = %d , u1, u2); } Complete the following program segment : void main( ) { int n = 5; int fact; fact = factorial(n); printf( %d , fact); } Q.4) Answer the following : (Any Four) [5x4=20] (a) Write a C program to calculate GCD of two numbers. (b) Write a C program to convert decimal number to binary number using function. (c) Write a C program to sort given list of numbers in descending order. (d) Write a C program using pointers to search a substring from the given string. (e) Write a C program which prints number into words : for ex. ilp 123 olp one two three [3718]-1 3 P.T.O. Q.5) Answer the following : (Any Two) [5x2=10] (a) Explain basic datatypes in C Language. (b) What do you mean by Array of Structures ? Explain with example. (c) What is File ? State any four operations on file by giving proper example. [3718]-1/4

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Amit Shingare

(7)

Jayhind Jadhav

(1)

samarth007

(1)

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : F.Y. B.Sc. COMPUTER SCIENCE (Paper - I) : Introduction to Programming and ‘C’ Programming (New 2008 Pattern), Pune University
Tags : fy bsc computer science question papers, fybsc computer science paper 1, C Programming introduction, 2008 Pattern, new course, pune university exam papers, university of pune question papers, pune university science, pune university courses, bsc pune university, msc pune university, pune university solved question papers, pune university model question paper, pune university paper pattern, pune university syllabus, old question papers pune university  

© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us

 

pune_sci chat