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 demonstrates the use of static variables across multiple files to maintain state.
|
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 uses the extern storage class to access a string defined in another file.
|
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 uses the volatile storage class to access a hardware register and read its 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 uses the const storage class to declare a constant string and prints its 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 uses the thread_local storage class to declare a variable and prints its value from different threads.
|
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 demonstrates the use of automatic variables in recursion.
|
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 demonstrates the use of static variables in recursion to maintain state.
|
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 uses the extern storage class to access a constant defined in another file.
|
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 demonstrates how to handle a runtime error using try-catch blocks.
|
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 shows how to handle a compilation error caused by a missing semicolon.
|
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 utilizes the assert() function for error checking.
|
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 handles a division by zero error using an if statement.
|
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 catches and handles a 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 Write a program in C that uses the perror() function to display a custom error message for an I/O 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 Write a program in C that demonstrates how to handle an 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 Write a program in C that handles a stack 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 Write a program in C that catches and handles a memory allocation error using the malloc() 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 Write a program in C that uses the fclose() function to handle a file closing 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 Write a program in C that demonstrates how to handle a type mismatch error when using scanf().
|
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 catches and handles a 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 Write a program in C that handles a timeout error using the alarm() 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 demonstrates how to handle an error caused by integer overflow.
|
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 catches and handles a file opening error using the fopen() 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 Write a program in C that handles an input validation error 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 Write a program in C that uses the strtok() function to handle a string parsing 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 Write a program in C that demonstrates how to handle a case where a required library is missing.
|
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 catches and handles a divide by zero error in a fraction calculation.
|
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 handles an error caused by exceeding the maximum file size for file I/O.
|
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 demonstrates how to handle an error related to network connectivity using the socket() 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 Write a program in C that catches and handles an illegal access error caused by accessing an uninitialized 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 Write a program in C that handles an error caused by attempting to open a non-existent file using the fopen() 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 demonstrates how to handle a logic error caused by incorrect conditional statements.
|
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 catches and handles a syntax error caused by mismatched brackets.
|
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 single thread.
|
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 multiple threads.
|
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 waits for a thread to complete before continuing.
|
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 thread to print numbers from 1 to 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 uses threads to perform calculations in parallel.
|
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 demonstrates thread synchronization using mutex.
|
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 demonstrates thread synchronization using semaphore.
|
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 demonstrates thread synchronization using condition variables.
|
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 demonstrates thread cancellation using pthread_cancel.
|
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 demonstrates thread termination using pthread_exit.
|
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 demonstrates thread join using pthread_join.
|
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 demonstrates thread detaching using pthread_detach.
|
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 demonstrates thread priorities using pthread_setschedparam.
|
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 thread-local storage.
|
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 demonstrates deadlocks in multi-threading.
|
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 demonstrates race condition in multi-threading.
|
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 demonstrates thread scheduling.
|
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 demonstrates thread synchronization using barriers.
|
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 demonstrates thread synchronization using read-write locks.
|
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 demonstrates producer-consumer problem using threads.
|
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 demonstrates inter-thread communication using message passing.
|
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 demonstrates inter-thread communication using shared memory.
|
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 demonstrates inter-thread communication using condition variables.
|
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 demonstrates thread-safe data structures.
|
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 demonstrates thread-safe file handling.
|
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 demonstrates thread-safe memory allocation.
|
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 TCP 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 Binds the socket to a specific IP address and port 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 Sets the socket to listen for incoming connections.
|
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 Accepts incoming connections and establishes a connection with the client.
|
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 Sends a message to the connected client.
|
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 Receives a message from the connected client.
|
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 Closes the connection with the client.
|
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 Terminates the listening 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 Creates a UDP 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 Binds the UDP socket to a specific IP address and port 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 Sends a message to a specific remote server using UDP.
|
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 Receives a message from a specific remote server using UDP.
|
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 Sets a timeout for the UDP 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 Uses non-blocking I/O to handle multiple client connections using TCP.
|
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 simple chat server using TCP sockets.
|
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 Implements a basic file transfer protocol using TCP sockets.
|
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 DNS resolver using TCP sockets.
|
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 Implements a simple web server using TCP sockets.
|
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 Implements a multicast sender using UDP sockets.
|
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 multicast receiver using UDP sockets.
|
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 Implements a time server using TCP sockets.
|
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 Implements a basic HTTP client using TCP sockets.
|
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 basic SMTP client using TCP sockets.
|
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 simple peer-to-peer file sharing system using TCP sockets.
|
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 Implements a proxy server using TCP sockets.
|
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 two nodes in 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 Checks if a graph is connected 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 Determines if a graph is cyclic or acyclic.
|
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 minimum spanning tree of a weighted 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 Identifies the strongly connected components of a directed 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 depth-first search 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 breadth-first search 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 Checks if a graph contains a Hamiltonian 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 topological ordering of a directed acyclic 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 Determines if a graph is bipartite 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 Finds the minimum cut in 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 Checks if a graph is eulerian 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 Determines if two nodes in a graph are connected.
|
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 longest path in a directed acyclic 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 Checks if a graph is planar 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 Tests if a graph is a tree.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.