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

C Programming 5

The document is an examination paper for a course on Problem Solving Through C, consisting of three pages and containing questions from various units. It includes topics such as increment operators, decision tables, structured programming, flowcharts, data types, loops, recursion, pointers, dynamic memory allocation, and string manipulation. Students are required to answer five questions, selecting one from each unit, with the first question being compulsory.

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)
3 views2 pages

C Programming 5

The document is an examination paper for a course on Problem Solving Through C, consisting of three pages and containing questions from various units. It includes topics such as increment operators, decision tables, structured programming, flowcharts, data types, loops, recursion, pointers, dynamic memory allocation, and string manipulation. Students are required to answer five questions, selecting one from each unit, with the first question being compulsory.

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
‘Total Pages: 03, PMCA/M-23 24626 CSDE-12 Problem Solving Through C ‘Time : Thee Houts} [Maximum Marks - 80 Note = Attempt Five questions in all, selecting one question fom each Unit. Q. No.1 is compulsory All questions carry equal marks 1. (@)_ What is the diference between prefix and postix increment operators ? (©) Discuss the use of break statement in swith (©) What are the diferent logical operators in C7 Mstete () Differentiate between compiler, interpreter and assembler Unit 2 (@) What is decision table ? Draw the decision table t0 find the largest of three numbers (©) What is structured programming ? What are the rules of it? Discuss e700 124606 Pro. (@) Define flowchart What are the different symbols used in it ? Discuss is merits and demerits over decision tables, (©) Differentiate between top-down and bottom-up programming niet (2) What are the diferent data types in € ? Discuss the ferent types of integers in C using examples, (©) What do you understand by bit wise operators ? Discuss the use of << and >> operators using suitable examples (2) What do you understand by hierarchy of operators? Discuss the hierarchy of arithmetic operators. (6) Wite a program in C to find the larger of 10 numbers using ternary conditional operator. Unit (2) What is for loop ? Discuss its syntax and waite a rogram in C wo read a Wo dimensional array using for loop. (©) What is recursion ? Write a recursive function to ‘compute factorial of a given umber What isa function ? Write program in C to generate the natural numbers upto 100 excluding prime numbers Make the use of continue statement and function L266 2 Uni 8 (@) What is pointer ? Write a program in C to access the elements of an array using pointers, (6) What is dynamic memory alloction ? How is i performed using pointers ? Mlutate 9. (@) What is struct ? How do you access its elements ? llastete (©) Define string. Discuss the strepy() and streatO) fanetions using examples. ow L626 3 00

You might also like