Answer: (A) Puts("hi");
Explanation:
Puts() is the type function that uses the file handling in the programming language. It basically use to compose or write the function or line that displaying the output screen of the computer system.
The puts() function is the type of function which basically allow the user to read the characters or line include all the space until entering into the new character or line.
The declaration of the puts(0 function is as follows:
int puts (char *STRING);
Answer:
a
Explanation:
Answer:
The screen protector may be interfering with the touch response
Explanation:
Screen protectors or commonly called screen guards are used to protect phone screens. In case they fall to the ground, these protectors act as shields to keep the phone screen from getting damaged. However screen protectors if not positioned or fixed properly may also cause hindrance to effective touch response as they become barriers to the touch screen.
Answer:
int main()
{
int A1= {5,3,4,8,9,0,7};
int SArri1 = sizeof(A1);
printf("Original array: ");
for (int i=0; i < SArri1;i++)
printf("", A1[i] );
int i, sum = 20, n= 0;
printf("\nArray pairs whose sum equal to 20: ");
for (int i=0; i<SArri1; i++)
for (int j=i+1; j<SArri1; j++)
if (A1[i]+A1[j] == sum)
{
Printf(“\n”, array1[i])
Printf(“,”,array1[j]);
n++;
}
printf("\nNumber of pairs whose sum equal to 20: ",n)
return 0;
}
Explanation:
First of all, you should create the array of integers, and put random numbers. Then you have to save in a constant the size of the array (in this code is called SArr1) With a for you can print all the numbers that are on the array because then you will print all array pairs whose sum is equal to a specified numer. in this code we are going to use 20.
then with a condition (if) you are going to compare one of number of the array with all the others and check if its equal to 20. If yes, it going to print the numbers that answer to that condition and it's going to add +1 to the variable n (for this you will need to use two bucles for)
Then you can print the number of pairs whose sum is equal to 20 by printing n
{
privtae int num1;
private int num2;
/missing constructor /
}
The following statement appears in a method in a class other than Tester. It is intended t o create a new Tester object t with its attributes set to 10 and 20.
Tester t = new Tester(10,20);
Which can be used to replace / missing constructor / so that the object t is correctly created?
Answer:
Explanation:
The following constructor needs to be added to the code so that the object called t can be created correctly...
public Tester(int arg1, int arg2) {
num1 = arg1;
num2 = arg2;
}
This basic constructor will allow the object to be created correctly and will take the two arguments passed to the object and apply them to the private int variables in the class. The question does not state what exactly the Tester constructor is supposed to accomplish so this is the basic format of what it needs to do for the object to be created correctly.
Answer: Exception
Explanation: A throw statement is a statement that whenever it gets executed ,it stops the flow of the execution immediately. The throw statement has a throw keyword for stopping of the execution which is denoted as the exception. A checked or unchecked exception can only be thrown. The compiler of a program has the function of giving warning if there are chances of exception.
As a technician, since you have been tasked with increasing the ram memory on a laptop by adding a so-dimm module to an empty memory slot. The process that seats the module in the slot is option D:
The processor, RAM, and computer memory all have an impact on how quickly your laptop operates. The pace increases as each number increases. For example, 4GB of RAM operates more quickly than 2GB. A 2 GHz machine will operate more quickly than a 1 GHz one since processor speed is measured in gigahertz.
Therefore, One application may run on this much memory. If your computer only has 4 GB of RAM, upgrading it would significantly enhance performance. 4-6 GB: The typical user's chores, including as web browsing, working with Word documents, and emailing, will be easily handled by this normal RAM amount.
Learn more about ram memory from
#SPJ1
See options below
Which of the following processes will seat the module in the slot?
Slide the memory into the external Expresscard slot horizontally until the card is even with the laptop case and you hear a click.
Add the mounting pegs to the side of the memory module. Attach the ribbon cable and press into place until the mounting clips catch the mounting pegs.
Align the notch on the long side of the memory module with the rise in the memory slot. Insert the module pins into the slot at a 90-degree angle to the motherboard and press down until the side hold-down clips snap into place.
Align the notch on the long side of the memory module with the rise in the memory slot. Insert the module pins into the slot at a 45-degree angle. Rotate the module by pressing down until the side hold-down clips snap into place.
Answer:
The answer is True