Академический Документы
Профессиональный Документы
Культура Документы
First Semester
Computer Science and Engineering
( Common to All Branches )
GE6151 COMPUTER PROGRAMMING
( Regulation 2013 )
Time: 3 Hours
(8)
(8)
OR
(b) (i) Explain in detail about classification of computers.
(ii) Explain the basic computer organization with a neat diagram.
(8)
(8)
12. (a) (i) Explain with suitable example, various branching statements in C.
(8)
(8)
OR
(b) (i) Explain with suitable example, various Looping statements in C.
(ii) Write a program to check whether a given number is Armstrong or Not.
(8)
(8)
13. (a) (i) What is array? How to declare and access elements in an array. Give example.
(ii) Write a C program to demonstrate various string handling functions.
(8)
(8)
OR
(b) (i) Write a C program to read a string from user and check whether it is palindrome.
(8)
(ii) Write a C program to multiply two matrices & display the resultant matrices.
(8)
14. (a) (i) Explain the different function prototypes with necessary syntax and example.
(ii) What is pointer? How it is declared and accessed? Illustrate it with example.
(8)
(8)
OR
(b) (i) Write a C program to find factorial of a given number using recursion.
(ii) Write a C program to illustrate call by value and call by reference.
(8)
(8)