B, N - 85
C, M J. - 83
C, A - 82
C, J - 78
I, E O. - 94
L, E F. - 78
L, M V - 89
M, R - 90
O, E B. - 86
P, L - 84
P, A B - 83
P, J - 80
T, J - 87
Info Tech
Information Technology
August 5, 2009
June 22, 2009
Assignment #1 (SAD)
Deadline of the assignment will be on monday june 29, 2009.
email me the answer: my email is mary.ann.faustino@gmail.com
the subject should be: assign#1_SAD_STI(family name)
1. Describe the potential links between transaction processing and management information systems. For example, consider an order processing system and a sales analysis system. How would these two systems be related to each other? List the pieces of data in this order processing system that might be used in the sales analysis system. Describe how these pieces of data would be used in the sales analysis system. Would these pieces of data take on new form in the sales analysis system or would they remain the same? Why or why not? What would happen if these two systems were designed independently of each other?
2. Visit an office in your university or in another organization that uses an office automation system. What information processing functions does this system possess? Which ones do people use regularly? Which functions do you believe are under-utilized and why?
email me the answer: my email is mary.ann.faustino@gmail.com
the subject should be: assign#1_SAD_STI(family name)
1. Describe the potential links between transaction processing and management information systems. For example, consider an order processing system and a sales analysis system. How would these two systems be related to each other? List the pieces of data in this order processing system that might be used in the sales analysis system. Describe how these pieces of data would be used in the sales analysis system. Would these pieces of data take on new form in the sales analysis system or would they remain the same? Why or why not? What would happen if these two systems were designed independently of each other?
2. Visit an office in your university or in another organization that uses an office automation system. What information processing functions does this system possess? Which ones do people use regularly? Which functions do you believe are under-utilized and why?
June 1, 2009
IT211 Grade Programming 1(SUMMER)
Name of Student:
A, R L. 78
A, H F D. 87
B, J R. 87
B, J 83
B, N M L. 78
C, J L 81
D, L O. 86
E, M P. 83
E, J R 80
G, L R. 91
G, M J E. 75
G, D I. 76
H, N 79
H, R M 58
L, C M 89
M, A C 89
M, J 77
Mo, J 81
P, S L. 79
P, G 77
P, M 89
R, R 85
T, M G 79
V, R M 86
A, R L. 78
A, H F D. 87
B, J R. 87
B, J 83
B, N M L. 78
C, J L 81
D, L O. 86
E, M P. 83
E, J R 80
G, L R. 91
G, M J E. 75
G, D I. 76
H, N 79
H, R M 58
L, C M 89
M, A C 89
M, J 77
Mo, J 81
P, S L. 79
P, G 77
P, M 89
R, R 85
T, M G 79
V, R M 86
May 22, 2009
Assignment for FINALS
1. Which of the following statements of C++ arrays is true?
a. Array components cannot be of floating point types
b. The index type of an array can be any data type.
c. An array component can be treated the same as a simple variable of its component type.
d. a and b above
e. a, b, and c above
2. Given the declaration float alpha[75];the valid range of index values for alpha is:
a. 0 through 75
b. 0 through 74
c. 1 through 75
d. 1 through 74
e. 1 through 76
3. What is the output of the following program fragment?int gamma[3] = {5, 10, 15};int i;for (i = 0; i < 3; i++) cout < a. 5 10 15b. 5 10c. 0 1 2d. 0 1e. It cannot be answered from the information given.
4. What is the output of the following program fragment?int gamma[3] = {5, 10, 15};int i;for (i = 0; i <= 3; i++) cout < 5. Which of the following could be used to declare an array alpha and initialize its components to 10, 20, and 30?
a. int alpha[3] = {10, 20, 30};b. int alpha[] = {10, 20, 30};c. int alpha[3] = {10 20 30};d. a and b abovee. a, b, and c above
6. Given the declarations
int status[10]; int i;which of the following loops corrects zeros out the status array?
a. for (i =0; i <= 10; i++) status[i] = 0;
b. for (i =0; i <10; i++) status[i] = 0;
c. for (i =1; i <= 10; i++) status[i] = 0;
d. for (i =1; i <10; i++) status[i] = 0;
e. for (i =1; i <= 11; i++) status[i] = 0;
7. After execution of the code fragmentint arr[5];int i;for (i = 0; i <5;>=3) arr[i-1] = arr[i] + 3;}what is contained in arr[i]?
a. 2b. 3c. 7d. 8e. none of the above
8. After execution of the code fragmentint arr[5];int i;for (i = 0; i <5;>=3) arr[i-1] = arr[i] + 3;}what is contained in arr[3]?
a. 5b. 3c. 8d. 9e. none of the above
9. What is the loop invariant for the following loop?for (i = 0; i < 20; i++) cout << arr[i] << endl;
a. //Invariant (prior to test): // arr[0..19] have been printed && 0 <= i <= 19
b. //Invariant (prior to test): // arr[0..i] have been printed && 0 <= i <= 19
c. //Invariant (prior to test): // arr[0..i] have been printed && 0 <= i <= 20d. //Invariant (prior to test): // arr[0..i - 1] have been printed && 0 <= i <= 19e. //Invariant (prior to test): // arr[0..i - 1] have been printed && 0 <= i <= 20
10. Given a 5000-element array beta, which of the code fragments below could be used to print out the values of beta [0], beta [2], beta [4], and so forth? (All variables are of type int.)
a. for (i = 0; i <5000; i = i + 2) cout < b. for (i = 0; i <2500; i++) cout < c. for (i = 0; i <2500; i = i++) cout <
11. What is the output of the following program fragment?int alpha[5] = {100, 200, 300, 400, 500};int i;for (i = 4; i > 0; i--)
cout<
a. 400 300 200 100
b. 500 400 300 200 100
c. 500 400 300 200d. 4 3 2 1e. It cannot be answered from the information given.
12. What is the output of the following program fragment?int alpha[5] = {100, 200, 300, 400, 500};int i;for (i = 4; i >= 0; i--)
cout<
a. 400 300 200 100 0
b. 500 400 300 200 100
c. 500 400 300 200d. 4 3 2 1 0e. It cannot be answered from the information given.
13. Which of the following cannot be used to input values into a 3-element int array named alpha?
a. cin>>alpha[0]>>alpha[1]>>alpha[2];
b. cin >> alpha;
c. for (i =0; i <>> alpha[i];
d. cin >> alpha[0]; cin >> alpha[1]; cin >> alpha[2];
14. You are writing a program to count the frequencies of characters that are read from a data file. (The computer uses the ASCII character set, which defines 128 different characters.) Which of the following array declarations is appropriate, given that input characters will be used to index into the freqCount array?
a. int freqCount[128];
b. int freqCount[char];
c. char freqCount[128];
d. char freqCount[int];
e. none of the above
15. Given the declarationconst int NUM_STUDENTS = 300;enum Colors {RED, BLACK, BROWN, BLOND, GRAY};which set of declarations below creates two parallel arrays, one that holds integer ID numbers and one that holds student hair colors?
a. int studentID[NUM_STUDENTS]; int hairColor[Colors];b. int studentID[NUM_STUDENTS]; int hairColor[NUM_STUDENTS];c. int studentID[NUM_STUDENTS]; Colors hairColor[NUM_STUDENTS];d. int studentID[Colors]; int hairColor[Colors];
a. Array components cannot be of floating point types
b. The index type of an array can be any data type.
c. An array component can be treated the same as a simple variable of its component type.
d. a and b above
e. a, b, and c above
2. Given the declaration float alpha[75];the valid range of index values for alpha is:
a. 0 through 75
b. 0 through 74
c. 1 through 75
d. 1 through 74
e. 1 through 76
3. What is the output of the following program fragment?int gamma[3] = {5, 10, 15};int i;for (i = 0; i < 3; i++) cout <
4. What is the output of the following program fragment?int gamma[3] = {5, 10, 15};int i;for (i = 0; i <= 3; i++) cout <
a. int alpha[3] = {10, 20, 30};b. int alpha[] = {10, 20, 30};c. int alpha[3] = {10 20 30};d. a and b abovee. a, b, and c above
6. Given the declarations
int status[10]; int i;which of the following loops corrects zeros out the status array?
a. for (i =0; i <= 10; i++) status[i] = 0;
b. for (i =0; i <10; i++) status[i] = 0;
c. for (i =1; i <= 10; i++) status[i] = 0;
d. for (i =1; i <10; i++) status[i] = 0;
e. for (i =1; i <= 11; i++) status[i] = 0;
7. After execution of the code fragmentint arr[5];int i;for (i = 0; i <5;>=3) arr[i-1] = arr[i] + 3;}what is contained in arr[i]?
a. 2b. 3c. 7d. 8e. none of the above
8. After execution of the code fragmentint arr[5];int i;for (i = 0; i <5;>=3) arr[i-1] = arr[i] + 3;}what is contained in arr[3]?
a. 5b. 3c. 8d. 9e. none of the above
9. What is the loop invariant for the following loop?for (i = 0; i < 20; i++) cout << arr[i] << endl;
a. //Invariant (prior to test): // arr[0..19] have been printed && 0 <= i <= 19
b. //Invariant (prior to test): // arr[0..i] have been printed && 0 <= i <= 19
c. //Invariant (prior to test): // arr[0..i] have been printed && 0 <= i <= 20d. //Invariant (prior to test): // arr[0..i - 1] have been printed && 0 <= i <= 19e. //Invariant (prior to test): // arr[0..i - 1] have been printed && 0 <= i <= 20
10. Given a 5000-element array beta, which of the code fragments below could be used to print out the values of beta [0], beta [2], beta [4], and so forth? (All variables are of type int.)
a. for (i = 0; i <5000; i = i + 2) cout <
11. What is the output of the following program fragment?int alpha[5] = {100, 200, 300, 400, 500};int i;for (i = 4; i > 0; i--)
cout<
a. 400 300 200 100
b. 500 400 300 200 100
c. 500 400 300 200d. 4 3 2 1e. It cannot be answered from the information given.
12. What is the output of the following program fragment?int alpha[5] = {100, 200, 300, 400, 500};int i;for (i = 4; i >= 0; i--)
cout<
a. 400 300 200 100 0
b. 500 400 300 200 100
c. 500 400 300 200d. 4 3 2 1 0e. It cannot be answered from the information given.
13. Which of the following cannot be used to input values into a 3-element int array named alpha?
a. cin>>alpha[0]>>alpha[1]>>alpha[2];
b. cin >> alpha;
c. for (i =0; i <>> alpha[i];
d. cin >> alpha[0]; cin >> alpha[1]; cin >> alpha[2];
14. You are writing a program to count the frequencies of characters that are read from a data file. (The computer uses the ASCII character set, which defines 128 different characters.) Which of the following array declarations is appropriate, given that input characters will be used to index into the freqCount array?
a. int freqCount[128];
b. int freqCount[char];
c. char freqCount[128];
d. char freqCount[int];
e. none of the above
15. Given the declarationconst int NUM_STUDENTS = 300;enum Colors {RED, BLACK, BROWN, BLOND, GRAY};which set of declarations below creates two parallel arrays, one that holds integer ID numbers and one that holds student hair colors?
a. int studentID[NUM_STUDENTS]; int hairColor[Colors];b. int studentID[NUM_STUDENTS]; int hairColor[NUM_STUDENTS];c. int studentID[NUM_STUDENTS]; Colors hairColor[NUM_STUDENTS];d. int studentID[Colors]; int hairColor[Colors];
May 7, 2009
The extremely tiny Lingo Wireless Mouse
There’s no question that everyone appreciates a bit of portability. It makes it so that you have far less to carry around and it’s less of a heavy load. Of course sometimes it gets to the point that it’s just a little too portable. Yes, it’s more convenient, but if it makes it more difficult to use, then it kind of defeats the purpose. This mouse is one of those items that might just be a hair too small for some people. However, if you have tiny hands, then perhaps this mouse is a dream come true.
Dareway is a Segway for kids
Kids already have the option to own little miniature cars to ride in with batteries that run for about 20 minutes before they die. They also have electronic scooters and other various items to ride on. Well now kids can own their own kid size version of a Segway, only for them it’s called a Dareway. There is a version for both boys and girls, and it will move them around just like your average Segway. Although I imagine this one is not quite as well built.
May 6, 2009
Panasonic announces LUMIX DMC-GH1 pricing
Panasonic has finally announced the pricing of its new Micro Four Thirds digital camera, the LUMIX DMC-GH1, where it will hit retail stores sometime early this June for a rather expensive $1,499.95. Well, at that price point, you not only get full High Definition video recording capability, you will also benefit from the inclusion of the LUMIX G VARIO 14-140mm/F4.0-5.8 ASPH/MEGA O.I.S. lens as part of the kit. This new lens will boast a silent motor and continuous auto focusing (AF) capability, making it fundamentally different from standard DSLRs.
Subscribe to:
Posts (Atom)