new_instruction2
stringlengths
155
411
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that converts a pointer to a float using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that converts a character to a pointer using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that converts a pointer to a character using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that converts an integer to a long using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that converts a long to an integer using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that converts a float to a long using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that converts a long to a float using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that converts a character to a long using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that converts a long to a character using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that converts a pointer to a long using type casting.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts and prints a single command line argument.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts multiple command line arguments and prints them all.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that takes two command line arguments and prints their sum.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that calculates the average of three command line arguments.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that checks if a command line argument is an even number.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that checks if a command line argument is a palindrome.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts a command line argument and prints its reverse.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts a command line argument and counts the number of vowels in it.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and determines if it is a prime number.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that finds the maximum value from multiple command line arguments.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that finds the minimum value from multiple command line arguments.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts a command line argument and checks if it is a valid email address.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and checks if it is a valid IP address.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and counts the number of uppercase letters in it.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and replaces all occurrences of a given character with another character.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts a command line argument and checks if it is a valid URL.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts two command line arguments and concatenates them.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts multiple command line arguments and sorts them in ascending order.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts multiple command line arguments and finds the second largest value.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and counts the number of words in it.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and checks if it is a valid credit card number.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and calculates its factorial.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts a command line argument and checks if it is a valid date.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Write a program in C that accepts a command line argument and checks if it is a valid time.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Write a program in C that accepts a command line argument and checks if it is a valid phone number.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Creates an enumeration data type named "Weekday" with values Monday through Friday.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Declares a variable of type "Weekday" and assigns it the value Wednesday.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Defines a function that takes a parameter of type "Weekday" and prints the corresponding day of the week.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Declares an array of type "Weekday" with size 7 and initializes it with the days of the week in order.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Uses a loop to iterate over the array of weekdays and prints each day.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Prompts the user to enter a day of the week and assigns it to a variable of type "Weekday".
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Prints the value of the variable declared in the previous question.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Compares two variables of type "Weekday" to check if they are equal.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Declares a structure named "Student" with members for name, age, and grade.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Creates an enumeration data type named "Grade" with values A, B, C, D, and F.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Declares an array of type "Student" with size 5 and initializes it with different values for name, age, and grade.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Defines a function that takes a parameter of type "Student" and prints the information for that student.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Creates a variable of type "Student" and assigns it a name, age, and grade.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Prints the value of the grade for the student declared in the previous question.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Uses a switch statement to print a message based on the grade of a student.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Declares a variable of type "Grade" and assigns it the value B.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Uses a switch statement to print a message based on the value of the grade variable.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Adds a new value to the "Grade" enumeration data type.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Updates the function from question 12 to also print the grade of the student as a string.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Uses a loop to iterate over the array of students and print their information.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Adds a new member to the "Student" structure for the student's ID number.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Defines a function that takes a pointer to a "Student" structure and sets the ID number to a specified value.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Calls the function from question 22, passing in the student variable declared in question Write a program in C that
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Prints the student's ID number after calling the function from question Write a program in C that
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Updates the function from question 12 to also print the student's ID number.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that creates an empty linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that inserts a node at the beginning of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that inserts a node at the end of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that inserts a node at a specific position in a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that deletes a node from the beginning of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that deletes a node from the end of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that deletes a node from a specific position in a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that displays the elements of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that counts the number of nodes in a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that checks if a given value is present in the linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that finds the sum of all elements in a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that finds the maximum and minimum values in a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that sorts a linked list in ascending order.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that reverses the order of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that concatenates two linked lists.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that finds the middle element in a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that checks if a linked list is empty.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that creates a copy of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that removes duplicate elements from a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that checks if a linked list is a palindrome.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that merges two sorted linked lists into a single sorted list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that splits a linked list into two halves.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that finds the intersection of two linked lists.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that finds the nth node from the end of a linked list.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that swaps nodes in a linked list given the positions.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Implements a stack using an array.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Performs push and pop operations on a stack.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Checks if a stack is empty or not.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Returns the top element of a stack without removing it.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Reverses the elements of a stack.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Converts an infix expression to postfix using a stack.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Checks if a given expression is balanced or not using a stack.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Evaluates a postfix expression using a stack.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Sorts elements in a stack in ascending order using an auxiliary stack.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Removes all duplicate elements from a stack.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 6[/INST] Write a program in C that Finds the minimum element in a stack in O(Write a program in C that time complexity.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Finds the maximum element in a stack in O(Write a program in C that time complexity.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Finds the kth smallest element in a stack in O(n) time complexity.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Finds the kth largest element in a stack in O(n) time complexity.
The conversation between a Human and AI Assistant [INST] Generate a C programming question exam in PART – A section, for 3[/INST] Write a program in C that Checks if a stack contains a specific element.