Keyboard-Input
Mouse-Input
<u></u>Monitor-Output
Speakers-Output
Printer-Output
Hard Drive<span>-Output</span>
Answer:
The work with city government is better than outside city government due to the reasons given below.
Explanation:
There are many differences while working in city government or outside city government. I choose city government job in data and digital service due to the following reasons.
- City government provides all types of facilities that are required in data management and digital services.
- Provision of more benefits along with salary from city government.
- City government arrange different training and development sessions for their employ.
- There are many learning and development opportunities, because they provide opportunity to work in different departments.
- City Government have better HR policies as compared to outside government.
Answer:
Iteration
Explanation:
The insertion sort is based on repetition of comparing one data array (or element in a list) with the others at its left to reorganize it, normally following a size criteria (from small to big or the other way around).
At each iteration, the algorithm takes one element and compares it one by one to the others until it fit the specified criteria. Later on, it creates a space, moving the other elements, to insert it. Later, it goes to the next element and the iteration repeats all the way through. It has some advantages over other sorting algorithms because it is easy to deploy and program it in many different languages, but at the same time it can be terribly slow when sorting large amount of data.
Answer:
While symmetric encryption uses a single shared key to encrypt and decrypt data, asymmetric uses two separate keys
Answer:
Explanation:
public class Main
{
private static String val; //current val
public static class TextInput
{
public TextInput()
{
val= new String();
}
public void add(char c)
{
if(val.length()==0)
{
val=Character.toString(c);
}
else
{
val=val+c;
}
}
public String getvalue()
{
return val;
}
}
public static class NumericInput extends TextInput
{
Override
public void add(char c)
{
if(Character.isDigit(c))
{
//if character is numeric
if(val.length()==0)
{
val=Character.toString(c);
}
else
{
val=val+c;
}
}
}
}
public static void main(String[] args)
{
TextInput input = new NumericInput();
input.add('1');
input.add('a');
input.add('0');
System.out.println(input.getvalue());
}
}