Answer:
Click on the New Slide icon. 2.
Enter the slide position desired. N/A
Click where you want to add the slide. 1.
Select New Slide from the Tools menu. 3.
Switch to the Normal or Slide Sorter view. 4.
Switch to the Notes or Outline view. 5.
Explanation:
You can never enter the slide position desired, and you need to click on the slide after which you want the new slide to be placed. Thus, enter the slide position desired is not applicable, and you need to click where you want to add the slide, and more accurately after which. Hence, this is the 1st. Now you need to click on the new slide icon. Then you need to select the new slides from the tools menu. The slide will appear in Normal view, and you can design the slide now as well as add the notes. You can then move to slide sorter view to arrange the slides, or you can arrange from the slide tab as well. Finally to check(edit) the notes and outline you can change the view to notes or Outline view. Hence, the above answer.
Keep in mind that through presenter view, you can make the slide show where you can see the slides and your notes, and the listeners can see the slides only.
Answer:
There is a table in the database named Teacher having columns Email, Expiry Month etc. this query is selecting the email address from the table Teachers on the basis of expiry month that is February.\
Explanation:
Answer:
#include <math.h>
#include <stdio.h>
#include <string.h>
#define BASE 3
#define NRQUESTIONS 15
void toABC(int n, char* buf, int base, int size) {
memset(buf, 'A', size);
buf[size] = 0;
while (n && size) {
buf[--size] = 'A' + (n % base);
n /= base;
}
}
int main()
{
char buf[16];
for (int i = 0; i < pow(BASE, NRQUESTIONS); i++) {
toABC(i, buf, BASE, NRQUESTIONS);
printf("%s\n", buf);
}
}
Explanation:
Assuming 3 is the number of possible answers to choose from for each question.
I tackled this by having an integer counter enumerate all values from 0 to 3^15, and then convert each integer to a base-3 representation, using ABC in stead of 012.
CORRECT QUESTION:
For the given program, how many print statements will execute?
public static void printShippingCharge(double weight) { if((weight > 0.0) && (weight <= 10.0)){ System.out.println(weight * 0.75); }
else if((weight > 10.0) && (weight <= 15.0)) { System.out.println(weight * 0.85); }
else if((weight > 15.0) && (weight <= 20.0)) { System.out.println(weight * 0.95); } }
public static void main(String args[]) {
printShippingCharge(18);
printShippingCharge(6);
printShippingCharge(25); }
Answer:
Two of the print statements will output values
Explanation:
These two calls to the printShippingCharge are the ones that will output values: printShippingCharge(18); and printShippingCharge(6);
The first if statement is true when the value of weight is 6 (weight > 0.0) && (weight <= 10.0)
The Third if statement is true when weight is 18 (weight > 15.0) && (weight <= 20.0)
NOTE: That I made correction to the variable weight. The question isn't consistent with the variable name. It used weight and itemWeight at different points this will lead to a compiller error