Insert a new term in the TERM table.
Write queries/statements for the following. (Use tables created in Chapter 4 Lab Activity.)
```
SQL> INSERT INTO term VALUES
2 ('WN04', 'Winter 2004', '05-JAN-04', '16-APR-04');
1 row created.
```
You might also like to view...
When would you use spot color? When would you use process color? When might you use both?
What will be an ideal response?
Find the error in each of the following:
a) Assume that struct Card has been defined as containing two pointers to type char—namely, face and suit. Also, the variable c has been declared to be of type Card, and the variable cPtr has been declared to be of type pointer to Card. Variable cPtr has been assigned the address of c. ``` cout << *cPtr.face << endl; ``` b) Assume that struct Card has been defined as containing two pointers to type char—namely, face and suit. Also, the array hearts[ 13 ] has been declared to be of typeCard. The following statement should print the member face of element 10 of the array. ``` cout << hearts.face << endl; ``` c) ``` struct Person { char lastName[ 15 ]; char firstName[ 15 ]; int age; } // end struct Person ``` d) Assume that variable p has been declared as type Person and that variable c has been declared as type Card. ``` p = c; ```
Which of the following statements about counter-controlled loops is true?
A. They can be used only when the number of times the loop is to be repeated is known before the loop starts. B. The number of times the loop is to be executed must be a constant. C. The update in a counter-controlled loop is an increment. D. They cannot be used when the limit is a calculated value. E. The counter must be initialized as the first statement in the loop body.
Which of the following is a type of e-commerce?
A) Auctions B) E-tailing C) Online finance D) Online job-hunting E) All of the above