0 valutazioniIl 0% ha trovato utile questo documento (0 voti)
16 visualizzazioni0 pagine
This document is a two page exam for a Computer Programming and Problem Solving course, containing 16 questions worth 100 total marks. The exam is divided into two parts: Part A contains 8 multiple choice questions worth 5 marks each for a total of 40 marks. Part B contains 6 longer answer questions worth 10 marks each for a total of 60 marks. The questions cover topics like compilers vs interpreters, control structures, arrays, functions, pointers, structures, and more.
This document is a two page exam for a Computer Programming and Problem Solving course, containing 16 questions worth 100 total marks. The exam is divided into two parts: Part A contains 8 multiple choice questions worth 5 marks each for a total of 40 marks. Part B contains 6 longer answer questions worth 10 marks each for a total of 60 marks. The questions cover topics like compilers vs interpreters, control structures, arrays, functions, pointers, structures, and more.
Copyright:
Attribution Non-Commercial (BY-NC)
Formati disponibili
Scarica in formato PDF, TXT o leggi online su Scribd
This document is a two page exam for a Computer Programming and Problem Solving course, containing 16 questions worth 100 total marks. The exam is divided into two parts: Part A contains 8 multiple choice questions worth 5 marks each for a total of 40 marks. Part B contains 6 longer answer questions worth 10 marks each for a total of 60 marks. The questions cover topics like compilers vs interpreters, control structures, arrays, functions, pointers, structures, and more.
Copyright:
Attribution Non-Commercial (BY-NC)
Formati disponibili
Scarica in formato PDF, TXT o leggi online su Scribd
Class NBR : 1295 Slot : A Course Code : CSE101 Course Title : Computer Programming and Problem Solving Time : Three Hours Max.Marks:100 PART A (8 X 5 = 40 Marks) Answer ALL Questions 1. With a neat sketch explain the compiler usage while compiling C program and differentiate compiler with interpreter.
2. List four input devices and write about the purpose for which they are used.
3. Design a algorithm and implement the given below using C language W WE WEL WELC WELCO WELCOM WELCOME
4. With example write about the unconditional control statements.
5. With example brief about pointer concept and why it is important?
6. Why library functions are important in C language and brief the string related inbuilt library functions.
7. Write a C program to find the maximum in a given array.
8. Compare Union and structure with simple examples.
PART B (6 X 10 = 60 Marks) Answer any SIX Questions
9. a) Write about the conditional control statements and its role in C programming. b) Write a C program to test all arithmetic operations using switch case statement. [5] [5] 10. Write an algorithm for Fibonacci series and reversing the digits of an integer. 11. State the structure of the all loop-control statements and write a C program to count the number of digits in the given number.
12. A palindrome is a concept where if you reverse the string then also it remains same, write a C program to perform on a string to check whether a string is a palindrome.
13. Design an algorithm and implement for searching a element in a two dimensional array.
Page 2 of 2 14. a) Why functions are important and state the difference between the inbuilt function and user defined function. b) Explain the function prototype, declaration and function call with example. [4]
[6] 15. Write a C program to print the following series using function. 9 25 57 121 249 505 1017 2041
16. With an example, explain the structure, accessing structure and representing array of structures.
F 5519 (Pages: 2) No Name .. M.C.A (Affiliatede Colleges) Degree Examination, February 2006 First Semester Problem Solving and Computer Programming in "C"
Term End Examination - May 2013 Course: MAT101 - Multivariable Calculus and Differential Equations Slot: F2+TF2 Class NBR: 3461 Time: Three Hours Max - Marks:100