[go: up one dir, main page]

0% found this document useful (0 votes)
11 views5 pages

PPA Important Questions Unit 1 To 6

The document contains a series of questions and programming tasks related to the C programming language, covering topics such as operators, control structures, functions, data types, and problem-solving techniques. It includes examples and explanations for various concepts, as well as programming exercises to reinforce learning. The content is organized into units, each focusing on different aspects of C programming.
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)
11 views5 pages

PPA Important Questions Unit 1 To 6

The document contains a series of questions and programming tasks related to the C programming language, covering topics such as operators, control structures, functions, data types, and problem-solving techniques. It includes examples and explanations for various concepts, as well as programming exercises to reinforce learning. The content is organized into units, each focusing on different aspects of C programming.
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/ 5

BCA-S102T UNIT 2

Que 1 : Explain these with a examples :

a) Ternary Operator
b) Increment and Decrement Operator
c) Assignment operators
d) Relational operators

Que 2: What is the purpose of putchar() and getchar(). Give example of each.

Que 3: Difference between printf() and scanf() ?

Que 4: Explain various Bitwise Shift operators with example of each?

Que 5: Difference between #include and #define ?

Que 6: Explain various Unformatted Input and Unformatted output function in C language . Give
Example of each

Que 8: What is the use of Preprocessor Directive? Explain it with a example.

Que 9: Explain various formatted Input and formatted output function in C language . Give Example of
each

Que 10: Explain various Types of operators in C language.


UNIT 3 : BCA-S102T

Que 1: Write a Program for reversing the digits of a number in c language.

Que 2: Explain the different decision making structures in C language. Give examples of each.

Que 3: Write a Program in C language to print factorial of a number.

Que 4: Write a Program to print out the sum of first N natural numbers.

Que 5 : Write a Program to generate all the Prime number in C language between 1 to 100.

Que 6: What is different between If and Switch statements. Explain with an Example.

Que 7: What is different between While and Do-While statements. Explain with an Example.

Que 8: Write a program to find GCD of two integers M,N.

Que 9: Given the breadth and length of a rectangle, Find the area and perimeter of the rectangle by
writing a C Program.

Que 10: Write a Program to read the week day number as {1,2,3,4,5,6,7} and to print the week day
name using SWITCH statement, Where 1-> Sunday , 2-> Monday and so on … 7->Saturday.

Que 11 : Write a Program to print the ASCII value of a character.

Que 12: Write a Program to convert input temperature from Fahrenheit to Celsius and Vice Versa.

Que 13: Write a Program to compute the XN , Given X and N as Input by the user.

Que 14: Explain with example :

a) Nested If Statements
b) Nested for statements
c) Break and Continue

Que 15: Write all odd number between 701 and 800.

Que 16: What is a palindrome number? Write a C program for it.

Que 17: Write a C program compute bitwise AND between 2 number given by the user at runtime.

Que 18: Explain different Iterative statements in C language.

Que 19 : Write a Program to find the Square and Square root of the number given by the user.

Que 20 : Write a C program to print Table of the number using for loop.

Que 21 : Write a C program to print Fibonacci sequence upto N terms.


BCA-S102T UNIT 1

Que 1 : Explain these with a examples :

a) C Tokens
b) Identifiers
c) Variables and rules for defining a variables
d) Constant
e) Comments
f) Character Set

Que 2: Write Structure of a C program and Explain it with example.

Que 3: Explain Different types of Data Types in C language.

Que 4: What is modular programming?

Que 5: Explain Why C is known as Functional Programming language. Show how function are used as a
building block for c Programming.

Que 6: Why C is known as Mid Level Language?

Que 8: Explain the utility of header files in C language?

Que 9: Explain different characteristics or Features of C programming ?


BCA-S102T UNIT 6

Que 1 : What do you mean by User Defined Function and Built in Function ? Give Example of both.

Que 2: What do you mean by Function Prototype and What information does it convey to the compiler.

Que 3: What do you mean by recursion and Write a program to find the GCD of two number using
recursion.

Que 4: What is recursion ? Write a program to find the factorial of number using Recusrsion?

Que 5: What is function? What are the types of function ? Give Example of each

Que 6: What are the different Storage classes in C language. Give Example of each

Que 8: Difference between Call by value Call by reference?

Que 9: Difference between Actual Parameter and Formal Parameter?

Que 10: Difference between Local variable and Global Variable ?


BCA-S102T UNIT 4

Que 1 : What are the steps involved in problem solving? Name the different problem solving techniques.

Que 2: Differentiate between Flowchart and Algorithm.

Que 3: What are the essential characteristics of an algorithm?

Que 4: Write a flowchart for computing the GCD of two numbers . Write the algorithm for this also.

Que 5: Differentiate between Space complexity and time complexity?

Que 6: What is Pseudo code ? Where it is used?

Que 8: Write a algorithm and flowchart for finding the sum of the Fibonacci series of numbers.

Que 9: Write a algorithm and flowchart for finding the average of the students marks.

Que 10: Explain Divide and Conquer Strategy?

Que 11: Explain Big Oh Notation.

You might also like