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).
Answer:
It's not good in reality to touch the Chromebook's screen with your finger, a pencil, a pen or anything like your thumb. They might start looking blurred or if you touch them very hard then they might crack as well. If this happens, report to the authorized store immediately, and if warranty prevails you will get it repaired at no extra cost. However, take this as a warning, and keep in mind the precautions mentioned in the explanation.
Explanation:
Never put extra pressure on the Chromebook screen, and even when it is not open.
Always store it in a closed position.
Always keep the things that can put pressure away from your Chromebook.
Never poke your screen with something that put a mark or a kind of scratch on the surface of the screen.
Never ever, place something on the keyboard like pens, disks or pencils prior to shutting the lid.
Answer:
Follows are the relation between training and occupation:
Explanation:
Training:
This method includes several steps that are systematically practiced to have an efficient training course. It is a structured activity carried out to improve an employee's skills, attitudes, and behavior.
Occupation :
Profession, industry, occupation, corporation, trade, and business are also the things you actively participate in, especially your daily work or lifestyle. Its general word occupational is now a fun or cozy job.
Relation:
Training allows a person to acquire new knowledge and abilities but also build their professions by becoming independent. It enables competence to improve. All employees are highly inspired by training.
Answer:
gpresult
Explanation:
Group Policy provides the system administrator with settings that would be necessary to manage the different user accounts available in an organization. It also controls their work environment centrally by configuring the user Operating System (OS), applications and user accounts.
Group policy settings or configurations are referred to as Group Policy Objects (GPOs). These objects can be linked to organizational units (OUs), domains or sites.
There are various group policy commands such as;
- rstrui (System Restore tool will run),
- runas (using different permission to run a tool or program),
- tasklist (currently running programs are shown
- gpupdate (Group policies are refreshed)
- gpresult (group policy configurations are displayed for verification)
gpresult command can be used to verify the group policy configurations for adjustment or optimization. The technician can start troubleshooting from viewing the active settings, then running the rstrui to start the System Restore utility to restore the computer to an earlier date