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

PPS Important Questions

Uploaded by

ultronuu
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 views

PPS Important Questions

Uploaded by

ultronuu
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/ 3

PROGRAMMING FOR PROBLEM SOLVING (PPS)

CODE- BCS 201

All Units Important questions(Long)

**UNIT-1

NOTE- BOLD QUES are most important questions.

**Q-1 Draw the block diagram of digital computer system. Also explain its different component
with suitable example.

Q-2 Explain Operating system and its types with some services.

Q-3 Discuss the various symbols used in flow chart.

**Q-4 Explain the different kind of storage classes in C programming.

**Q-5 Define data types in C. Discuss primitive/fundamental data types in C in term of memory
size, format specifier and range.

Short notes topic

1. Compiler, Assembler, Interpreter, Linker and Loader.


2. Differentiate between High level and Low-Level Programming.
3. Basic structure of C program.

**Algorithm & Flowchart based problem

Q-1 Write an algorithm and draw a flow chart to find largest among three numbers

Q-2 Write an algorithm and draw a flow chart to find the reverse of a numbers.

Q-3 Write an algorithm and draw a flow chart of swapping of two numbers.

Q-4 Write an algorithm and draw a flow chart for quadratic equation.

**UNIT-2

Q-1 Explain Logical, Unary and Bitwise operators in detail.

Q-2 Illustrate the concept of type conversion and type casting with program.

Q-3 Explain all conditional statements ( if, if-else, nested if-else , if else if ladder) with example.

Q-4 Define Operands. Discuss the operator precedence and associativity with example.

Q-5 Explain case control statement (switch case) with example. Write the use of default and break
in switch case.
Program based on conditional and switch statement

Q1-Write a menu driven program to perform basic functions of calculator using conditional statement.

Q2- Write a program to develop a calculator using Switch case in character format.

Q3- Write a program to find out the greatest number out of three numbers.

Q4- Write a program to check given number is Palindrome or not (without loop).

Q5- Write a program to check given number is Armstrong or not (without loop).

UNIT-3

Q-1 Explain different types of loop with example.

Q-2 Write notes on string built-in functions.

Program

**Q1- Write a program to check given no is prime or not.

Or Write a program to print all prime no between1-100.

**Q2- Write a program to check given no is Palindrome or not (using loop).

Or Write a program to print all Palindrome no between 1-500 (using loop).

**Q3- Write a program to check given no is Armstrong or not (using loop).

Or Write a program to print all Armstrong no between 1-500 (using loop).

Q4- Program based on simple pattern printing.

OR Write a program to find the sum of series 1! + 2! + 3! + 4! +-----------n terms.

**Q5- Write a program to multiply 3 x 3 or 4 x 4 or M x N matrix.

Q6- Write a program to find transpose of matrix.


**UNIT-4

Q1- Define function and its types with example.

**Q2- Differentiate between call by value and call by reference with proper example
(SWAPPING OF 2 NUMBER).

Or Explain parameters passing techniques (call by value and call by reference) with
example SWAPPING OF 2 NUMBER).

Q3-Define recursion. Write a program to find sum of Fibonacci series using recursion.

Q4- Write a program to find Factorial of any positive number using recursion.

Q5- Write a program to find GCD of 2 number using recursion.

Q6- Explain Linear and binary searching with example.

Q7- Write a program to implement binary search.

Q8- Explain bubble and selection sort with example.

Q9- Write a program to implement bubble sort or selection sort.

UNIT-5

Q1- What do you mean by pointer? State the features of pointer.

**Q2- Write the need of dynamic memory allocation. Explain malloc( ), calloc( ),realloc( ),
free( )with proper example.

Q3- Discuss about the command line argument with example.

Q4- Explain file handling concept in C. Write various operation of file in C.

Q5- Write a program to copy one file into another file.

Q6- Write a program to count no of vowel, consonant, digits, space, words etc in a given file.

You might also like