Thread: Questins

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Questins

    1)What are these?(I prefer definition please)
    a) Compiler
    b) True ( in the C++ language)
    c) Linker
    d) False ( in the C++ language )
    e) Reserved word
    f) Expression
    g) Interpreter
    h) Syntax
    i) Editor
    j) Variable
    2) What distinguishes a conditional expression from an arithmetic expression?
    3)what are he effect of the operators:
    >
    !=
    &&
    !
    4)What two ways can a comment be entered?
    5)what are he difference between:
    a) = and ==
    b) if ... else and ? :
    c) float and double
    d) char and int
    e) / and %
    6)What things should be known about any variable?
    7)How can multiple statements be used where only one is allowed by syntax?
    8)What is the switch statement?
    When can it be used instead of if ... else ?
    9)What is a function?
    10)How is the matching of parameters between the function call and the definition determined?
    11)what are two advantages of using functions?
    12)what is an array name without the subscript operators?



    thanks in advance for your help

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    So what answers have you given? We don't do homework here, and I'm sure this isn't an attempt to "quiz" us - most of the regulars here WOULD know the answers.

    We're happy to DISCUSS any thoughts you have any the answers. But we're not going to just post the answers.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    the thing is I need help because I can not find in my manual all of this or it does not make since to me I am sorry if it sounds like I am quizzing ya'll it is not my intention

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    So, what are your answers to the questions you know the answer to, and what do you THINK is the answer where you don't know - posting 25-30 questions which you don't know ANY answer to indicates that you haven't tried very hard (skipped class, perhaps?).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    I do not have any classes that is helping me I am trying to learn on my on and right now I am at a friends house and don't have any thing with me I did not realize I would have some one reply so fast.

  6. #6
    The larch
    Join Date
    May 2006
    Posts
    3,573
    If you are learning on your own, I'd stop worrying about these questions and start learning by doing. Being able to give definition of syntax, for example, is not that practical knowledge anyway.

    And I guess any tutorial would tell you what is the difference between = and == or / and %. One cannot be that helpless if one wants to learn anything...
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  7. #7
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    If your book doesn't explain these, you should get a better book.

    Even a simple google search would give you these answers as the very first result:

    Compiler - Wikipedia, the free encyclopedia
    Linker - Wikipedia, the free encyclopedia
    Reserved word - Wikipedia, the free encyclopedia
    ...
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

Popular pages Recent additions subscribe to a feed