B.TECH - Semester 3 problem solving and programming in c Question Paper 2021 (may)
Practice authentic previous year university questions for better exam preparation.
Sample Questions
- Explain briefly Von Neumann archilecture. 2 Oulline the various slorage classes in C.
- Compare call by value and call by reference.
- Draw a llowchart which checks whether a given number is prime or nol.
- Explain recursion with example.
- Differentiate between break and conlinue statements.
- Explain pre increment and posl increment operation in C . 9 List oul any four string manipulation functions In C.
- Explain formatted and unformatted data files with examples. $$ (10 \times 4=40 \text { Marks }) $$ Answer any one question from each Mocule
- (a) Explain how programs wrillen in high level and assembly languages are execuled in a digilal computes. 10
- (b) Stale the use of a flowchar and explain the various symbols and figures associated with flowchart with examples. 12 (a) Distinguish between primary and secondary slorage devices.
- (b) Explain briefly high level, assembly and machine languages with examples
- (a) Describe briefly aboul different operators and expressions in C.
- (b) Write an algorithm and O program to compule all possible rools of a Quadralic equation. is. (a) Explain various data lypes in C with examples. 10
- (b) Wrile an algorithm and O program to perform selection sor for a sel af numbers. 10
- (a) Explain different memory allocation functions in C with examples. 10
- (b) Write a C program to read a sel of numbers in an array and copy thal numbers inlo anolher array in reverse ordor. to OR
- (a) Explain function and different function prolotypes. 10
- (b) Write a C Program to reverse a given string with and wilhoul using funclions. 10 $$ (3 \times 20=60 \text { Marks }) $$