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

Problem Solving C 2024

The document outlines an examination paper for a course on Problem Solving through C, consisting of five questions from various units, with one compulsory question. It includes topics such as the differences between compilers and interpreters, structured programming, algorithms, debugging, and various C language constructs. Each question carries equal marks and covers fundamental programming concepts and practices in C.

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)
10 views

Problem Solving C 2024

The document outlines an examination paper for a course on Problem Solving through C, consisting of five questions from various units, with one compulsory question. It includes topics such as the differences between compilers and interpreters, structured programming, algorithms, debugging, and various C language constructs. Each question carries equal marks and covers fundamental programming concepts and practices in C.

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/ 3
Roll No. 235.0203 Total p: { al Pages 503 MCA-1/M-24 24640 PROBLEM SOLVING THROUGH C CSDE-12 | Time : Three Hours] {Maximum Marks : 80 Note : Attempt Five questions in all, selecting one question from each Unit. Q. No. 1 is compulsory. All questions carry equal marks. 1. (a) What is the difference between compiler and, interpreter ? -Differentiate between break and continue statements. (b) ~(c) What is Keyword ? List ithe different keywords in C. (d) What is Function ? How will you declare it ? Unit I 2. (a) What is structured programming ? What are the constructs required in a programming language (o support structured programming ? Discuss. (b) What is Algorithm ? What are its characteristic features ? Write the algorithm to find whether @ given number is prime or not. p.T.O. (5-31/3) L-24640 PTO. © scanned with OKEN Scanner What is Now chart ? Draw the flow chart to find the largest of three integers, 's Bug ? What is debu, (>) What ing ? Discuss the approaches to perform debugging, Unit I 4. (a) What are the tules to name an identifier in C language ? Illustrate. (b) Discuss the use of precedence and associativity of Operators in evaluating arithmetic expressions, 5. (@) What do you understand by ternary operator ? Discuss conditional ternary’ operator in C using Suitable example. ian: i, with uss the different format specifiers used Unit 01 6. (a) What are the differences between while and do- while loops ? Write the program in C to generate Ist N natural numbers using do-while loop. (b) What are the different storage classes in C ? Discuss, 7. (a) What is switch statement ? Write a program in C taking as an input an integer in the range 1 to 12 and print the corresponding month of the year using switch statement. (b) What is an array ? How will you declare and define a two dimensional array ? Illustrate. © Scanned with OKEN Scanner Unicly S (a) What is Sting ? Discuss the syntax and semantics of strempQ and: stlenQ: functions. () Differentiate between struct and ynion. What is Struct ? How is il different from array ? Illustrate, What is Pointer ? Write a function in C to swap the values of two integer variables illustrating the use of pointers. © scanned with OKEN Scanner

You might also like