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 declares a variable with a shared_write storage class. |
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 with a protected_read storage class. |
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 with a protected_write storage class. |
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 with a persistent storage class. |
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 with a temporary storage class. |
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 with a local storage class. |
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 with a external linkage storage class. |
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 with a internal linkage storage class. |
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 with a no linkage storage class. |
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 with a private linkage storage class. |
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 with a public linkage storage class. |
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 with a none linkage storage class. |
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 file exists in a directory. |
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 handles division by zero error. |
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 handles out of memory error. |
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 handles segmentation fault error. |
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 handles stack overflow error. |
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 handles file open error. |
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 handles file read error. |
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 handles file write error. |
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 handles invalid input error. |
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 handles buffer overflow error. |
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 handles floating point rounding error. |
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 handles invalid memory access error. |
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 handles arithmetic overflow error. |
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 handles integer division by zero error. |
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 handles invalid pointer error. |
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 handles invalid function call error. |
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 handles null pointer error. |
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 handles array index out of bounds error. |
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 handles file close error. |
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 handles resource allocation failure error. |
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 handles infinite loop error. |
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 handles logical error. |
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 handles memory leak error. |
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 handles invalid conversion error. |
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 handles race condition error. |
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 two threads and each thread counts from 1 to 10, printing their respective counts. |
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 creates a TCP/IP socket. |
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 establishes a connection to a server using a TCP socket. |
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 binds a socket to a specific port. |
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 listens for incoming connections on a socket. |
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 an incoming connection on a socket and sends a simple message to the client. |
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 receives a message from a connected client and prints it to 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 Write a program in C that sends a file over a TCP socket to a client. |
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 receives a file over a TCP socket and saves it to disk. |
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 sets the socket to non-blocking mode. |
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 sets the socket to reuse the 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 sets the socket to handle ICMP packets. |
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 sets the socket to handle multicast packets. |
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 sets the socket to broadcast messages. |
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 sets the socket to use a specific network interface. |
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 gets the IP address of a given hostname. |
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 gets the hostname of a given IP 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 Write a program in C that performs a DNS lookup and prints the resolved IP 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 Write a program in C that gets the port number of a specific service using its name. |
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 sets the socket to timeout after a specific period. |
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 sets the socket to receive out-of-band data. |
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 sets the socket to use encryption. |
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 sets the socket to use compression. |
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 sets the socket to keep the connection alive. |
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 sets the socket to prioritize network traffic. |
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 sets the socket to limit the buffer size for sending and receiving data. |
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 shortest path between two nodes in a weighted graph using Dijkstra's algorithm. |
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 graph is a tree. |
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 a depth-first search traversal on a graph. |
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 a breadth-first search traversal on a graph. |
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 a topological sort on a directed acyclic graph. |
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 graph contains a cycle. |
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 minimum spanning tree of a graph using Prim's algorithm. |
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 minimum spanning tree of a graph using Kruskal's algorithm. |
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 graph is bipartite. |
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 graph is connected. |
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 flow in a graph using the Ford-Fulkerson algorithm. |
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 articulation points in a graph. |
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 strongly connected components in a directed graph using Tarjan's algorithm. |
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 bridges in a graph. |
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 diameter (longest shortest path) of a graph. |
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 a topological sort on a graph using the depth-first search algorithm. |
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 shortest path between all pairs of nodes in a graph using the Floyd-Warshall algorithm. |
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 flow in a graph using the Edmonds-Karp algorithm. |
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 flow in a graph using the Dinic's algorithm. |
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 a minimum cut in a graph using the Stoer-Wagner algorithm. |
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 a maximum bipartite matching in a bipartite graph using the Hopcroft-Karp algorithm. |
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 a maximum matching in a general graph using the Edmonds' algorithm. |
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 a maximum clique in a graph using the Bron-Kerbosch algorithm. |
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 a maximum independent set in a graph using the Bron-Kerbosch algorithm. |
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 a minimum vertex cover in a graph using the Konig's theorem. |
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 a minimum dominating set in a graph using the greedy algorithm. |
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 date and 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 calculates the difference in days 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 year is a leap year 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 converts a given date into the number of days since January 1, 1900. |
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 adds a specific number of days to a given date. |
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 subtracts a specific number of days from a given 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 finds the day of the week for a given date. |
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 time difference between two given times. |
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 difference in months between two given dates. |
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 in a given month of a specific year. |