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