BSc Part 1 Computer Science 2022 Past Paper (PDF) - F-3618

Summary

This is a past paper for BSc Part 1 Computer Science (Programming in 'C' Language) exam, from June 2022. It includes questions on programming, operators, and conditional statements. There are different units of questions covering various aspects of C programming.

Full Transcript

Roll No............................ Total Printed Pages - 3 Unit - II 2...

Roll No............................ Total Printed Pages - 3 Unit - II 2. (a) Write a program to check given number is Armstrong Number or not? F - 3618 OR B.Sc. (Part - I) Examination, 2022 (b) Explain any two types of conditional state- (New Course) ment and give one suitable example of any type. COMPUTER SCIENCE Paper Second Unit - III (Programming in "C" Language) 3. (a) Write a program to input any 10 elements in integer array and print reverse of element. Time : Three Hours] [Maximum Marks:50 OR (b) Write difference between Array and Note: Attempt any one part from each unit. structure. Unit - I Unit - IV 1. (a) Describe types of operator with example and 4. (a) Write a program to show demonstrate write a program to show use of some operator. Array of pointer. OR OR (b) Write short notes on following - (b) Explain all dynamic memory allocation (i) Any two I/O function function. (ii) Data types P.T.O. F - 3618 Unit - V 5. (a) Explain file handling by giving some examples of file handling function. OR (b) Write short notes on the following- (i) #define (ii) #else (iii) #endif (iv) fseek (v) ferror F - 3618

Use Quizgecko on...
Browser
Browser