|
subject_title,time,subject_code,maximum_marks,section,question,marks
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a variable in C?,1
|
|
,,,,,Define constant in C.,1
|
|
,,,,,What are the different data types in C?,1
|
|
,,,,,Explain the concept of pointers.,1
|
|
,,,,,What is an array?,1
|
|
,,,,,Define function in C.,1
|
|
,,,,,What is recursion?,1
|
|
,,,,,What is the purpose of the main() function?,1
|
|
,,,,,What are header files?,1
|
|
,,,,,Explain the concept of storage classes.,1
|
|
,,,,PART β B,What is the difference between a for loop and a while loop?,3
|
|
,,,,,Explain the switch statement with an example.,3
|
|
,,,,,How do you allocate memory dynamically in C?,3
|
|
,,,,,What is a structure in C?,3
|
|
,,,,,Differentiate between structure and union.,3
|
|
,,,,PART β C,Explain the process of file handling in C.,5
|
|
,,,,,Discuss the importance of pointers in C.,5
|
|
,,,,,How do you create a custom header file in C?,5
|
|
,,,,,What is the use of the 'static' keyword?,5
|
|
,,,,,Describe the concept of linked lists.,5
|
|
,,,,,Explain how to implement a stack using an array.,5
|
|
,,,,,Discuss the difference between call by value and call by reference.,5
|
|
,,,,,Explain the role of the preprocessor in C.,5
|
|
,,,,,What are the different types of operators in C?,5
|
|
,,,,,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
|
|
,,,,,Define constant in C.,1
|
|
,,,,,What are the different data types in C?,1
|
|
,,,,,Explain the concept of pointers.,1
|
|
,,,,,What is an array?,1
|
|
,,,,,Define function in C.,1
|
|
,,,,,What is recursion?,1
|
|
,,,,,What is the purpose of the main() function?,1
|
|
,,,,,What are header files?,1
|
|
,,,,,Explain the concept of storage classes.,1
|
|
,,,,PART β B,What is the difference between a for loop and a while loop?,3
|
|
,,,,,Explain the switch statement with an example.,3
|
|
,,,,,How do you allocate memory dynamically in C?,3
|
|
,,,,,What is a structure in C?,3
|
|
,,,,,Differentiate between structure and union.,3
|
|
,,,,PART β C,Explain the process of file handling in C.,5
|
|
,,,,,Discuss the importance of pointers in C.,5
|
|
,,,,,How do you create a custom header file in C?,5
|
|
,,,,,What is the use of the 'static' keyword?,5
|
|
,,,,,Describe the concept of linked lists.,5
|
|
,,,,,Explain how to implement a stack using an array.,5
|
|
,,,,,Discuss the difference between call by value and call by reference.,5
|
|
,,,,,Explain the role of the preprocessor in C.,5
|
|
,,,,,What are the different types of operators in C?,5
|
|
,,,,,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
|
|
,,,,,Locate the invalid variable(s) in the following declarations.,1
|
|
,,,,,Define an Algorithm. CO2 R 1,1
|
|
,,,,,Name different types of operators that are included in C. CO2 R 1,1
|
|
,,,,,Identify the unconditional branching statement that terminates the execution,1
|
|
,,,,,State the syntax of the switch statement. CO3 R 1,1
|
|
,,,,,List the two ways a string can be declared. CO4 R 1,1
|
|
,,,,,Identify the value of num[6] from the below line of code,1
|
|
,,,,,Define recursion in C. CO5 R 1,1
|
|
,,,,,Predict the output for the following code.,1
|
|
,,,,PART β B,Describe the phases of the software development life cycle (SDLC). CO1 U 3,3
|
|
,,,,,Discuss the order of precedence in C and predict the output of the program.,3
|
|
,,,,,Write a simple program to find whether a number is positive or negative. CO3 A 3,3
|
|
,,,,,Explain the Bubble Sort algorithm with an example. CO4 U 3,3
|
|
,,,,,Describe a function prototype along with its syntax. CO5 U 3,3
|
|
,,,,,Develop an application in C programming to store 5 customer names and,3
|
|
,,,,PART β C,17. a. Explain the structure of a C program along with its features and syntax. CO1 U 4,5
|
|
,,,,,18. a. Explain the logical operators with sample code. CO2 U 5,5
|
|
,,,,,19. a. Develop a function to count the digits of a number and use it to check,5
|
|
,,,,,20. a. Define an array and explain the declaration of multidimensional arrays,5
|
|
,,,,,21. a. Describe structures in the C program and explain how the structure,5
|
|
,,,,,22. a. Write a program in C to subtract two matrices of MXN order. CO4 A 8,5
|
|
,,,,,23. a. Develop a C program to swap two numbers using the call-by address,5
|
|
,,,,,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
|
|
,,,,,Operators having equal precedence are evaluated using __________ of operators.,1
|
|
,,,,,A ________ statement takes the execution control out of the loop.,1
|
|
,,,,,A ________ loop is used to ensure that the statements within the loop are executed at least,1
|
|
,,,,,________ are variables which hold addresses of other variables.,1
|
|
,,,,,A function can be called either by value or by _________.,1
|
|
,,,,,The array elements are always stored in __________ memory locations.,1
|
|
,,,,,A ________ constant is a one-dimensional array of characters terminated by a null.,1
|
|
,,,,,A ________ is usually used when we wish to store dissimilar data together.,1
|
|
,,,,,State True or False. All I /O in C is done using standard library functions.,1
|
|
,,,,PART β B,What are the rules for constructing variable names?,3
|
|
,,,,,Differentiate between break and continue statements.,3
|
|
,,,,,What is meant by recursion? What is its benefit?,3
|
|
,,,,,"With the syntax, explain the function of scanf( ) statement.",3
|
|
,,,,,Distinguish structure from union.,3
|
|
,,,,PART β C,16. a. Write a C program to convert the given Fahrenheit into centigrade and display the result.,5
|
|
,,,,,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
|
|
,,,,,19. Explain with suitable examples the while and do-while looping structure.,5
|
|
,,,,,20. Write a C program using functions to evaluate the series:,5
|
|
,,,,,21. What is a function? What are the ways by which a function can be called? Explain with a,5
|
|
,,,,,22. Write a program using pointers to find the smallest number in an array containing N integers.,5
|
|
,,,,,23. a. Write a program using strings to read a sentence and do the following:,5
|
|
,,,,,"24. Write a function that compares two given dates. To store a date, use a structure that contains",5
|
|
,,,,,1.,5
|
|
,,,,,1. List some Applications of Database.,5
|
|
,,,,,2. Define Physical Data Independence.,5
|
|
,,,,,3. What is sub query?,5
|
|
,,,,,4. A view relation v is said to be ___________if it depends on itself.,5
|
|
,,,,,5. An _________ is an object that exists and is distinguishable from other objects.,5
|
|
,,,,,6. Domain is the set of permitted values for each ____________.,5
|
|
,,,,,7. A relational schema R is in first normal form if the domains of all attributes of R are,5
|
|
,,,,,"8. A decomposition is dependency preserving, if ( F1 ο F2 ο β¦ ο Fn )+ = ____________.",5
|
|
,,,,,9. In ____________ a record can be placed anywhere in the file where there is space.,5
|
|
,,,,,10. A Schedule S is conflict serializable if it is conflict equivalent to a ____________.,5
|
|
,,,,,11. Define Instance and Schema.,5
|
|
,,,,,12. Write short notes on Domain Types in SQL.,5
|
|
,,,,,13. List Transaction Server Processes.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,State whether the following condition will evaluate to True or False.,1
|
|
,,,,,Locate the invalid variable(s) in the following declarations.,1
|
|
,,,,,Define an Algorithm. CO2 R 1,1
|
|
,,,,,The data type of the controlling statement of a switch statement,1
|
|
,,,,,Identify the unconditional branching statement that terminates the,1
|
|
,,,,,List all conditional control statements used in C CO3 R 1,1
|
|
,,,,,List the two ways a string can be declared. CO4 R 1,1
|
|
,,,,,Identify the value of arr[1] from the below line of code,1
|
|
,,,,,Define recursion in C. CO5 R 1,1
|
|
,,,,,Predict the error / output in the following program:,1
|
|
,,,,PART β B,Define any three characteristics of computer. CO1 U 3,3
|
|
,,,,,List the operator precedence rules used in C programming language. CO2 U 3,3
|
|
,,,,,Write a simple program to find whether a number is a multiple of 2 or,3
|
|
,,,,,Explain the Linear search algorithm with an example. CO4 U 3,3
|
|
,,,,,Describe a function prototype along with its syntax. CO5 U 3,3
|
|
,,,,,Develop an application in C programming to store 5 user names and CO6 A 3,3
|
|
,,,,PART β C,17. a. Explain the various parts of a C program along with its features. CO1 U 4,5
|
|
,,,,,18. a. Explain the arithmetic operators with sample code. CO2 U 5,5
|
|
,,,,,19. a. Develop a function to count the digits of a number and use it to,5
|
|
,,,,,20. a. Define an array and explain the declaration of multidimensional,5
|
|
,,,,,21. a. Discuss how the C structures are declared in detail with example. CO6 U 6,5
|
|
,,,,,22. a. Write a program in C to add two matrices of MXN order. CO4 A 8,5
|
|
,,,,,23. a. Develop an application in C using structures to maintain and,5
|
|
,,,,,24. a. Develop a C program to find the factorial of a given number using,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Define C Instructions.,1
|
|
,,,,,Write about Logical Operators.,1
|
|
,,,,,Write about IF STATEMENT.,1
|
|
,,,,,Define GOTO STATEMENT.,1
|
|
,,,,,Write about Function in C.,1
|
|
,,,,,Define Pointer notation.,1
|
|
,,,,,Write about Array.,1
|
|
,,,,,Define Pointers.,1
|
|
,,,,,Write in detail of Enumerated Data Type.,1
|
|
,,,,,Define Union.,1
|
|
,,,,PART β B,What is a Conditional operator with examples?,3
|
|
,,,,,Write down the Control Structure.,3
|
|
,,,,,Define Recursion in detail.,3
|
|
,,,,,Explain with example of String Functions.,3
|
|
,,,,,"Write about fclose(),args, and argv with examples.",3
|
|
,,,,PART β C,16. Explain in detail about Getting Started with C.,5
|
|
,,,,,17. Explain in detail about Data types Revisited and Types of Operators with examples.,5
|
|
,,,,,18. Write in detail about Control Instruction and Decision Control Structure.,5
|
|
,,,,,"19. Explain nested if else, if else statement and loop control structure with example in detail.",5
|
|
,,,,,"20. Explain about Case control structure, Switch and Break Statement and goto Statement with",5
|
|
,,,,,21. Write with examples of,5
|
|
,,,,,22. Explain about Advanced Features of Functions in detail.,5
|
|
,,,,,23. Explain with examples on,5
|
|
,,,,,"24. Explain with examples on I/O Functions, Disk I/O Functions and File opening modes.",5
|
|
,,,,,25. Explain with examples on Array of Structures and Union of Structures.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,The ___________ header file contains mathematical functions.,1
|
|
,,,,,C is a ___________level language.,1
|
|
,,,,,What is a token?,1
|
|
,,,,,Say true or false:,1
|
|
,,,,,Multi way selection can be accomplished using an elsif statement or the _________statement.,1
|
|
,,,,,The parameters used in a function call are called __________parameters.,1
|
|
,,,,,A variable declared inside a function by default assumes _________storage class.,1
|
|
,,,,,What is a pointer?,1
|
|
,,,,,A_________is a collection of data items under the name in which the items share the same,1
|
|
,,,,,The __________ mode is used for opening a file for updating.,1
|
|
,,,,PART β B,Draw the block diagram of a computer and explain.,3
|
|
,,,,,Give the syntax and purpose of gets( ) and puts( ) functions.,3
|
|
,,,,,Differentiate between break and continue statement.,3
|
|
,,,,,What are multidimensional arrays? Give an example.,3
|
|
,,,,,What are self referential structures?,3
|
|
,,,,PART β C,16. Discuss in detail about:,5
|
|
,,,,,"17. Explain about the data types, constants and variables in C.",5
|
|
,,,,,18. Describe about the various operators in C with examples.,5
|
|
,,,,,19. Explain with syntax and example the input and output statements in C.,5
|
|
,,,,,20. a. Explain the difference between while do and do while statements with an example. (7),5
|
|
,,,,,"21. a. With an example program, explaining the difference between call by value and call by",5
|
|
,,,,,22. What is a storage class? Describe about the types of storage classes in C.,5
|
|
,,,,,23. a. Write a C program to print the numbers in ascending order using pointers. (7),5
|
|
,,,,,24. a. What is a structure? Discuss about methods for initializing values to structure variables.,5
|
|
,,,,,25. Write a C program to read name and marks of βnβ number of students from a user and store,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,List the character set of C.,1
|
|
,,,,,Define software.,1
|
|
,,,,,Write the syntax of scanf.,1
|
|
,,,,,Mention the different type of error.,1
|
|
,,,,,The ________ is an entry controlled loop statement.,1
|
|
,,,,,What is recursion?,1
|
|
,,,,,Define Array.,1
|
|
,,,,,What is the use of malloc function?,1
|
|
,,,,,What is union?,1
|
|
,,,,,What is self-referential structure?,1
|
|
,,,,PART β B,Write short notes on constants.,3
|
|
,,,,,Write about input statements in C.,3
|
|
,,,,,Write notes on break and continue statement.,3
|
|
,,,,,How will you pass arrays to function?,3
|
|
,,,,,Give the use of fseek() and ftell() function.,3
|
|
,,,,PART β C,16. Explain the structure of C program with a neat sketch.,5
|
|
,,,,,17. Explain various data types in C with example.,5
|
|
,,,,,18. Describe the different types of operators in C.,5
|
|
,,,,,19. Explain various input and output statements in C.,5
|
|
,,,,,20. Explain various control statements in C with example.,5
|
|
,,,,,21. a. Write a program to find the factorial of a number using recursion.,5
|
|
,,,,,22. Describe storage classes in C.,5
|
|
,,,,,23. What is pointer? Write a program to swap two numbers using pointers.,5
|
|
,,,,,24. What is array within structure? Explain with a program.,5
|
|
,,,,,25. Write a program to copy the contents of one file into another.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Define algorithm. CO1 1,1
|
|
,,,,,Identify the invalid variable(s) in the following declations.,1
|
|
,,,,,Predict the output of the following program.,1
|
|
,,,,,Differentiate between = and == operator. CO1 1,1
|
|
,,,,,Show how the execut ion for do while loop is terminated. CO3 1,1
|
|
,,,,,The data type of the controlling statement of a switch statement cannot be of,1
|
|
,,,,,Predict the error / output in the following program:,1
|
|
,,,,,Predict the error / output in the following program:,1
|
|
,,,,,Predict the error (if any)/output in the following program.,1
|
|
,,,,,Give the output of following code.,1
|
|
,,,,PART β B,Draw the block diagram of computer and describe its components. CO1 3,3
|
|
,,,,,Write a C program to calculate square of a number using arithmetic operator. CO6 3,3
|
|
,,,,,"Write a C program to display the consecutive digits 0, 1, 2, β¦. 9, with one",3
|
|
,,,,,"Write a C program to copy the contents of one character array to another,",3
|
|
,,,,,Write a C program to find factorial of given number using recursion. CO4 3,3
|
|
,,,,,Illustrate dynamic memory allocation with suitable example. CO2 3,3
|
|
,,,,PART β C,23. Q.No 24 is a Compulsory Question),5
|
|
,,,,,17. a. Discuss the structure of a C program. CO1 6,5
|
|
,,,,,18. a. Develop a C program to display the memory allocated for primitive datatypes . CO2 6,5
|
|
,,,,,"19. a. Write a C program to calculate the sum of first n odd integers (i.e., 1+3+5+",5
|
|
,,,,,20. a. Write a C program to search a substring within a given string. CO5 6,5
|
|
,,,,,21. a. Write a C program to find fib onacci of given number using function. CO4 6,5
|
|
,,,,,22. a. Explain the relational and logical operators in C with relavent examples. CO1 6,5
|
|
,,,,,23. a. Explain the various branching control statements in C with example. CO3 6,5
|
|
,,,,,"24. a. Discuss Structures. Create a structure variable for the structure Student, and",5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,The C language was developed by _________.,1
|
|
,,,,,Write the use of assignment operator.,1
|
|
,,,,,What is the use of continue statement?,1
|
|
,,,,,Write the syntax for switch statement.,1
|
|
,,,,,What are the reasons for using functions in a C program?,1
|
|
,,,,,What is a pointer?,1
|
|
,,,,,Define array.,1
|
|
,,,,,What are strings?,1
|
|
,,,,,What is the purpose of getch( ) function?,1
|
|
,,,,,List out the categories of library functions available for I/O.,1
|
|
,,,,PART β B,Write the rules for constructing variable names.,3
|
|
,,,,,Write the use of break statement. Give an example.,3
|
|
,,,,,Differentiate call by value and call by reference.,3
|
|
,,,,,Discuss about passing array elements to a function.,3
|
|
,,,,,Differentiate structure and union.,3
|
|
,,,,PART β C,16. Explain the various logical operators and bit wise operator.,5
|
|
,,,,,17. Write short notes on:,5
|
|
,,,,,18. Explain in detail about various decision control instructions in C.,5
|
|
,,,,,19. Discuss about various looping statements with examples.,5
|
|
,,,,,20. What is a function? Explain the advanced features of functions.,5
|
|
,,,,,21. A five digit positive integer is entered through the keyboard. Write a function to calculate sum,5
|
|
,,,,,22. Explain about standard library string functions in C.,5
|
|
,,,,,23. Write a C program to multiply two 3x3 matrices.,5
|
|
,,,,,24. Discuss about the following with an example.,5
|
|
,,,,,"25. Write a C program that will read a file and count how many characters, spaces, tabs and",5
|
|
C# PROGRAMMING,3 hours,CS255,100,PART β A,What is called Reference Type?,1
|
|
,,,,,What is the use of finally block in C#?,1
|
|
,,,,,"To override a method in a base class with the same signature, that base class method must be",1
|
|
,,,,,How to retrieve the element form the ArrayList using foreach statement?,1
|
|
,,,,,What is the default event of a Button control?,1
|
|
,,,,,What is the usage of Ad rotators control?,1
|
|
,,,,,Write any two Data Adapters.,1
|
|
,,,,,What is the use of sqlDataReader class?,1
|
|
,,,,,What are in the assembly?,1
|
|
,,,,,What is SOAP?,1
|
|
,,,,PART β B,What is the use of the string Insert method?,3
|
|
,,,,,What is called sealed class?,3
|
|
,,,,,How can you display items in multiple columns in a list box?,3
|
|
,,,,,What is called Data Binding? List out the different types.,3
|
|
,,,,,What is called shared assembly?,3
|
|
,,,,PART β C,16. What is called Custom exception? How to create Custom exception? Give an example.,5
|
|
,,,,,17. a. Explain briefly about the various access modifiers. (8),5
|
|
,,,,,18. How to create an Interface? Explain with suitable example.,5
|
|
,,,,,19. Explain briefly about the Hash table with suitable example.,5
|
|
,,,,,20. a. How to create multi window applications? Explain briefly. (8),5
|
|
,,,,,21. What are called Validation server controls? Explain briefly.,5
|
|
,,,,,22. What is Complex Data Binding? Explain with example.,5
|
|
,,,,,23. Write ADO.NET Program to connect and retrieve data from data source using the .NET,5
|
|
,,,,,24. How to synchronize threads using a monitor? Explain with example.,5
|
|
,,,,,25. Discuss the security issues in C#.net with example?,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
|
|
,,,,,Locate the invalid variable(s) in the following declarations.,1
|
|
,,,,,State any three unary operators. CO2 R 1,1
|
|
,,,,,Name different types of operators that are included in C. CO2 R 1,1
|
|
,,,,,__________ statement skips the current iteration and initiates the next,1
|
|
,,,,,__________ loop is called as exit controlled loop. CO3 R 1,1
|
|
,,,,,List the two ways a string can be declared. CO4 R 1,1
|
|
,,,,,Identify the value of num[6] from the below line of code,1
|
|
,,,,,State the string termination character. CO5 R 1,1
|
|
,,,,,Predict the output for the following code.,1
|
|
,,,,PART β B,Draw the block diagram of computer and describe its components. CO1 U 3,3
|
|
,,,,,Compare and contrast βkeywordβ and βidentifierβ in C with examples. CO2 U 3,3
|
|
,,,,,Write a simple program to find whether a number is odd or even. CO3 A 3,3
|
|
,,,,,Write the algorithm for bubble sort program. CO4 U 3,3
|
|
,,,,,Describe a function prototype along with its syntax. CO5 U 3,3
|
|
,,,,,What is self-referential structure? Explain. CO6 A 3,3
|
|
,,,,PART β C,17. a. Explain software development life cycle. CO1 U 4,5
|
|
,,,,,18. a. Evaluate and write the results of the following expressions.,5
|
|
,,,,,19. a. Write a C program to find the sum and average of the elements in an array.,5
|
|
,,,,,20. a. Write the linear search algorithm. CO4 U 6,5
|
|
,,,,,21. a. Write a C program to determine the roots of a quadratic equation ππ₯ΰ¬Ά+,5
|
|
,,,,,22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8,5
|
|
,,,,,23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8,5
|
|
,,,,,24. a. Develop an application in C to calculate the internal marks and external,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,List any 4 basic data types of C.,1
|
|
,,,,,C programs are converted into machine language with the help of ___________.,1
|
|
,,,,,"An expression contains relational operators, assignment operators and arithmetic operators with",1
|
|
,,,,,___________ loop is useful when we want that the statements within the loop must be executed,1
|
|
,,,,,Can a function contain more than one return statement? Give explanation for your answer.,1
|
|
,,,,,___________ is variable which hold the address of other variable.,1
|
|
,,,,,What is the value automatically assigned to the array element that is not explicitly initialized?,1
|
|
,,,,,The array elements are always stored in ___________ memory locations.,1
|
|
,,,,,Can a structure variable be defined as member of another structure?,1
|
|
,,,,,Is it necessary that a file created in text mode must always be opened in text mode for,1
|
|
,,,,PART β B,What is the difference between a variable and a constant?,3
|
|
,,,,,When should break and continue statement be used?,3
|
|
,,,,,What is recursion? What are the advantages of recursion?,3
|
|
,,,,,How can array be passed to a function? Explain with example.,3
|
|
,,,,,Describe union with example.,3
|
|
,,,,PART β C,16. a. Explain the various conditional statements and logical operators available in c with an example,5
|
|
,,,,,17. a. Explain the associativity and precedence of operators in C with an example. (8),5
|
|
,,,,,18. a. Explain the various looping structures that are available in C with examples. (8),5
|
|
,,,,,19. a. Explain the general syntax and working of switch statement in C with an example. (8),5
|
|
,,,,,20. a. Discuss the following with suitable C program:,5
|
|
,,,,,21. How function definition is distinguished from function call? (7),5
|
|
,,,,,22. a. Write a program using pointers to read in an array of integers and print its elements in,5
|
|
,,,,,23. a. Explain the various string handling functions with example. (8),5
|
|
,,,,,24. a. Explain the various file I/O operations with neat examples. (8),5
|
|
,,,,,25. a. Write short notes on enumeration. (7),5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,State the function of a compiler.,1
|
|
,,,,,List the short hand assignment operators.,1
|
|
,,,,,What is the use of goto statement?,1
|
|
,,,,,What is the need for implementing a function?,1
|
|
,,,,,Define array.,1
|
|
,,,,,Write the syntax to initialize a one dimensional array.,1
|
|
,,,,,What is the use of a pointer?,1
|
|
,,,,,How do you access the members of a structure?,1
|
|
,,,,,What is the significance of file pointer?,1
|
|
,,,,,What is meant by βa+β mode?,1
|
|
,,,,PART β B,Illustrate the use of conditional operator with an example.,3
|
|
,,,,,Differentiate between break and continue statement.,3
|
|
,,,,,Define an array to hold the names of 3 cities. Assume that the maximum number of characters,3
|
|
,,,,,14. Write a short note on self referential structure.,3
|
|
,,,,,List the different modes in which a file can be opened.,3
|
|
,,,,PART β C,16. With a neat block diagram explain the organization of a computer. Describe the different types,5
|
|
,,,,,17. Explain the different types of operators supported in C with an example program. List the,5
|
|
,,,,,18. Describe about any one branching and looping statement with a suitable program.,5
|
|
,,,,,19. Write a program to find the sum of N numbers. Use function concept.,5
|
|
,,,,,20. What is the significance of storage class? Give a detailed description about storage classes.,5
|
|
,,,,,21. Write a program to check a given N*N matrix for unit matrix.,5
|
|
,,,,,22. Write a short note on dynamic memory allocation. Explain the concept with an example,5
|
|
,,,,,23. A Maruti car dealer maintains a record of sales of various vehicles in the following form:,5
|
|
,,,,,24. Write a program in C language to create a text file.,5
|
|
,,,,,25. What is the use of command line arguments? Discuss its usage with an example program.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Find out the value of βaβ after the execution of the statement: βa = 10 > 5 ?1 : 0
|
|
,,,,,What is the output of the following program?,1
|
|
,,,,,What is the purpose of break statement?,1
|
|
,,,,,Choose the appropriate answer: A do-while loop is useful when we want that the statements,1
|
|
,,,,,Name the storage class used when global variables are referred inside a function.,1
|
|
,,,,,What kind of value can be stored in a pointer variable?,1
|
|
,,,,,Choose the appropriate answer: Array elements are always stored in,1
|
|
,,,,,Name the string function in C to find the length of a string.,1
|
|
,,,,,What is the purpose of the escape sequences \n and \b?,1
|
|
,,,,,What operations are possible with the file opening mode βa+β?,1
|
|
,,,,PART β B,"Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify.",3
|
|
,,,,,Write a C program to find the maximum of three integer numbers.,3
|
|
,,,,,Note down the features of register storage class.,3
|
|
,,,,,Write a C program to compare whether two strings are equal or not.,3
|
|
,,,,,"Will the following program be executed without error? If error, what kind of error will it be? If",3
|
|
,,,,,35
|
|
,,,,PART β C,16. a. Write down the different logical operators supported by C with their functions. (7+8),5
|
|
,,,,,17. a. Describe bitwise operators available in C. (10),5
|
|
,,,,,18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. (10),5
|
|
,,,,,"19. a. With syntax, write about switch..case statement. (8)",5
|
|
,,,,,"20. Explain functions. Also using the program for swapping the values of two variables,",5
|
|
,,,,,21. a. Write a detailed note on C pointers with suitable examples. (10),5
|
|
,,,,,22. a. Write a C program for the addition of two matrices. (10),5
|
|
,,,,,23. Demonstrate the following with suitable examples:,5
|
|
,,,,,24. a. Describe enumerated data type and its use with an example. (8),5
|
|
,,,,,25. a. Explain how the structure can be declared and the structure elements can be accessed. (8),5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,List the four basic data types. CO1 R 1,1
|
|
,,,,,Name the input and output functions used in the C programs. CO1 R 1,1
|
|
,,,,,Define identifiers. CO2 R 1,1
|
|
,,,,,State some examples of the three integer constants listed below.,1
|
|
,,,,,Identify the unconditional branching statement that skips the current iteration,1
|
|
,,,,,List all conditional control statements used in C. CO3 R 1,1
|
|
,,,,,Indicate the purpose of the return statement. CO4 U 1,1
|
|
,,,,,Differentiate while and do-while control statements. CO4 U 1,1
|
|
,,,,,Relate recursion in C. CO5 U 1,1
|
|
,,,,,Predict the output for the following code.,1
|
|
,,,,PART β B,List the various types of hardware and software with examples. CO1 U 3,3
|
|
,,,,,Predict the output of the program.,3
|
|
,,,,,Write a simple program to find odd or even using a while loop. CO3 A 3,3
|
|
,,,,,Explain the Linear search algorithm with an example. CO4 U 3,3
|
|
,,,,,Describe a function. Explain the difference between user-defined and library,3
|
|
,,,,,Develop an application in C to find the mean of all elements in an array using,3
|
|
,,,,PART β C,17. a. Explain the error diagnostic and debugging techniques. CO1 U 5,5
|
|
,,,,,18. a. Explain any four relational operators with sample code. CO2 U 5,5
|
|
,,,,,19. a. Explain different aspects of function calling with an example. CO5 A 9,5
|
|
,,,,,20. a. Definean array and explain the declaration and initialization of one-,5
|
|
,,,,,21. a. Describe a pointer. Explain how the pointer variable is declared and,5
|
|
,,,,,22. a. Write a program in C to add two matrices of MXN order. CO4 A 8,5
|
|
,,,,,23. a. Develop an application in C using structures to maintain and display,5
|
|
,,,,,24. a. Write a recursive function to return the factorial of all the numbers in a,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,Name the unit that performs the arithmetic and logical operations on the stored numbers.,1
|
|
,,,,,Differentiate a variable and a constant.,1
|
|
,,,,,How is a++ different from ++a?,1
|
|
,,,,,How is a character string terminated in C language?,1
|
|
,,,,,State the use of ?: operator.,1
|
|
,,,,,What is recursion?,1
|
|
,,,,,State the advantage of pointers.,1
|
|
,,,,,What are the storage classes available in C language?,1
|
|
,,,,,State the advantages of structures over an array.,1
|
|
,,,,,State the modes in which you can open a file.,1
|
|
,,,,PART β B,Give the data types available in C language.,3
|
|
,,,,,What are the logical operators available in C language?,3
|
|
,,,,,Differentiate break and continue.,3
|
|
,,,,,How can dynamic memory allocation save storage space?,3
|
|
,,,,,What is a self referential structure?,3
|
|
,,,,PART β C,16. a. Explain the working of a computer with its block diagram. (7),5
|
|
,,,,,17. a. Describe the various classes of data types used in C language. (7),5
|
|
,,,,,18. How are C operators classified? Explain operator precedence.,5
|
|
,,,,,19. Write notes on input output functions used in C language.,5
|
|
,,,,,20. a. Explain how multi way decision can be made in C language. (8),5
|
|
,,,,,21. Explain the different ways of parameter passing in functions,5
|
|
,,,,,22. a. Explain how pointers could be used to manipulate strings. (8),5
|
|
,,,,,23. a. Explain how dynamic memory allocation is used in C language. (7),5
|
|
,,,,,24. a. Differentiate structure and union. (7),5
|
|
,,,,,25. a. Write short notes on how reading and writing to a file is done. (7),5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a variable in C?,1
|
|
,,,,,Define constant in C.,1
|
|
,,,,,What are the different data types in C?,1
|
|
,,,,,Explain the concept of pointers.,1
|
|
,,,,,What is an array?,1
|
|
,,,,,Define function in C.,1
|
|
,,,,,What is recursion?,1
|
|
,,,,,What is the purpose of the main() function?,1
|
|
,,,,,What are header files?,1
|
|
,,,,,Explain the concept of storage classes.,1
|
|
,,,,PART β B,What is the difference between a for loop and a while loop?,3
|
|
,,,,,Explain the switch statement with an example.,3
|
|
,,,,,How do you allocate memory dynamically in C?,3
|
|
,,,,,What is a structure in C?,3
|
|
,,,,,Differentiate between structure and union.,3
|
|
,,,,PART β C,Explain the process of file handling in C.,5
|
|
,,,,,Discuss the importance of pointers in C.,5
|
|
,,,,,How do you create a custom header file in C?,5
|
|
,,,,,What is the use of the 'static' keyword?,5
|
|
,,,,,Describe the concept of linked lists.,5
|
|
,,,,,Explain how to implement a stack using an array.,5
|
|
,,,,,Discuss the difference between call by value and call by reference.,5
|
|
,,,,,Explain the role of the preprocessor in C.,5
|
|
,,,,,What are the different types of operators in C?,5
|
|
,,,,,Write a program to reverse a string using pointers.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a pointer in C?,1
|
|
,,,,,Define the term 'array'.,1
|
|
,,,,,What is a string in C?,1
|
|
,,,,,How do you declare a function?,1
|
|
,,,,,What is the purpose of the return statement?,1
|
|
,,,,,What is the size of an integer variable?,1
|
|
,,,,,What is a null pointer?,1
|
|
,,,,,How are strings stored in memory?,1
|
|
,,,,,What are comments in C?,1
|
|
,,,,,Explain the use of the sizeof operator.,1
|
|
,,,,PART β B,What is the use of the 'break' statement?,3
|
|
,,,,,How do you handle errors in C?,3
|
|
,,,,,Explain how to create a linked list.,3
|
|
,,,,,What is a dynamic array?,3
|
|
,,,,,Explain the difference between '==' and '='.,3
|
|
,,,,PART β C,Discuss the various data types in C with examples.,5
|
|
,,,,,Explain how to read from a file in C.,5
|
|
,,,,,What is the difference between a structure and a class?,5
|
|
,,,,,Describe the concept of a function pointer.,5
|
|
,,,,,How do you implement error handling in C?,5
|
|
,,,,,Explain the concept of multi-dimensional arrays.,5
|
|
,,,,,Discuss the use of the 'const' keyword.,5
|
|
,,,,,What is an enumerated type?,5
|
|
,,,,,Explain the concept of a binary tree.,5
|
|
,,,,,Write a program to find the factorial of a number using recursion.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is the syntax for declaring a variable?,1
|
|
,,,,,Define a constant variable.,1
|
|
,,,,,What is the purpose of 'main' function in C?,1
|
|
,,,,,How is memory allocated in C?,1
|
|
,,,,,What is the difference between an array and a pointer?,1
|
|
,,,,,Explain the structure of a C program.,1
|
|
,,,,,What are the types of loops available in C?,1
|
|
,,,,,What is the difference between 'int' and 'float'?,1
|
|
,,,,,Define a function prototype.,1
|
|
,,,,,What is a segmentation fault?,1
|
|
,,,,PART β B,Explain the use of conditional statements.,3
|
|
,,,,,What is the difference between 'strcpy' and 'strncpy'?,3
|
|
,,,,,Describe how to pass an array to a function.,3
|
|
,,,,,Explain the significance of the 'volatile' keyword.,3
|
|
,,,,,What are the different types of memory allocation?,3
|
|
,,,,PART β C,What is the purpose of the 'typedef' keyword?,5
|
|
,,,,,Discuss the various types of sorting algorithms.,5
|
|
,,,,,Explain how to implement a queue using an array.,5
|
|
,,,,,What is the purpose of a destructor in C?,5
|
|
,,,,,How do you perform file operations in C?,5
|
|
,,,,,What are the advantages of using pointers?,5
|
|
,,,,,Discuss the concept of a dynamic stack.,5
|
|
,,,,,How is string concatenation achieved in C?,5
|
|
,,,,,What is the role of the 'break' statement in loops?,5
|
|
,,,,,Write a program to sort an array using the bubble sort algorithm.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,"What is the output of printf(""%d"", 5 + 2);?",1
|
|
,,,,,How do you define a constant variable in C?,1
|
|
,,,,,What does the 'return' statement do?,1
|
|
,,,,,What is a preprocessor directive?,1
|
|
,,,,,How can you comment code in C?,1
|
|
,,,,,What is the purpose of the 'break' statement?,1
|
|
,,,,,Define a local variable.,1
|
|
,,,,,Explain the concept of dynamic memory allocation.,1
|
|
,,,,,What is an inline function?,1
|
|
,,,,,How is a multi-dimensional array declared?,1
|
|
,,,,PART β B,What is the difference between a function declaration and a function definition?,3
|
|
,,,,,Explain the concept of a linked list.,3
|
|
,,,,,How do you read data from a file in C?,3
|
|
,,,,,What are command line arguments?,3
|
|
,,,,,Explain the use of 'malloc' and 'free'.,3
|
|
,,,,PART β C,How is memory managed in C?,5
|
|
,,,,,Discuss the use of recursive functions with examples.,5
|
|
,,,,,Explain how to implement a binary search algorithm.,5
|
|
,,,,,"What is a hash table, and how is it implemented in C?",5
|
|
,,,,,What is the purpose of the 'sizeof' operator?,5
|
|
,,,,,Discuss the concepts of forward and backward declarations.,5
|
|
,,,,,Explain how to use the 'enum' keyword.,5
|
|
,,,,,What are the different types of loops in C?,5
|
|
,,,,,Explain the concept of a binary tree.,5
|
|
,,,,,Write a program to check if a number is prime.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is an identifier in C?,1
|
|
,,,,,Define the term 'function' in C.,1
|
|
,,,,,What is a macro?,1
|
|
,,,,,What is the output of 'sizeof(char)'?,1
|
|
,,,,,How do you declare a constant?,1
|
|
,,,,,What is the difference between '++a' and 'a++'?,1
|
|
,,,,,Explain the significance of the 'extern' keyword.,1
|
|
,,,,,What are logical operators in C?,1
|
|
,,,,,What is the purpose of the 'continue' statement?,1
|
|
,,,,,Define a global variable.,1
|
|
,,,,PART β B,What is the purpose of the 'switch' statement?,3
|
|
,,,,,Explain how to create a file in C.,3
|
|
,,,,,What is a binary search tree?,3
|
|
,,,,,How do you handle errors using 'errno'?,3
|
|
,,,,,Discuss the importance of modular programming.,3
|
|
,,,,PART β C,What is the purpose of the 'assert' function?,5
|
|
,,,,,Explain the use of the 'volatile' keyword.,5
|
|
,,,,,How is an abstract data type defined in C?,5
|
|
,,,,,Discuss how to implement a queue using linked lists.,5
|
|
,,,,,Explain how to create a simple calculator using functions.,5
|
|
,,,,,What is the role of the 'return' statement?,5
|
|
,,,,,Describe the different types of loops in C.,5
|
|
,,,,,What is the purpose of the 'static' storage class?,5
|
|
,,,,,Explain how to perform string manipulation in C.,5
|
|
,,,,,Write a program to count vowels in a string.,5
|
|
PROGRAMMING IN C,3 hours,CS101,100,PART β A,What is a function pointer?,1
|
|
,,,,,Define a dynamic array.,1
|
|
,,,,,What is a prototype in C?,1
|
|
,,,,,How do you allocate memory dynamically?,1
|
|
,,,,,What is the purpose of the 'include' directive?,1
|
|
,,,,,Explain the difference between 'struct' and 'class'.,1
|
|
,,,,,What does 'extern' mean?,1
|
|
,,,,,What is an inline function?,1
|
|
,,,,,What is the syntax for a switch case?,1
|
|
,,,,,How do you use the 'sizeof' operator?,1
|
|
,,,,PART β B,Explain how to pass an array to a function.,3
|
|
,,,,,What is the difference between 'malloc' and 'calloc'?,3
|
|
,,,,,Describe the use of the 'enum' keyword.,3
|
|
,,,,,How do you handle file I/O in C?,3
|
|
,,,,,Explain the importance of header files.,3
|
|
,,,,PART β C,What is the purpose of the 'const' keyword?,5
|
|
,,,,,Discuss the importance of memory management.,5
|
|
,,,,,Explain how to implement a circular queue.,5
|
|
,,,,,What is the difference between a shallow copy and a deep copy?,5
|
|
,,,,,What is the significance of the 'return' statement in functions?,5
|
|
,,,,,Explain how to use the 'strncpy' function.,5
|
|
,,,,,Describe how to create a linked list.,5
|
|
,,,,,What is the purpose of the 'volatile' keyword?,5
|
|
,,,,,Explain the role of the 'break' statement in loops.,5
|
|
,,,,,Write a program to swap two numbers using pointers.,5 |