A aviation & planes forum. AviationBanter

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.

Go Back   Home » AviationBanter forum » rec.aviation newsgroups » Piloting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

What's the answer



 
 
Thread Tools Display Modes
  #1  
Old July 23rd 08, 09:18 PM posted to rec.aviation.piloting
Rod
external usenet poster
 
Posts: 9
Default What's the answer

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  
Old July 23rd 08, 10:50 PM posted to rec.aviation.piloting
Jim Logajan
external usenet poster
 
Posts: 1,958
Default What's the answer

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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 09: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 06:58 PM


All times are GMT +1. The time now is 11:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 AviationBanter.
The comments are property of their posters.