Programming Questions PDF
Document Details
Uploaded by CharmingHeisenberg
JCD Memorial College Barnala Road (Sirsa, Haryana)
Tags
Related
- Programming for Data Structures and Algorithms Past Paper PDF
- Computer Science Algorithms and Problem Solving 2015 PDF
- Data Structures and Algorithms Syllabus PDF
- Cambridge IGCSE & O Level Computer Science Second Edition PDF
- Computer Science S4 Student’s Book PDF
- GR24 Programming for Problem Solving Lecture Material PDF
Summary
This document contains programming questions for a B.Tech (Bachelor of Technology) first-year course, specifically ESC/3-T Programming for Problem Solving. The questions cover various programming concepts.
Full Transcript
B.Tech.-1st ESC/3-T Programming for Problem Solving 1. (a) What is computer? (b) What is number system? Give its types. (c) Explain primary memory? (d) What is time complexity of an algorithm? (e)...
B.Tech.-1st ESC/3-T Programming for Problem Solving 1. (a) What is computer? (b) What is number system? Give its types. (c) Explain primary memory? (d) What is time complexity of an algorithm? (e) Give the structure of ‘C’ program. (f) Give advantages of pointers. (g) What are the main components of a computer system? 2X7=14 Unit-I 2. Fill in the blanks by performing inter system conversions. 14 Decimal Octal Hexadecimal Binary 78 - - - - 73 - - - - FA - - - - 01011111 3. (a) Write an algorithm to find the largest of given N numbers. 7 (b) Explain various data types available in C? 7 Unit-II 4. Explain the concept of searching. Write an algorithm for binary search and linear search. Also explain difference between linear search and binary search. 14 5. (a) Write a program to find a factorial of a given number using recursion function? 7 (b) What is meant by looping? Describe two different forms of looping? 7 Unit-III 6. Explain the concept of call by value arguments and call by reference arguments by using suitable example. 14 7. (a) Describe the two ways of passing parameters to functions. 7 (b) Write a program to reverse a string using recursion. 7 Unit-IV 8. Define structure ? How variables of structures are declared, initialized, processed and stored? Explain with example. 14 9. Write note on :- 14 (a) Array of structures. (b) Pointers. (c) Pointer to pointers.