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 Creates an infinite loop 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 Uses a do-while loop to create an infinite 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 "Hello World" infinitely 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 numbers from 1 to 10 infinitely 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 even numbers from 2 to 20 infinitely 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 Takes user input and repeats it infinitely 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 Calculates the sum of numbers from 1 to 100 infinitely 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 Fibonacci sequence infinitely 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 a triangle of asterisks infinitely 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 Checks for a specific condition infinitely and prints a message 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 ASCII values of characters from A to Z infinitely 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 Generates an infinite loop that counts down from 10 to 1 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 Creates an infinite loop that calculates the factorial of a 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 Prints "I will not stop" infinitely 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 Generates an infinite loop that counts down from 100 to 1 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 Takes user input and displays it in reverse infinitely 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 Calculates the square of numbers from 1 to 10 infinitely 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 multiplication table of a number infinitely 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 Generates an infinite loop that calculates the average of numbers entered by the user 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 sine values of angles from 0 to 90 degrees infinitely 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 Creates an infinite loop that prints the square root of numbers entered by the user 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 the factorial of a number infinitely 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 Generates an infinite loop that prints the powers of 2 infinitely 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 product of numbers from 1 to 5 infinitely 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 can display a backslash (\) on the console?
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 can display a double quote (") on the console?
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 can display a single quote (') on the console?
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 can display a new line character on the console?
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 can display a tab character on the console?
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 can display a carriage return character on the console?
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 can display a form feed character on the console?
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 can display a vertical tab character on the console?
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 can display a hexadecimal value (e.g., 0x0F) on the console?
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 can display an octal value (e.g., 077) on the console?
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 can display a Unicode character (e.g., '\u03BC') on the console?
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 can display a hexadecimal escape sequence (e.g., '\x0A') on the console?
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 can display a backspace character on the console?
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 can display a null character on the console?
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 can display a bell character on the console?
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 can display a delete character on the console?
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 can display a horizontal tab character on the console?
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 can display a vertical tab character on the console?
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 can display a question mark character on the console?
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 can display an octal escape sequence (e.g., '\101') on the console?
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 can display a hexadecimal escape sequence (e.g., '\x4D') on the console?
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 can display a Unicode escape sequence (e.g., '\u00A9') on the console?
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 can display a bell character on the console?
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 can display a backspace character on the console?
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 can display a carriage return character on the console?
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 can display a newline character on the console?
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 simple enum named "Colors" with three values: RED, GREEN, and BLUE.
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 enum named "Weekdays" with seven values: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, and SATURDAY.
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 enum named "Months" with twelve values: JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, and DECEMBER.
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 enum named "Sizes" with four values: SMALL, MEDIUM, LARGE, and EXTRA_LARGE.
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 enum named "Direction" with four values: UP, DOWN, LEFT, and RIGHT.
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 enum named "Status" with two values: SUCCESS and FAILURE.
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 enum "Colors" and assigns the value RED to a variable named "color1".
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 the enum "Colors" and assigns the value GREEN to a variable named "color2".
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 the enum "Colors" and assigns the value BLUE to a variable named "color3".
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 enum "Weekdays" and assigns the value MONDAY to a variable named "day1".
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 the enum "Weekdays" and assigns the value FRIDAY to a variable named "day2".
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 enum "Months" and assigns the value MAY to a variable named "month1".
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 enum "Months" and assigns the value DECEMBER to a variable named "month2".
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 enum "Sizes" and assigns the value SMALL to a variable named "size1".
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 enum "Sizes" and assigns the value LARGE to a variable named "size2".
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 enum "Direction" and assigns the value UP to a variable named "direction1".
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 the enum "Direction" and assigns the value RIGHT to a variable named "direction2".
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 the enum "Status" and assigns the value SUCCESS to a variable named "status1".
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 the enum "Status" and assigns the value FAILURE to a variable named "status2".
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 function named "printColor" which takes a parameter of type "Colors" and prints the corresponding color 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 declares a function named "printDay" which takes a parameter of type "Weekdays" and prints the corresponding day 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 declares a function named "printMonth" which takes a parameter of type "Months" and prints the corresponding month 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 declares a function named "printSize" which takes a parameter of type "Sizes" and prints the corresponding size 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 declares a function named "printDirection" which takes a parameter of type "Direction" and prints the corresponding direction 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 declares a function named "printStatus" which takes a parameter of type "Status" and prints the corresponding status 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 declares a variable named "myColor" of type "Colors" and takes user input to assign a color value to 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 uses typedef to define a new data type called "student" which stores the name and age 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 uses typedef to define a new data type called "complex" which represents a complex number with real and imaginary parts.
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 typedef to define a new data type called "point" which stores the x and y coordinates of a point on a Cartesian plane.
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 typedef to define a new data type called "rectangle" which represents a rectangle with width and height.
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 typedef to define a new data type called "weekday" which represents the days of the week (Monday, Tuesday, etc.).
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 typedef to define a new data type called "temperature" which represents a temperature value in Celsius.
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 typedef to define a new data type called "book" which stores the title and author of a book.
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 typedef to define a new data type called "color" which represents a color in RGB 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 uses typedef to define a new data type called "vector" which represents a mathematical vector with magnitude and direction.
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 typedef to define a new data type called "employee" which stores the name and salary of an employee.
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 typedef to define a new data type called "time" which represents a time value in 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 uses typedef to define a new data type called "fraction" which represents a fraction with a numerator and a denominator.
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 typedef to define a new data type called "score" which represents a student's score in a particular subject.
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 typedef to define a new data type called "car" which stores the make, model, and year of a car.
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 typedef to define a new data type called "currency" which represents a monetary value in a specific currency.
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 typedef to define a new data type called "shape" which represents a generic geometric shape.
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 typedef to define a new data type called "song" which stores the title and artist of a song.
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 typedef to define a new data type called "event" which stores the name and date of an event.
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 typedef to define a new data type called "grade" which represents a student's letter grade in a course.
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 typedef to define a new data type called "country" which stores the name and population of a country.
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 typedef to define a new data type called "temperature" which represents a temperature value in Fahrenheit.
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 typedef to define a new data type called "point" which represents a point in 3D space with x, y, and z coordinates.
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 typedef to define a new data type called "matrix" which represents a mathematical matrix with rows and columns.
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 typedef to define a new data type called "person" which stores the name, age, and address of a person.