0% found this document useful (0 votes)
2 views

C Programming 1

This document is an examination paper for a course on Problem Solving through C, consisting of multiple questions across four units. It includes a compulsory question and various topics such as differences between source and object programs, data types, structured programming, and functions in C. The paper tests knowledge on syntax and semantic errors, operators, memory management, and programming concepts.

Uploaded by

Gaurav Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
2 views

C Programming 1

This document is an examination paper for a course on Problem Solving through C, consisting of multiple questions across four units. It includes a compulsory question and various topics such as differences between source and object programs, data types, structured programming, and functions in C. The paper tests knowledge on syntax and semantic errors, operators, memory management, and programming concepts.

Uploaded by

Gaurav Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
Roll No... Total Pages : 3 MCA/M-15 10312 PROBLEM SOLVING THROUGH C Paper-CS-DE-12 ‘Time Allowed : 3 Hours} (Maximum Marks : 80 Note : Attempt five questions in all, selecting at least one question from each Unit. Question No. 1 is compulsory. All questions carry equal marks, Compulsory Question 1. (a) What is the difference between Source program and Object program? (b) When is it advisable to use Unsigned integer over Signed integer? (c) What is the use of Register storage class? (d) Write a brief note on the library functions used in dynamic memory management. UNIT-I (a) What is the difference between Syntax error and Semantic error? Explain each using suitable examples (b) What is a Decision table? What are its merits and demerits over flow chart? Draw a decision table to find the largest of three number. 10312/K/53/1,800 P.O. (2) Define Structured programming? What are its rules? Discuss the advantages of structured programming, (b) Differentiate between the following : ) Lexical analysis and Syntax analysis (ii) Compiler and Interpreter. UNIT-IL (a) What is the difference between hierarchy of operators and associativity of operators? Discuss the operators in © language having the associativity right to left. (b) What do you understand by Bitwise operators? Differentiate between << and >> operators using suitable examples. (a) What are the different data types available in C language? Discuss. (b) Write a note on the use of ternary operator in C language. ‘UNIT-IL What is the difference between Break and continue statement? Write a program in C language fo generate the prime numbers upto 100 except those which are greater than 40 and less than 60. What is a Function? What is the difference between call by value and call by reference parameter passing techniques? Write a recursive function to compute factorial of given integer. 10312/K/53/1,800 a; ‘UNIT-IV What is a String? Write a function in C to return the number of vowels present in a string. (a) What is a Pointer? Write a function to swap the value of two integer variables. (b) What is a Structure? How is a structure declared? How is it passed to a function? Discuss using suitable examples. 10312/K/53/1,800 3

You might also like