![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Matt,
I guess I'm not a natural computer scientist, because I don't know the answer. What is it? Note that some people do well in computer science because they are very good in general quantitative skills, not CS-specific skills. That might be lots of us. Dad 23. If b is a Boolean variable, then the statement b := (b = false) has what effect? (A) It causes a compile-time error message. (B) It causes a run-time error message. (C) It causes b to have value false regardless of its value just before the statement was executed. (D) It always changes the value of b. (E) It changes the value of b if and only if b had value true just before the statement was executed. Only 5.4% of the students skipped the question. Of those who answered, 60% got it right. And getting this question right turned out to be a predictor of success on most of the rest of the exam, including solving complex problems like reversing |
#2
|
|||
|
|||
![]()
Rod wrote:
Matt, I guess I'm not a natural computer scientist, because I don't know the answer. What is it? Note that some people do well in computer science because they are very good in general quantitative skills, not CS-specific skills. That might be lots of us. Dad 23. If b is a Boolean variable, then the statement b := (b = false) has what effect? Looks like Modula/Pascal family of notation. I suspect it would have the effect of confusing anyone not familiar with that language notation. ;-) Other languages would use this notation: b = (b == false) Or in Python: b = not b that is the question.... (A) It causes a compile-time error message. (B) It causes a run-time error message. (C) It causes b to have value false regardless of its value just before the statement was executed. (D) It always changes the value of b. (E) It changes the value of b if and only if b had value true just before the statement was executed. Only 5.4% of the students skipped the question. Of those who answered, 60% got it right. And getting this question right turned out to be a predictor of success on most of the rest of the exam, including solving complex problems like reversing The suspense is killing me - reversing what, I wonder? Their flight path? |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No answer at Oakland FSS? | Christopher Brian Colohan | Piloting | 4 | August 1st 07 03:55 PM |
I really should know the answer - Even or Odd altitude ? | Roy N5804F | Instrument Flight Rules | 16 | March 22nd 07 08:41 PM |
Do not answer Mxsmanic | Greg Farris | Piloting | 45 | October 13th 06 07:54 PM |
Can someone answer me a ? | Sticky_314 | Simulators | 3 | August 31st 05 10:06 PM |
The answer is 447.38 hours :) | Mal | Soaring | 0 | December 13th 04 05:58 PM |