A.Opening a file in read mode performs which operation? a. Creates a new file b. Reads consecutive characters from a file c. Reads all the content of a file ….
Write a program to implement CDMA. Assume that the length of a chipsequence is eight and the number of stations transmitting is four.
Write a program to implement CDMA. Assume that the length of a chipsequence is eight and the number of stations transmitting is four. Yourprogram consists of three sets of processes: four transmitter processes(t0, t1, t2, and t3), one joiner process, and four receiver processes (r0, r1,r2, and r3). The main program, which also acts as the joiner process firstreads four chip sequences (bipolar notation) from the standard input anda sequence of 4 bits (1 bit per transmitter process to be transmitted), andforks off four pairs of transmitter and receiver processes. Each pair oftransmitter/receiver processes (t0,r0; t1,r1; t2,r2; t3,r3) is assigned onechip sequence and each transmitter process is assigned 1 bit (first bit tot0, second bit to t1, and so on). Next, each transmitter process computesthe signal to be transmitted (a sequence of 8 bits)and sends it to thejoiner process. After receiving signals from all four transmitter processes,the joiner process combines the signals and sends the combined signalto the four receiver processes. Each receiver process then computes thebit it has received and prints it to standard output. Use pipes forcommunication between processes.2) Write a program that simulates a computer network using discrete