subject_title
stringclasses
2 values
time
stringclasses
1 value
subject_code
stringclasses
2 values
maximum_marks
float64
100
100
βŒ€
section
stringclasses
3 values
question
stringlengths
2
160
marks
int64
1
5
PROGRAMMING IN C
3 hours
CS101
100
PART – A
What is a variable in C?
1
null
null
null
null
null
Define constant in C.
1
null
null
null
null
null
What are the different data types in C?
1
null
null
null
null
null
Explain the concept of pointers.
1
null
null
null
null
null
What is an array?
1
null
null
null
null
null
Define function in C.
1
null
null
null
null
null
What is recursion?
1
null
null
null
null
null
What is the purpose of the main() function?
1
null
null
null
null
null
What are header files?
1
null
null
null
null
null
Explain the concept of storage classes.
1
null
null
null
null
PART – B
What is the difference between a for loop and a while loop?
3
null
null
null
null
null
Explain the switch statement with an example.
3
null
null
null
null
null
How do you allocate memory dynamically in C?
3
null
null
null
null
null
What is a structure in C?
3
null
null
null
null
null
Differentiate between structure and union.
3
null
null
null
null
PART – C
Explain the process of file handling in C.
5
null
null
null
null
null
Discuss the importance of pointers in C.
5
null
null
null
null
null
How do you create a custom header file in C?
5
null
null
null
null
null
What is the use of the 'static' keyword?
5
null
null
null
null
null
Describe the concept of linked lists.
5
null
null
null
null
null
Explain how to implement a stack using an array.
5
null
null
null
null
null
Discuss the difference between call by value and call by reference.
5
null
null
null
null
null
Explain the role of the preprocessor in C.
5
null
null
null
null
null
What are the different types of operators in C?
5
null
null
null
null
null
Write a program to reverse a string using pointers.
5
PROGRAMMING IN C
3 hours
CS101
100
PART – A
What is a variable in C?
1
null
null
null
null
null
Define constant in C.
1
null
null
null
null
null
What are the different data types in C?
1
null
null
null
null
null
Explain the concept of pointers.
1
null
null
null
null
null
What is an array?
1
null
null
null
null
null
Define function in C.
1
null
null
null
null
null
What is recursion?
1
null
null
null
null
null
What is the purpose of the main() function?
1
null
null
null
null
null
What are header files?
1
null
null
null
null
null
Explain the concept of storage classes.
1
null
null
null
null
PART – B
What is the difference between a for loop and a while loop?
3
null
null
null
null
null
Explain the switch statement with an example.
3
null
null
null
null
null
How do you allocate memory dynamically in C?
3
null
null
null
null
null
What is a structure in C?
3
null
null
null
null
null
Differentiate between structure and union.
3
null
null
null
null
PART – C
Explain the process of file handling in C.
5
null
null
null
null
null
Discuss the importance of pointers in C.
5
null
null
null
null
null
How do you create a custom header file in C?
5
null
null
null
null
null
What is the use of the 'static' keyword?
5
null
null
null
null
null
Describe the concept of linked lists.
5
null
null
null
null
null
Explain how to implement a stack using an array.
5
null
null
null
null
null
Discuss the difference between call by value and call by reference.
5
null
null
null
null
null
Explain the role of the preprocessor in C.
5
null
null
null
null
null
What are the different types of operators in C?
5
null
null
null
null
null
Write a program to reverse a string using pointers.
5
PROGRAMMING IN C
3 hours
CS101
100
PART – A
Identify the number of bytes reserved for a float variable in windows 64-bit
1
null
null
null
null
null
Locate the invalid variable(s) in the following declarations.
1
null
null
null
null
null
Define an Algorithm. CO2 R 1
1
null
null
null
null
null
Name different types of operators that are included in C. CO2 R 1
1
null
null
null
null
null
Identify the unconditional branching statement that terminates the execution
1
null
null
null
null
null
State the syntax of the switch statement. CO3 R 1
1
null
null
null
null
null
List the two ways a string can be declared. CO4 R 1
1
null
null
null
null
null
Identify the value of num[6] from the below line of code
1
null
null
null
null
null
Define recursion in C. CO5 R 1
1
null
null
null
null
null
Predict the output for the following code.
1
null
null
null
null
PART – B
Describe the phases of the software development life cycle (SDLC). CO1 U 3
3
null
null
null
null
null
Discuss the order of precedence in C and predict the output of the program.
3
null
null
null
null
null
Write a simple program to find whether a number is positive or negative. CO3 A 3
3
null
null
null
null
null
Explain the Bubble Sort algorithm with an example. CO4 U 3
3
null
null
null
null
null
Describe a function prototype along with its syntax. CO5 U 3
3
null
null
null
null
null
Develop an application in C programming to store 5 customer names and
3
null
null
null
null
PART – C
17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4
5
null
null
null
null
null
18. a. Explain the logical operators with sample code. CO2 U 5
5
null
null
null
null
null
19. a. Develop a function to count the digits of a number and use it to check
5
null
null
null
null
null
20. a. Define an array and explain the declaration of multidimensional arrays
5
null
null
null
null
null
21. a. Describe structures in the C program and explain how the structure
5
null
null
null
null
null
22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8
5
null
null
null
null
null
23. a. Develop a C program to swap two numbers using the call-by address
5
null
null
null
null
null
24. a. Develop a C program to find the factorial of a given number using the
5
PROGRAMMING IN C
3 hours
CS101
100
PART – A
__________ is an entity whose value remains fixed.
1
null
null
null
null
null
Operators having equal precedence are evaluated using __________ of operators.
1
null
null
null
null
null
A ________ statement takes the execution control out of the loop.
1
null
null
null
null
null
A ________ loop is used to ensure that the statements within the loop are executed at least
1
null
null
null
null
null
________ are variables which hold addresses of other variables.
1
null
null
null
null
null
A function can be called either by value or by _________.
1
null
null
null
null
null
The array elements are always stored in __________ memory locations.
1
null
null
null
null
null
A ________ constant is a one-dimensional array of characters terminated by a null.
1
null
null
null
null
null
A ________ is usually used when we wish to store dissimilar data together.
1
null
null
null
null
null
State True or False. All I /O in C is done using standard library functions.
1
null
null
null
null
PART – B
What are the rules for constructing variable names?
3
null
null
null
null
null
Differentiate between break and continue statements.
3
null
null
null
null
null
What is meant by recursion? What is its benefit?
3
null
null
null
null
null
With the syntax, explain the function of scanf( ) statement.
3
null
null
null
null
null
Distinguish structure from union.
3
null
null
null
null
PART – C
16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result.
5
null
null
null
null
null
17. Explain in detail the various types of instructions with suitable examples. 18. a. Write a program to find the greatest of the three numbers and display it.
5
null
null
null
null
null
19. Explain with suitable examples the while and do-while looping structure.
5
null
null
null
null
null
20. Write a C program using functions to evaluate the series:
5
null
null
null
null
null
21. What is a function? What are the ways by which a function can be called? Explain with a
5
null
null
null
null
null
22. Write a program using pointers to find the smallest number in an array containing N integers.
5
null
null
null
null
null
23. a. Write a program using strings to read a sentence and do the following:
5
null
null
null
null
null
24. Write a function that compares two given dates. To store a date, use a structure that contains
5
null
null
null
null
null
1.
5
null
null
null
null
null
1. List some Applications of Database.
5
null
null
null
null
null
2. Define Physical Data Independence.
5