The random waiting time before retransmission after a jamming signal in CSMA/CD is referred as
A cell phone is allocated 642 radio frequencies to operate in a city with a hexagon pattern cell design. 42 of the frequencies is reserved for control channel and each phone cell uses 2 frequencies per call ( 1 for transmitting and 1 for receiving). In an advance mobile phone service, use the frequencies distribution to answer the following question. If the distance between centers of adjacent cells is 2km and the minimum distance between centers of cells with the same cochannel is 7km, calculate
a). cell pattern Reuse factor
b). the area of each cell
c). the radius of each cell
Write a menu driven application to Library Management using Java to demonstrate the concept of Inheritance. Your application must contain the following functionalities along with the use of method overriding, and super keyword.
a. The following details must be there for each Book
i. bookTitle
ii. bookAuthor
iii. bookNoOfCopies
iv. bookAvailability
v. bookEdition
vi. bookPublisher
b. Get the Book details from librarian
c. In the menu give options to borrow, return and Search options
During COVID pandemic lock down, most structured business networks were able to support TCP based traffic services like remote desktop and other messaging services to accommodate telecommunicating or working from home. Which ATM service categories supported those services traffic?
Create a base class called Shape with two data members of double type
which could be used to compute the area of figures. Derive two specific
classes called Triangle and Rectangle from the base class Shape. Add to the
base class, a member function called GetData to initialize base class data
members and another member function displayArea to compute and display
the area of figures. Make displayArea a virtual function and redefine this
function in the derived classes to suit their requirements. Using these three
classes design a program which will accept dimensions of a triangle or
rectangle interactively and display the area.
Write a program to create a class called STUDENT with data members Roll
Number, Name and Age. Using inheritance, create the classes
UGSTUDENT and PGSTUDENT having fields a semester, fees and
stipend. Enter the data for at least 5 students. Find the average age for all
UG and PG students separately.
(Hierarchical Inheritance):-
Derive a class named as CYLINDER from CIRCLE class. Take necessary
data & member functions for this class to calculate the volume of the
cylinder. Show the result by accessing the area method of circle and
rectangle through object of rectangle class and the area of circle and volume
method of cylinder class through the objects of cylinder class.
(Multilevel Inheritance):-
Derive a class named as BOX from RECTANGLE class. Take necessary
data & member functions for this box class to calculate the volume of the
box. All the data members are initialized through the constructors. Show the
result by accessing the area method of circle and rectangle and the volume
method of box class through the objects of box class.
(Single Inheritance) Write a program to create a class CIRCLE with one
field as radius, used to calculate the area of a Circle. Create another class
RECTANGLE used to calculate the area of the rectangle which is a subclass
of CIRCLE class. Use the concept of single inheritance such that the radius
of circle class can be re-used as length in rectangle class. Take necessary
data members and member functions for both the classes to solve this
problem. All the data members are initialized through the constructors.
Show the result by accessing the area method of both the classes through the
objects of rectangle class.