0% found this document useful (0 votes)
1 views3 pages

PSP-SIMP (2) (1) (1) PDF

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

21PSP23 SIMP Questions

-TIE review team

SIMP Questions
1. Define Computer. Broadly classify the computers based on their Speed, Storage and
Price
2. Define an algorithm and Write an algo to find the area and perimeter of a rectangle
3. Explain the following (a)Structure of a C program (b)Primitive data types (iii)Software
and different types of software (iv)identifiers and its rules -12M
4. Explain the following (i)Types of constants (ii)Tokens in C (iii)Type conversion
(iv)Different types of network topology
5. List any three input and three output devices of a computer and explain any one
each.
6. Describe the evolution of Computers by mentioning how computers in one
generation are better than their predecessors.
7. Difference between Primary and Secondary Memory.
8. Explain the syntax and working of if,if else,switch,while and do-while statement.
Mention in which situation it is desirable
9. What are unconditional control statements? Explain any two with syntax and
examples.
10. Write a C program to compute the roots of a quadratic equation by accepting the
coefficients and print the appropriate message along with the values.
11. How is a 1D and 2D integer array represented in memory? with the help of suitable
example demonstrate the initializing the array elements
12. Define string. How is the string declared and initialized ? Explain string input/output
functions with an example
13. Mention various operations that can be performed on strings using built-in functions.
Explain any two functions.
14. With the help of suitable example explain the working of Binary Search technique,
also list the difference between binary and linear search
15. .What is function, Discuss the implementation of user-defined function and built in
function with a suitable example
16. What is Recursion? Write a C program to compute polynomial coefficient nCr using
recursion
17. Discuss the various ways of passing parameter to the functions
18. List any five built-in functions and explain any two of them.
19. What is a pointer? Explain how the pointer variable is declared and initialized? Write a
C program to swap two integer values using pointers
20. How is union different from struct? Give the syntax for declaring and initializing a union
with a suitable example
21. What is structure? Explain the C syntax of structure declaration with example
22. What is the preprocessor directive? Explain #define and #include preprocessor
directives

Practice Programs - Practice any 10


1. Write a C program in C to find the area and perimeter of a circle
2. Write a program in C to print the numbers from 4 to 9 and their squares
3. Write a C program which takes as input p,t,r. Compute the simple interest and display
the result
4. Write a C program to find the area of triangle when we know the lengths of all three of
its sides
5. Convert the following mathematical expression into C equivalent
i) area= s(s-a)(s-b)(s-c) ii) x = -b + b2 -4ac
6. Implement a C program to find the reverse of an integer number and check whether it is
palindrome or not
7. Write a C program to find the factorial of a number using do-while ,where the number n
is entered by user
8. Write a C program to find GCD of two numbers using ternary operator and for loop
9. Write a calculator program in C language to do simple operations like addition,
subtraction, multiplication and division. Use switch statement in your program
10. Write a C program to search an element using linear and binary techniques
11. Write a C program to concatenate two strings without using built-in function strcat()
12. Write a C program for evaluating the binomial coefficients using a function factorial(n)
13. Write a C function isprime(num) that accepts an integer argument and returns 1 if the
argument is a prime or 0 otherwise. Write a program that invokes this function to
generate prime numbers between the given ranges
14. Write a „C” program to define macros for logical operators
15. Write a C program using pointers to compute the Sum, Mean and Standard deviation of
all elements stored in an array of „n‟ real numbers
16. Write a program to maintain a record of „n‟ employee detail using an array of structures
with three fields(id, name , salary) and print the details of employees whose salary is
above 5000

Note: Programs mentioned here are for practice purposes only.

How we frame these questions:


TIE review team frames these questions by consolidating comprehensively from the following
sources
1. Exercise problems of textbooks/ references
2. Internal Question papers of more than 35 Colleges and MQP
3. Questions by Various HO D’s and professors in contact with TIE
Questions framed shall follow all Bloom’s learning levels with appropriate
action verbs ensuring coverage of all COs

You might also like