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 checks if a number is positive and even. |
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 number is divisible by 3 and 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 Prints numbers from 1 to 10 using a for loop. |
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 even numbers from 1 to 20 using a while loop. |
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 Calculates the sum of numbers from 1 to 100 using a do-while loop. |
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 all the uppercase letters of the English alphabet using a for loop. |
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 Displays the multiplication table of a given number using a for loop. |
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 Fibonacci series up to a specific limit using a while loop. |
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 factorial of a given number using a for loop. |
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 whether a given number is prime or not using a for loop. |
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 all the elements of an array using a for loop. |
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 Determines the largest element in an array using a for loop. |
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 Calculates the average of elements in an array using a while loop. |
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 Searches for a specific element in an array using a for loop. |
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 elements of an array using a for loop. |
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 pattern of right-angled triangle using a nested for loop. |
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 all the prime numbers between 1 and 100 using a nested for loop. |
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 Performs the linear search operation on an array using a while loop. |
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 ASCII values of all the lowercase letters from 'a' to 'z' using a do-while loop. |
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 vowels in a given string using a for loop. |
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 whether a given string is a palindrome or not using a for loop. |
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 a decimal number to binary using a while loop. |
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 first n terms of the geometric series using a for loop. |
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 sum of the digits of a given number using a while loop. |
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 whether a given number is an Armstrong number or not using a for loop. |
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 first n terms of the pattern: 1, 4, 9, 16, ... using a for loop. |
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 multiplication table of a given number using a nested for loop. |
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 calculates the square of a given number using a 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 calculates the factorial of a given number using a 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 finds the maximum of two numbers using a 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 checks whether a number is prime or not using a 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 swaps two numbers using a 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 checks whether a character is a vowel or consonant using a 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 adds two numbers using a 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 calculates the average of three numbers using a 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 checks if a number is positive or negative using a 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 converts Celsius to Fahrenheit using a 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 checks if a number is even or odd using a 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 calculates the area of a rectangle using a 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 checks if a number is a palindrome using a 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 finds the reverse of a given number using a 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 checks if a string is a palindrome using a 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 calculates the power of a number using a 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 calculates the volume of a sphere using a 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 checks if a number is a perfect number using a 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 counts the number of digits in a given number using a 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 checks if a number is a Armstrong number using a 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 calculates the sum of digits of a number using a 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 determines whether a year is a leap year or not using a 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 checks if a number is a strong number using a 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 checks if a number is a happy number using a 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 calculates the factorial of a number using recursion. |
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 calculates the Fibonacci series using a 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 declares an array of integers of size 10 and initializes it with the values 1, 2, 3, 4, 5, 6, 7, 8, 9, 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 finds the sum of all elements in an array of integers of size 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 finds the smallest number in an array of integers of size 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 counts the number of even numbers in an array of integers of size 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 elements of an array of characters in reverse 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 removes duplicate elements from an array of integers of size 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 checks if an array of integers of size 4 is sorted 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 counts the number of occurrences of a specific element in an array of integers of size 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 finds the largest and smallest number in an array of integers of size 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 calculates the average of all elements in an array of floats of size 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 determines if an array of characters of size 5 is a palindrome. |
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 an array of integers of size 8 in descending 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 replaces all occurrences of a specific element in an array of integers of size 7 with another 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 finds the second largest number in an array of integers of size 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 checks if two arrays of integers of size 3 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 counts the number of vowels in an array of characters of size 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 calculates the product of all elements in an array of integers of size 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 reverses the order of elements in an array of integers of size 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 checks if an array of strings of size 4 contains a specific word. |
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 uppercase letters in an array of characters of size 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 merges two sorted arrays of integers of size 5 into a single sorted array. |
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 index of the first occurrence of a specific element in an array of integers of size 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 calculates the median of an array of floats of size 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 checks if an array of integers of size 6 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 shifts the elements of an array of integers of size 9 to the left by a specified number of 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 checks if an array of integers of size 10 contains any duplicate elements. |
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 Reads a string from the user and prints 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 Counts the number of characters in a given 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 Calculates 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 3[/INST] Write a program in C that Determines if two strings are equal 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 Converts a string 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 a string 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 Reverses a given 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 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 Prints the first occurrence of a character in a given 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 Checks if a given string is a palindrome. |
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 all occurrences of a character from 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 frequency 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 6[/INST] Write a program in C that Finds the number of words 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 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 6[/INST] Write a program in C that Finds the position of a substring 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 occurrences of a substring with a new 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 Prints the vowels present in a given 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 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 Sorts the characters in a string in alphabetical 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 Checks if a given string 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 6[/INST] Write a program in C that Checks if a given string is a valid URL. |