0% found this document useful (0 votes)
22 views2 pages

C Proagramming Model QP

This document contains a sample question paper template for an Introduction to C Programming course. It includes: 1) Instructions for students on answering questions and assumptions about missing data. 2) 8 questions divided among 5 units of the course. Questions 1 and 2 are compulsory and cover basic C programming concepts like program structure, branching, and arithmetic operations. 3) The remaining questions cover additional C programming topics like functions, arrays, strings, matrices, structures, and pointers with examples and problems to write programs demonstrating the related concepts.

Uploaded by

Shivam Kunal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

C Proagramming Model QP

This document contains a sample question paper template for an Introduction to C Programming course. It includes: 1) Instructions for students on answering questions and assumptions about missing data. 2) 8 questions divided among 5 units of the course. Questions 1 and 2 are compulsory and cover basic C programming concepts like program structure, branching, and arithmetic operations. 3) The remaining questions cover additional C programming topics like functions, arrays, strings, matrices, structures, and pointers with examples and problems to write programs demonstrating the related concepts.

Uploaded by

Shivam Kunal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DAYANANDA SAGAR COLLEGE OF ENGINEERING

(An Autonomous Institute Affiliated to VTU, Belagavi)


Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560111
UG Semester End Examination Question Paper Template

Course: Introduction to C programming Maximum Marks: 100


Course Code:22ETC15J Duration: 03 Hours
Semester:I
Instructions: i). Answer any FIVE full questions. Questions 1 and 2 are compulsory
ii) Missing data, if any, may be suitably assumed
iii) Verify the course code before answering
Q. No. Marks
Question 1 is for 20 marks from UNIT I
1 a) Explain the structure of C program and c tokens used in C programming 10
b) Illustrate the architectural components represented in a computer functional block 10
diagram
Question 2 is for 20 marks from UNIT II
2 a) Demonstrate different branching and looping statements used in c Program with 10
flowchart
b) Develop a c program to perform basic athematic operation 6
c) Compare between Explicit type casting and implicit type casting 4
Question 3 is for 20 marks from UNIT III
3 a) Explain different ways for passing the parameter to the function with example 8
b) Illustrate the declaration of 1D array with different ways of initialization 8
c) Interpret the difference between actual parameter and formal parameter 4
OR
Question 4 is for 20 marks from UNIT III
4 a) Explain recursion function with sample example 8
b) Demonstrate linear search with sample program 8
c) Develop a c program to read and display the 1-D array 4
Question 5 is for 20 marks from Unit IV
5 a) Explain the different built in string handing function with sample program 10
b) Develop a c program that reads two matrix and compute product of matrix ,print 10
both the input and resultant of matrix
OR
Question 6 is for 20 marks from Unit IV
6 a) Demonstrate 2-D array and write a c program to reading and displaying of 2-D array 10
b) Develop a c program to implement the following operation without using library 10
function. Display the result after every operation.
I.read string s1=name
II.read string s2=surname
III.output the concatenated strings

Page 1 of 2
Question 7 is for 20 marks from Unit V
7 a) Explain in detail about declaration and initialization of pointers with sample program 10
b) Develop a c program to create a structure called employee to maintain a record of 10
details using an array of structure with four
feids(emp_name,emp_id,emp_sal,emp_age).Assume appropriate data type for each
field, print the employee detail
OR
Question 8 is for 20 Marks from Unit V
8 a) Explain in detail about structures with sample program 10
b) Develop a c program using pointers to compute the sum, mean and standard 10
deviation of all the elements stored in an array of n real numbers

Page 2 of 2

You might also like