Quick Easy Question- I think...

If you have 15 expressions, concatenated by Boolean OR's, how many of the expressions must be true for the entire thing to be true? My friend and I are arguing whether the answer is...
a. at least 1
b. all of them
c. cannot be determined
Thank you so much for your input. We are studying for an exam, trying to finish the practice questions. I appreciate any input and your time!! :-)

Hi,
Programming languages are created by humans, and therefore it is usually pretty easy to answer such questions. Think about the human language..
Do you have a car or a house or a space ship?
Any one who owns a car or a house would answer yes, even if they didn't own a space ship. That is, the whole expression evaluates to true if one of the statements is true.
/Kaj

Similar Messages

  • Quick Easy Question About N580GTX-M2D15D5 Bios

    Hey guys!!
    I just have a real quick and easy (i suppose) question!
    I had bios version KH0, and MSI live update found KH1, i downloaded and flashed successfully (DOS window said please restart and press any key to exit) so i did, restarted my computer, and MSI live update utlity and gpu-z and MSI afterburner are all reporting the same bios version i had with the KH0, version 70.10.17.00.01 & date November 09, 2010
    MSI live update is not picking up the update again, so my question is, how do i know if it flashed correctly since the bios date and version remained the same?
    Thanks !

    Quote
    I had bios version KH0, and MSI live update found KH1, i downloaded and flashed successfully (DOS window said please restart and press any key to exit) so i did, restarted my computer, and MSI live update utlity and gpu-z and MSI afterburner are all reporting the same bios version i had with the KH0, version 70.10.17.00.01 & date November 09, 2010
    Quote
    version 70.10.17.00.01
    that's suppose to be, this is the version of the both bioses
    Quote
    & date November 09, 2010
    this is GPU release date, not BIOS date
    Quote
    MSI live update is not picking up the update again, so my question is, how do i know if it flashed correctly
    Get this: https://forum-en.msi.com/index.php?action=dlattach;topic=147603.0;attach=7931
    extract it somewhere, then run info1 , and look for the last line
    Quote
    since the bios date and version remained the same?
    they are not the same, your looking the wrong stuffs

  • Okay quick easy question for all who have successfully uploaded videos

    hi, this is my first post in the Apple forums!
    my quick question:
    I have Quicktime Pro, and am currently exporting a video to the iPod
    but it is taking an unusually long time...
    is this normal (and by long I mean I'm @ 16% and it has been 5 minutes)
    do I just need to be more patient?
    thanks
    ^_^

    don't say that...
    I successfully uploaded videos to my iPod I just was not doing it right
    my question has been answered already so STOP BRINGING IT UP AGAIN
    also, look... many people just got their iPods today and are kinda anxious to see the video capibilities work on them, so If you do not have anything constructive to say (by calling us n00bs), then I suggest you don't say anything at all
    iPod video, Dell modded Windows XP Windows XP > your macs

  • Very easy question, i think

    What's the best way to know if a certain row exist in a table given the primary key?
    The first i can think of it is as follow:
    ResultSet rs=statement.executeQuery("SELECT primary_key FROM tableX
    where primary_key=The_primary_key_i_look_for")
    boolean found=false;
    while (rs.next()) found=true
    return found
    Is there any other (efficient) way to do it?
    I use MS SQL Server 2000.
    Thanks

    Not much more efficent
    ResultSet rs=statement.executeQuery("SELECT primary_key FROM tableX
    where primary_key=The_primary_key_i_look_for")
    return rs.next();

  • Quick easy question, upgrading UCCX 7.1SR5 to 8.0.2

    I ordered CCX-UPG-P-70-80= (CCX PRE 7.0 to 8.0 PRE UCSS Major Upgrade) to upgrade our servers, however, we have 2 servers in a high availability enviroment. I am thinking i should have ordered CCX-UPG-PHA-70-80= (CCX PRE HA 7.0 HA to 8.0 HA PRE UCSS Major Upgrade). Looks like i made a mistake???
    Also, do i put 2 in the number to order?

    Correct, you need the PHA one, and you only need one.  Unless you want the second set of media for convenience.

  • Easy Questions, will think of others later

    Some deciding factors for me getting a nano:
    1. Will the camera connector work with the nano?
    2. Are there any speakers coming out soon that will play the ipod and charge it at the same time?
    3. Can the nano connect to the computer over USB 1.1?
    4. Can I charge nano over a firewire wall outlet adapter (I realize Apple says everything abot USB 2.0, but still wondering)?
    5. Come back, I'm gonna think of more quwations orobably tomorrow

    1. Will the camera connector work with the nano?
    No.
    3. Can the nano connect to the computer over USB 1.1?
    As long as it is a high-powered port.
    4. Can I charge nano over a firewire wall outlet adapter (I realize Apple says everything abot USB 2.0, but still wondering)?
    Yes. you can charge your nano if you have a firewire dock cable, but you cannot use it to communicate between the computer and iPod Nano.

  • A quick button question (I think)

    Hi all, I have been asked by a client to create some online ads, and then send them off to the website who will be displaying them. My problem is that they have asked that I do the following...
    I should use the 'clickTAG' code below to trigger link:
    on (release) {
    if (clickTAG.substr(0,5) == "http:") {
    getURL(clickTAG, "_blank");
    Is this a simple case of creating an invisible button the same size as the advert and adding an action to it? Is that all they mean?
    Thanks.
    Mat

    Yes, that's pretty much it.  The actual clickTag value is speciied in the html embedding code (I believe)., which the person who's planting the ad will manage.

  • JButton easy question (i think)

    in swing what is the name of a button that can also be a list. It is usually used in toolbar, such as the one in internet exlporer. You can chosse between a click on the button or a click on a little arrow that makes a menu appear.
    (example : the "back" button of I.E.)
    do you see what i mean ?
    how to do one like that, in swing ?
    thank you.
    Sylvain.

    ...and if you click on the JComboBox, from the link I gave you above you will be taken to the Swing tutorial on "How to Use ComboBoxes", including ideas on how to customize the JComboBox. Maybe it will do what you want, maybe it won't, but since you replied to my first message only 5 minutes after I posted it, you obviously didn't take the time to read the tutorial to see what it could do for you.
    The Swing tutorial is a great place to find information, use it.

  • Quick, Easy question(s)

    I'm working mainly in GarageBand and then opening my project in Logic Express 8 to do some tweaking and then trying to export it to Pro Tools.
    When I try to Export as an OMF File I get that I don't have any audio regions in the project or no audio driver active.
    I don't know my way around Logic Express yet, obviously.

    From your profile link >  https://discussions.apple.com/people/homunculus
    Or, click Bookmark This right side of this window.
    You can see your Bookmarks by clicking Your Stuff / Bookmarks.

  • Music synced to my phone (Quick Easy Question)?

    When I sync my iphone to my music. Does it pull from my Library or playlist. I don't want every song I have or it will surpass my memory. Or do I have to use the manually manage music/video check? I went through every song checking the little check mark to keep it from syncing to my phone (I did it in my playlist. Someone please explain.
    Thanks for your help ahead of time!
    Kenny
    Talladega, AL.

    When you go to your music tab in iTunes for the iPhone, you select the option to sync playlists, then you click the box next to the playlists you want to sync. In your music library, you have to create playlists and add songs to them.
    glor

  • Very quick easy question

    does this board K8N Neo ME- 7030 mobo support dual channel memory?
    thanks

    Memory support depends on the CPU (because the A64 has an integrated memory controller) - nothing to do with the board.
    If that's a socket 754 board then the answer is no. If it's socket 939 then the answer is yes.
    [edit] I got confused by "K8N Neo ME" but now I realise you meant K8N Neo and MS-7030, which is the socket 754 series, so single channel support only.

  • Real quick, easy question

    How do u read in a character?
    This is what I have, obviously not right...
    studentType = Char.valueOf(sTokenizer.nextToken());
    can anyone tell me?

    But I'm reading in from a text file, here's an example of the first line (out of 30 lines):
    G 14568 Tim Cimino 45 72 100
    so the 'G' is the character that I want to read in, but I'm not saving that to an array, I'm not allowed to for this project.
    Any other suggestions?

  • Another quick easy question not related to video or troubleshooting

    when I'm playing music, I put the iPod on hold and just listened to my stuff...
    now I know that pervious iPods would turn off the screen after a while to preserve the battery. But the screen has not turned off for me...
    Does the Video iPod turn off its screen during playback?
    just wanted to know ^_^

    no, not the backlight, I know that already ^_^
    it is the screen... can the screen turn off completely during playback?
    edit: ahh, people have been looking at this topic, but none reply
    come on, a little feedback?

  • Quick easy question (K9A2 Platinum)

     Is it compatible with a gtx 285 or will i have to drop down to a 280 or buy a better mainboard?

     Yup, I ran across a post yesterday where the fellow has a 630W PSU +12V~26A. That 26A is extremely poor for a 630W PSU considering a Corsair CX400W has +12V~30A. 230W higher and 4A less  than my example. That is plain to see that watt rating doesn't mean much without also showing the amps for at least the +12V rail(s).
     For the 285 your PSU should be minimum +12V~46A, that would be something like a PC P & C Silencer 610W +12V~49A or Corsair TX650W +12V~52A. Those 2 are the best in that power range.
     The 280 is only a few amps less so PSU would really be the same requirement as the 285.

  • Quick easy question on network programming

    I'm just starting java programming having done quite a bit of C++ but im struggling to get anywhere. Im trying to get 2 computers on my network to communicate and compiling my program is fine, but when i execute it i get a bunch of errors that i dont understand.
    My code for the sender is below can anyone spot any obvious mistakes?
    The errors i get are:
    java.lang.NoClassDefFoundError: pkg/ex10sender (wrong name: ex10sender)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Exception in thread "main"
    import java.net.*;     // for network
    import java.util.*;     // for utilities
    import java.io.*;     // for streams
    public class ex10sender
         public static void main(String[] argv)
              try
                   InetAddress addr      = InetAddress.getLocalHost();
                   int sendPortNumber      = 4000;
                   int portNumber          = 3000;
                   String bob = "hello";
                            byte[] buffer = bob.getBytes();
                   // assume that machine and port to send to are in arg vector
                   if (argv.length == 3)
                        try
                             addr = InetAddress.getByName(argv[0]);//comp name
                             portNumber = Integer.parseInt(argv[1]);//portNum
                                            bob = argv[2];                  //string to send
                                            buffer = bob.getBytes();
                        catch (UnknownHostException uh)
                             addr = InetAddress.getLocalHost();
                            int size = 0;
                   // now create and send packet
                   DatagramPacket packet =
                                        new DatagramPacket(buffer,buffer.length,addr,portNumber);     
                   DatagramSocket socket = new DatagramSocket(sendPortNumber);
                   System.out.println("ready to send on " + portNumber+
                                            " port: " + socket.getLocalPort());
                   socket.send(packet);
                   System.out.println("Packet data sent");
              catch (UnknownHostException uh)
                   System.out.println("ERROR: " + uh);
                   System.exit(0);
              catch (IOException ioe)
                   System.out.println("ERROR: " + ioe);
    }

    Impressive! 3 replies in about 30 seconds!
    Thanks for all your help, yes the problem was that i was running the program inside a package. Stuck "package pkg" at the top and all is well.
    Thanks so much, now at least i can begin testing my code to see if it works :)
    Lewis

Maybe you are looking for

  • Blue Screen of Death when loading games.

    Hi, I have a Toshiba Satellite P775-S1760 CPU-Intel(R) Core(TM) i7-2670QM @2.20GHz 8GB Ram Video Card- Intel(R) HD Graphics Family-Nividia GeForce 540M with 1GB Ram  The problem I am having is when I try to load video games such as Warframe, Wow, Rif

  • Can iTunes be backed up on an external hard drive?

    I got a new 5th Generation iPod. I have to upgrade my iTunes version 6.0.1.3 to versi. I have read on these forums how some have lost their music in iTunes after upgrading to version 7. I was wondering if I can save a copy of my iTunes onto an extern

  • Any applications that can make a Pages document open in MS Office for Mac?

    I purchased MS Office for Mac and stupidly deleted Pages from my Macbook. I don't have the Mac OS installation disk, and was wondering if there is a utility to open a Pages document? Thanks for any help.

  • Newbie question about switch statement

    Lets say you have a loop and inside the loop you have a switch statement, how do you BREAK out of the outer loop? for (i=0....) { switch { case 11: .... some stuff break; <==== HOW DO I BREAK OUT OF THE for loop here?

  • How can I know what version of my Crystal Reports XI (Release 1 or 2)?

    I find the product version no. in the HELP-> About Crystal Reports is 11.0.0.2495. I don't know it is release 1 or release 2, I want to download the service patch, which version of service patch should I need to download ? Derek Yim