This document outlines the first sessional examination for the Programming Principle & Algorithm course at Sunder Deep College of Management and Technology, scheduled for October 2024. It includes details on the exam format, with three sections: Section A consists of four 2-mark questions, Section B has four 3-mark questions, and Section C includes two 5-mark questions. The exam covers fundamental concepts of the C programming language, including tokens, keywords, variables, data types, and operators.
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 ratings0% found this document useful (0 votes)
11 views1 page
Ppa ST - 1
This document outlines the first sessional examination for the Programming Principle & Algorithm course at Sunder Deep College of Management and Technology, scheduled for October 2024. It includes details on the exam format, with three sections: Section A consists of four 2-mark questions, Section B has four 3-mark questions, and Section C includes two 5-mark questions. The exam covers fundamental concepts of the C programming language, including tokens, keywords, variables, data types, and operators.
ATTEMPT ALL THE SECTIONS AS PER INSTRUCTIONS GIVEN
SECTION-A
ATTEMPT ALL QUESTIONS. EACH QUESTION CARRIES 2 MARKS. (2*4)
Q.No. Questions Marks CO
1 What do you understand by C tokens? 2 CO1 2 Define keywords. 2 CO1 3 What is variable in c? 2 CO1 4 Define precedence and associativity in operators. 2 CO2
SECTION-B
ATTEMPT ANY FOUR QUESTIONS. EACH QUESTION CARRIES 3 MARKS. (3*4)
Q.No. Questions Marks CO
1 Explain the structure of C programming with the help of suitable 3 CO1 example. 2 What are the advantage of C language? 3 CO1 3 What is array? Explain in brief. How array is declared in C? Also 3 CO1 write limitation of an array. 4 Write a program in c to find given no is even or odd using ternary 3 CO2 operator. 5 Evaluate the given expression. int a = 10 ,b =20 ; 3 CO2 int c = a+++(a+b)-(a-b)+a++; printf(“%d”,c);
SECTION-C
ATTEMPT ANY TWO QUESTIONS. EACH QUESTION CARRIES 5 MARKS. (5*2)
Q.No. Questions Marks CO
1 What do you mean by primitive and non-primitive data types? 5 CO1 2 Define a following terms with suitable example. 5 CO1 1) Constant 2) Identifier 3 What is operator? Explain different type of operator in ‘C’. 5 CO2