Answer:
The C language code is a class called Test that accepts an array, duplicates it, reinitializes the first array to the first two items of the previous array, and loops through the array to print both items.
Explanation:
public class Test{
public static void main(String args[]){
int[] x={1,2,3,4}; //here declare array x with 1 2 3 4
int[] y=x; //here copy the x array into y array
x=new int[2]; //here reintilized the array size which is 2
for(int i=0;i<.length;i++){ //here now array length is 2 it iterates 2 times
System.out.print(x[i]+" ");
}
}
Answer: Thumbnail
Explanation:
Thumbnail is a representation of something by using a description, summary or image.
Thumbnails are simply the versions of either pictures or videos that have been reduced and can be used as placeholder for a multimedia content. A thumbnail that is used by a company on the internet gives the first impression of the product of the company to the prospective customers.
Answer:
x = int(input ("enter first number: "))
y = int(input ("enter second number: "))
z = int(input ("enter third number: "))
print('%6d %6d %6d' %(x,y,z))
Explanation:
Using python programming language we receive three integers variables (x,y,z) then using string formatting (%6) which specifies that the output should be right justified with a width of 6, the values are printed out.
Answer:
The code to this question can be given as:
Code:
public interface Test //define interface
{
public abstract Duration getDuration(); //define method
getDuration.
public abstract Result check(int a);
//define method
check .
public abstract double getScore();
//define method getScore.
}
Explanation:
In the above code, we define an interface that is "Test" inside an interface, we define three methods that can be defined as:
- First, we define a method that is "getDuration" that method returns Duration as an object.
- Second, we define a method that is "check" this method accepts an integer parameter that is a and return Result.
- The third method is "getScore" this method will return a double value.
Answer:
Explanation:
Las computadoras que existian en el inicio de la informatica y las que existen ahora tenian los mismos componentes. Estos eran CPU, Placa Madre, RAM, HDD, y tarjeta grafica. Lo que si cambio fueron el velocidad y capacidad. Por ejemplo, en el inicio las Tarjetas de RAM venian como DDR a una velocidad maxima de 133 Mhz con una capacidad de entre 4mb y 8mb. Hoy en dia tenes RAM de DDR5 con una velocidad de 4400 Mhz y de 8gb. Mientras que avanzaba el tiempo los componentes de las computadoras aumentaban en velocidad y capacidad aunque el tamaño bajaba o aumentaba dependiendo del gusto del usario.