new_instruction2
stringlengths 155
411
|
---|
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 19. a. Write a C program to find the sum and average of the elements in an array. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 20. a. Write the linear search algorithm. CO4 U 6 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 21. a. Write a C program to determine the roots of a quadratic equation ππ₯ΰ¬Ά+ |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 22. a. Write a program in C to subtract two matrices of M x N order. CO4 A 8 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 23. a. Develop a C program to swap two numbers using the call-by value method. CO6 A 8 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 24. a. Develop an application in C to calculate the internal marks and external |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] List any 4 basic data types of C. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] C programs are converted into machine language with the help of ___________. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] An expression contains relational operators, assignment operators and arithmetic operators with |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] ___________ loop is useful when we want that the statements within the loop must be executed |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Can a function contain more than one return statement? Give explanation for your answer. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] ___________ is variable which hold the address of other variable. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the value automatically assigned to the array element that is not explicitly initialized? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C 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 exam in PART β A section, for 1 mark(s) [/INST] Can a structure variable be defined as member of another structure? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Is it necessary that a file created in text mode must always be opened in text mode for |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] What is the difference between a variable and a constant? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] When should break and continue statement be used? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] What is recursion? What are the advantages of recursion? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] How can array be passed to a function? Explain with example. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Describe union with example. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 16. a. Explain the various conditional statements and logical operators available in c with an example |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 17. a. Explain the associativity and precedence of operators in C with an example. (8) |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 18. a. Explain the various looping structures that are available in C with examples. (8) |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 19. a. Explain the general syntax and working of switch statement in C with an example. (8) |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 20. a. Discuss the following with suitable C program: |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 21. How function definition is distinguished from function call? (7) |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 22. a. Write a program using pointers to read in an array of integers and print its elements in |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 23. a. Explain the various string handling functions with example. (8) |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 24. a. Explain the various file I/O operations with neat examples. (8) |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 25. a. Write short notes on enumeration. (7) |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] State the function of a compiler. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] List the short hand assignment operators. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the use of goto statement? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the need for implementing a function? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Define array. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Write the syntax to initialize a one dimensional array. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the use of a pointer? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] How do you access the members of a structure? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the significance of file pointer? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is meant by βa+β mode? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Illustrate the use of conditional operator with an example. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Differentiate between break and continue statement. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Define an array to hold the names of 3 cities. Assume that the maximum number of characters |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] 14. Write a short note on self referential structure. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] List the different modes in which a file can be opened. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 16. With a neat block diagram explain the organization of a computer. Describe the different types |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 17. Explain the different types of operators supported in C with an example program. List the |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 18. Describe about any one branching and looping statement with a suitable program. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 19. Write a program to find the sum of N numbers. Use function concept. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 20. What is the significance of storage class? Give a detailed description about storage classes. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 21. Write a program to check a given N*N matrix for unit matrix. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 22. Write a short note on dynamic memory allocation. Explain the concept with an example |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 23. A Maruti car dealer maintains a record of sales of various vehicles in the following form: |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 24. Write a program in C language to create a text file. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 25. What is the use of command line arguments? Discuss its usage with an example program. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Find out the value of βaβ after the execution of the statement: βa = 10 > 5 ?1 : 0;β |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the output of the following program? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the purpose of break statement? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Choose the appropriate answer: A do-while loop is useful when we want that the statements |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Name the storage class used when global variables are referred inside a function. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What kind of value can be stored in a pointer variable? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Choose the appropriate answer: Array elements are always stored in |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Name the string function in C to find the length of a string. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What is the purpose of the escape sequences \n and \b? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] What operations are possible with the file opening mode βa+β? |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Write down the rules for constructing C variables. Is ab12c, a valid C variable? Justify. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Write a C program to find the maximum of three integer numbers. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Note down the features of register storage class. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Write a C program to compare whether two strings are equal or not. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Will the following program be executed without error? If error, what kind of error will it be? If |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 16. a. Write down the different logical operators supported by C with their functions. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] Describe bitwise operators available in C. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 18. a. Elaborate the concept of for loop and nesting of loops with suitable examples. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 19. a. With syntax, write about switch..case statement. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 20. Explain functions. Also using the program for swapping the values of two variables, |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 21. a. Write a detailed note on C pointers with suitable examples. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 22. a. Write a C program for the addition of two matrices. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 23. Demonstrate the following with suitable examples: |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 24. a. Describe enumerated data type and its use with an example. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 25. a. Explain how the structure can be declared and the structure elements can be accessed. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] List the four basic data types. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Name the input and output functions used in the C programs. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Define identifiers. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] State some examples of the three integer constants listed below. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Identify the unconditional branching statement that skips the current iteration |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] List all conditional control statements used in C. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Indicate the purpose of the return statement. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Differentiate while and do-while control statements. CO4 U 1 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β A section, for 1 mark(s) [/INST] Relate recursion in C. CO5 U 1 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C 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 exam in PART β B section, for 3 mark(s) [/INST] List the various types of hardware and software with examples. CO1 U 3 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Predict the output of the program. |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Write a simple program to find odd or even using a while loop. CO3 A 3 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Explain the Linear search algorithm with an example. CO4 U 3 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Describe a function. Explain the difference between user-defined and library |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β B section, for 3 mark(s) [/INST] Develop an application in C to find the mean of all elements in an array using |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 17. a. Explain the error diagnostic and debugging techniques. CO1 U 5 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 18. a. Explain any four relational operators with sample code. CO2 U 5 |
The conversation between a Human and AI Assistant [INST] Generate a question for PROGRAMMING IN C exam in PART β C section, for 5 mark(s) [/INST] 19. a. Explain different aspects of function calling with an example. CO5 A 9 |