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

C Programming 2

The document outlines an examination paper for a course on Problem Solving through 'C', detailing the structure, compulsory questions, and topics covered in various units. It includes questions on differentiating between programming concepts, flowchart creation, data types, recursion, and memory allocation in 'C'. Students are required to attempt one question from each unit in addition to the compulsory question.

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

C Programming 2

The document outlines an examination paper for a course on Problem Solving through 'C', detailing the structure, compulsory questions, and topics covered in various units. It includes questions on differentiating between programming concepts, flowchart creation, data types, recursion, and memory allocation in 'C'. Students are required to attempt one question from each unit in addition to the compulsory question.

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 : 2 MCA-I/M-16 10762 PROBLEM SOLVING THROUGH ‘C* Paper : CS-DE-12 Time : Three Hours) {Maximum Marks : 80 Note: Q. No. 1 is compulsory. In addition, attempt four more 2. questions selecting exactly one question from each unit. Compulsory Question (a) Differentiate between compiler and interpreter. (b) Differentiate between top-down and bottom-up approach. (©) Write the structure of a ‘C’ program. (@) What are various input statements to input a string? (©) Write a typical program segment where use of goto is necessary in ‘C’. (How can you create dynamic array ig ‘C"? (g) Name the various operations that can not be performed ‘on pointers, (ht) How can you declare a union in ‘C"? (8x2=16) UNIT What is a flowchart? What are its uses? Draw a flowchart to. convert an integer decimal number into a binary number. 16 How can you plan, create and implement a program? Explain all the activities along with tool and techniques used while creating a program. Use suitable examples. 16 10762/1,100/KD/1881 Pro. 1. UNIT-II (@) Discuss various data types in ‘C’ in detail. 8 (b) Explain various VO functions in “C’ using suitable examples. 8 Draw a table of various operators along with their hierarchy and associativity. Explain each operator in brief with suitable examples. 16 UNIT-IL (a) Write a program in ‘C’ to generate first n prime numbers. 8 (©) What is recursion? Explain using appropriate examy 8 Explain various storage classes with the help of appropriate examples. 16 UNIT-IV (a) Write a program in ‘C’ to replace a pattern with another pattern in a given text. 8 (b)_ Differentiate between Arrays, Structures and Union. & (a) How memory can be allocated dynamically in ‘C’? Explain. 8 (b) How can you create dynamic arrays in ‘C’? Explain using suitable examples. 8 10762/1,100/KD/1881 2

You might also like