This download link is referred from the post: VTU B.Tech 1st Year Last 10 Years 2011-2021 Question Papers
First Semester B.E. Degree Examination, Dec.2018/Jan.2019
C Programming for Problem Solving
Time: 3 hrs.
Max. Marks: 100
-
- Explain the basic structure of a C program with example.
- Define a variable. Explain the rules for constructing variables in C language.
- Write a C program to compute simple interest. Draw the flowchart for the same.
--- Content provided by FirstRanker.com ---
-
- Define data type. Explain primitive data types supported by C language with example.
- List all the operators used in C language and evaluate following expression.
- x = a -b/3 + c * 2 –1 when a = 9, b = 12, c = 33
- 1 W = 10 11 5 < 4 && 8.
--- Content provided by FirstRanker.com ---
- Describe the various type computers.
-
- Explain the formatted I/O functions of C language with syntax and example.
- Write a C program to implement commercial calculator using switch statement.
- Write the syntax of different branching statements and explain their working.
--- Content provided by FirstRanker.com ---
-
- Differentiate between while loop and do-while loop. Explain with syntax and example.
- Write a program to find the sum of N natural numbers using for loop.
- Write a C program to plot Pascal's triangle.
--- Content provided by FirstRanker.com ---
-
- Define array. Write the syntax for and with declaring and initializing 1D and 2D array with suitable example.
- Write a C program to find the transpose of a give matrix.
-
- Define string. List out all string manipulation function. Explain any two with examples.
- Write a C program for [consider integer data]
- Bubble sort
- Linear search.
-
- What is a function? Explain the different type of functions based on parameter.
- Write a program to find the factorial of a given number using functions.
- Write a program to find GCD and LCM of two numbers using concept of functions.
-
- Explain recursion and write a program to find nth term of Fibonacci series.
- Give the scope and lifetime of following :
- External variable
- Static variable
- Automatic variable
- Register variable.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
-
- What is a structure? Explain the syntax of structure declaration in C with example.
- Write note on :
- Arrays within structures
- Arrays of structures.
- Implement structures to read, write and compute average marks and the students scoring above and below average marks for class of N students.
--- Content provided by FirstRanker.com ---
-
- What is a pointer? Show how pointer variable is declared and initialized.
- Explain any two preprocessor directives in C.
- Write a C program to find sum and mean of all elements is an array using pointer.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Visit FirstRanker.com for more information.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: VTU B.Tech 1st Year Last 10 Years 2011-2021 Question Papers