Answer:
A.)
arr[0] = 10;
arr[1] = 10;
Explanation:
Given the array:
arr = {1,2,3,4,5}
To set the first two elements of array arr to 10.
Kindly note that ; index numbering if array elements starts from 0
First element of the array has an index of 0
2nd element of the array has an index of 1 and so on.
Array elements can be called one at a time using the array name followed by the index number of the array enclosed in square brackets.
arr[0] = 10 (this assigns a value of 10 to the index value, which replace 1
arr[1] = 10 (assigns a value of 10 to the 2nd value in arr, which replaces 2
Answer:
Physical layer is the first layer of OSI model. The detail about physical layer and its parts is given below in explanation section.
Explanation:
The physical layer is the lowest and first layer of the Open Systems Interconnection Model (OSI). The physical layer is used for the transmission of data in bit forms. For transmission of data between devices, it uses the transmission medium that is either wired or wireless.
In the wired cable the component of the psychical layer include cable and connectors that are implemented for carrying data from one place to another or simply to transmit data between two connected devices. The wireless transmission medium is used to transmit data in the form of electromagnetic signals for carrying data into a stream of bits. Over past advancements in networking technologies, rapid growth has been seen in wireless data transmission and Wi-Fi and Bluetooth communication are few names of it.
Components/Parts of Psychical Layer
In the physical layer, the hardware components used it in are the network interface cards, connectors and interfaces, intermediate devices, modems, and cables to facilitate the transmission of data between devices or from source to destination.
- The network interface card (NIC)
NIC is a component installed in the computer to connect it to any available devices over the network.
- Connectors and Interfaces
Connectors and interfaces are used to connect cables that are being used for transmission of data from one source to another. The decision to choose connectors and interfaces depends on the type of cable. Typical examples are RJ-45, RJ-11, V.35, HDMI, etc.
Cables are the physical components of the physical layer that carry optic or electromagnetic signals for transmission of data from source to destination in the network.
The intermediate devices are hubs and repeaters etc. The functions of these devices are to amplify or generate the signal at the intermediate point in a network.
Answer: Option (A) is correct
Explanation:
Evil twin is known as a fraudulent point of access in a Wi-Fi which tends to appear to be honest and legitimate but is known as a set up to oversee on the wireless communications. Evil twin is referred to as the WLAN equal of a phishing scam. This kind of attack is mostly used in order to steal passwords of an unsuspecting users, that is done either by by phishing or by monitoring the connection, this mostly involves developing a fake web site and thus luring people.
Answer:
A set of instructions to meet a requirement of some kind
Explanation:
An algorithm is a set of instructions to meet a requirement of some kind, not all the algorithm are for computers, we can form an algorithm of how to make a cake.
Answer:
A form is closed
A form is resized.
A form is opened
A user presses a key
A user moves the mouse
Explanation:
There are different events in a form, and we can use them in different situations like:
- We can use On Resize to resize our form.
- If we On Load the form will be displayed.
- On Clicked, If there was a click in an object
- On Unload to close the form.
- On Mouse Enter and On Mouse Leave, in this case, the mouse enters or leaves the object.