You are on page 1of 2
15M103, BE (Applied Science) Ist/2nd Semester Examination BASICS OF COMPUTER & PROGRAMMING IN C /Paper-CST-123/CST-105 Time allowed : 3 hours] [Maximum marks : 60 ) (2) @ (b) Section—A (Compulsory Question) What is output of the following C Code inta=1; printf ("%d %d %d\n' a, a+, +44); Draw block diagram of Computer System and explain each 6fthe block briefly. Diflerentiate ‘between primary; secondary and cache memory. Represent 32 and -32 in binary format. Differentiate between struct and union, cite suitable examples. 2,2,2,2,2 Section-B Draw flowchart to find maximum amongst three numbers eryen as input. Explainn major functions ear by Operating System. i 55 15M103-1000 PTO. soe ooenenppyitedPages 3g is a Explain the ¢ 4 7 relational, logical, and assignment operators in ¢ cu language 10 4. Write a program to print reverse of a given number 10 Section-—C 5. Describe recursion. Write a program to calculate a Il No. f Fr 5 factorial of a number using recursion. 10 —— 6. What is an array ? Explain the declaration and . initialization of one and two dimensional arrays with Sid example. 10 | 7. Write a program to find out whether a given string is a palindrome or not ? 10 % | ¢ Section-D “a 8. What are the different functions related to the file handling in ‘C’ ? 10 9. Difference between multiprogramming and multitasking ? Write short note on how the operating system provides protection and security to the system ? ‘ 10 ‘ ate 10. What is Operating System, discuss the various ‘ "generations of operating systems ? Explain briefly the various functions*of OS. me 10% \ otcucein einccnbee

You might also like