Answer:
The correct answer is C - Object-oriented design.
Explanation:
Object-oriented design defines code or software as objects. These objects represent instances of a real-life situation. For example, an animal class consist of a dog, cat, lion. A dog therefore is n instance of the animal class.
Objects are described as having properties and behaviours. Properties are variables, arrays, sets, maps etc and behaviours are the functions and methods that manipulate these data.
Object-oriented programming is done based on this design.
Answer:
1
11
111
1111
11111
Explanation:
Given
The above QBasic code
Required
The output
The iteration on the third line is repeated 5 times; i.e. for values of j from 1 to 5.
In each iteration, the value of N is printed and the next value is calculated.
Initially, the value of N is 1 ---- on line 2
So, 1 is printed first. The next value of N is as follows:
--- we keep replacing N (on the right-hand side) with current N value.
So, we have:
Answer:
Is there any options here
Answer:
The switch sends broadcast traffic to all ports like a hub to get the number of ports used and build its MAC address table.
Explanation:
A network switch is a device used in a LAN to connect all available workstations. Unlike a network hub, it is able to send frames from a host or workstation to another using its MAC address table.
An example of a switch is the Cisco 2950 switch. When it is first turned on, it acts as a hub, broadcasting traffic to all its ports. This process is used to create a MAC address table to get the IP address of workstations and the ports they relate to, enabling it to send unicast traffic to a specific port.