Explain the limitation of PCI bus sharing
Make class BaraBitkaar as described in lecture to represent 16Byte or 128bit numbers. Make three functions as BitKaar of A8 i.e. PrintBinary(), PrintDecimal(), and PrintHexadecimal() respectively. Also make a member function SetValue(char * valuestring), that takes as parameter a 128 character string for example "11111111111100000000000001111111101010100101111111111111111111111111111111111111111111111111111111111011111101110101111101011011" containing the binary representation and sets the value of private members accordingly. Remember there is a member char var[16] which contains the binary value.
what is c++ variables
Create three variables for storing Student’s name, semester and Cgpa. Take input form the user in the variables.
Write the students data in file named Student.txt.
Open the file “Student.txt”, display an error if the file is not found. If the file is found, open it and read the
Students data and display on screen
.
Four workers were responsible to pluck oranges. The owner of the orange farm will be given 40% of the oranges. The workers share equally the balance of the oranges. The balance of oranges after divided will be used to make juice. Draw a complete flowchart and pseudocode that accepts input for the amount of oranges that were plucked. You are also required to calculate and print amount of oranges that were received by the owner, each of the workers and balance of oranges to make juice.
Sample output:
Enter number of oranges plucked : 100
Total oranges for the owner is 40
Total oranges for each worker is 15
Balance of oranges to make juice is 0
***********another output sample**************
Enter number of oranges plucked : 125 Total oranges for the owner is 50 Total oranges for each worker is 18 Balance of oranges to make juice is 3
Prove the theorem
The elass of regular languages is closed under union operation. In othe words, if Al
and A2 are regular languages, so is (Ai UA2)"for the following languageL-twiw acepts even mumber of 'a' or even number of "b'.
A. Name and explain the type of relationship the relations in figure 2 depict. [10 Marks] B. Using figure 2, explain how one can uniquely identify the record of a particular student in the room relation. [5 Marks] C. Using appropriate symbols, transform the relations into equivalent well – labelled E – R diagram.
Find the bandwidth for the following situations if we need to modulate a 5-KHz voice.
a. AM
b. PM (setß=3)
c. PM (set p=1)
Compare the telephone network and the Internet. What are the similarities? What are the
differences?
the evolution of data models