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 3[/INST] Write a program in C that Write a program in C that converts a time in seconds into hours, minutes, and seconds.
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 determines the current month and displays the number of days in that month.
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 age in years, months, and days based on a given date of birth.
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 determines whether a given year is a leap year or not, using a user-defined function.
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 Unix timestamp for a given date and time.
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 determines the number of seconds in a given time interval.
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 given time in am/pm format to 24-hour format.
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 determines the number of weeks between two given dates.
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 determines whether a given date is valid 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 Write a program in C that calculates the age in months and days based on a given date of birth and the current 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 determines the number of leap years between two given years.
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 determines the number of days between two given dates, excluding weekends.
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 determines the number of hours, minutes, and seconds in a given time interval.
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 displays the current time in a specific timezone.
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 determines the number of days between two given dates, considering the number of leap years.
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 square root of a given 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 calculates the absolute value of a given 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 calculates the exponential value of a given 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 rounds a given floating-point number to the nearest whole 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 calculates the natural logarithm of a given 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 calculates the sine value of a given angle in degrees.
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 cosine value of a given angle in degrees.
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 tangent value of a given angle in degrees.
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 calculates the arc sine value of a given 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 calculates the arc cosine value of a given 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 calculates the arc tangent value of a given 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 calculates the maximum value between two given numbers.
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 calculates the minimum value between two given numbers.
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 power of a given number raised to a specified exponent.
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 calculates the factorial of a given 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 calculates the hyperbolic sine value of a given 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 calculates the hyperbolic cosine value of a given 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 calculates the hyperbolic tangent value of a given 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 calculates the logarithm of a given number to a specified base.
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 remainder of dividing two given numbers.
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 calculates the integral part of a given floating-point 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 calculates the ceil value of a given floating-point 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 calculates the floor value of a given floating-point 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 calculates the nearest integer value of a given floating-point 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 calculates the absolute difference between two given numbers.
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 converts a lowercase character to uppercase.
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 converts an uppercase character to lowercase.
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 character is an alphabet or not.
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 character is a digit or not.
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 character is an alphanumeric character or not.
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 character is a whitespace character 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 checks if a character is a vowel or not.
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 character is a consonant 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 finds the length of 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 copies one string to another.
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 strings.
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 strings.
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 first occurrence of a character in a string.
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 last occurrence of a character in a string.
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 counts the number of occurrences of a character in a string.
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 replaces all occurrences of a character with another character in a string.
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 extracts a substring from a string.
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 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 converts a string to an integer.
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 converts an integer to 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 finds the maximum character in 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 finds the minimum character in a string.
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 sorts the characters in a string 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 checks if two strings are anagrams 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 checks if a string is a palindrome or not.
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 a square pattern of asterisks.
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 a triangle pattern of asterisks.
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 a pattern of numbers in increasing 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 prints a pattern of numbers in decreasing 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 prints a right-aligned triangle pattern of asterisks.
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 a mirrored right-aligned triangle pattern of asterisks.
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 a diamond pattern of asterisks.
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 a pyramid pattern of asterisks.
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 a hollow square pattern of asterisks.
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 a hollow triangle pattern of asterisks.
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 a hollow diamond pattern of asterisks.
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 a hollow pyramid pattern of asterisks.
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 a right-aligned triangle pattern of numbers.
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 a mirrored right-aligned triangle pattern of numbers.
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 a diamond pattern of numbers.
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 a pyramid pattern of numbers.
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 a hollow square pattern of numbers.
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 a hollow triangle pattern of numbers.
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 a hollow diamond pattern of numbers.
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 a hollow pyramid pattern of numbers.
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 a pattern of alphabets in increasing 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 prints a pattern of alphabets in decreasing 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 prints a right-aligned triangle pattern of alphabets.
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 a mirrored right-aligned triangle pattern of alphabets.
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 a diamond pattern of alphabets.
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
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 Initializes an integer variable to a specific value and prints its memory 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 Declares an array of integers, assigns values to it, and prints the memory addresses of each element.
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 the `malloc()` function to dynamically allocate memory for an integer 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 Allocates memory for a character array using `calloc()` and prints the memory addresses of each element.
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 Retrieves the size of an array using the `sizeof()` operator.
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 struct with multiple variables and prints the memory addresses of each member.
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 Copies the contents of one string into another using the `strcpy()` function.
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 Concatenates two strings using the `strcat()` function.
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 Compares two strings using the `strcmp()` function and prints the result.