Answer:
import java.util.Scanner; public class Main { public static void main(String[] args) { int num[] = new int[51]; Scanner input = new Scanner(System.in); System.out.print("Number of input: "); int limit = input.nextInt(); for(int i=0; i < limit; i++){ System.out.print("Input a number (1-50): "); int k = input.nextInt(); num[k]++; } for(int j=1; j < 51; j++){ if(num[j] > 0){ System.out.println("Number of occurrence of " + j + ": " + num[j]); } } } }Explanation:
The solution is written in Java.
Firstly, create an integer array with size 51. The array will have 51 items with initial value 0 each (Line 5).
Create a Scanner object and get user entry the number of input (Line 6-7).
Use the input number as the limit to control the number of the for loop iteration to repeatedly get integer input from user (Line 9-13). Whenever user input an integer, use that integer, k, as the index to address the corresponding items in the array and increment it by one (LINE 11-12).
At last, create another for loop to iterate through each item in the array and check if there is any item with value above zero (this means with occurrence at least one). If so, print the item value as number of occurrence (Line 14-17).
Describe any five GSM PLMN basic services?
Answer:
Your answer can be found in the explanation below.
Explanation:
GSM is the abbreviation for Global System for Mobile communication. Its purpose is to transmit voice and data services over a range. It is a digital cellular technology.
PLMN is the abbreviation for Public Land Mobile network. It is defined as the wireless communication service or combination of services rendered by a telecommunication operator.
The plmn consists of technologies that range from Egde to 3G to 4G/LTE.
PLMN consists of different services to its mobile subscribers or users but for the purpose of this question, i will be pointing out just 5 of them alongside its definitions.
1. Emergency calls services to fire or police: Plmn provides us with the option to make emergency calls in the event of any accident or fire incident, etc.It is available on devices either when locked or unlocked.
2. Voice calls to/from other PLMN: This entails the putting of calls across to persons we cannot reach very quickly. PLMN helps to connect persons through its network of from other networks thus making communication easier.
3. Internet connectivity: PLMN provieds us with internet services through wifi or bundles that enable us have access to the internet as well as help us communicate with people and loved ones over a distance. Internet service are possble either on GPRS or 3G or 4G networks.
4. SMS service: SMS means short messaging service. This is also know as text messages. PLMN allows us to be able to send short messages to people as oppposed to mails. It is mostly instant and can be sent or recieved from the same PLMN or others.
5. MMS service: Multimedia messaging service whose short form is MMS ccan be descibed as the exchange of heavier messages such as a picture or music or document but not from an email. It is availabel for use from one PLMN to another.
Cheers.
If i wanted to change my phones simcard, does anything need transferring, or is it an easy swap?
if you want to exclude a portion of an image which option should be chosen?? A. Arrange B. Position C. Crop D. Delete