Sponsored Links


Results 1 to 1 of 1

Thread: CS201 - Introduction to Programming important blanks for paper 2011

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    29 CS201 - Introduction to Programming important blanks for paper 2011

    Sponsored Links1


    Exercise No. 3.01

    Answer each of the following:
    Program components in C++ are called _______ and _______ .
    A function is invoked with a _________ .
    A variable that is known only within a function in which it is defined is called a ___________ .
    The ________ statement is in a called function is used to pass the value of an expression back to calling function.
    The keyword ________ is used in a function header to indicate that a function does not return a value or to indicate that a function contains no parameters.
    The three ways to return control from a called function to a caller are ______ , _____ and _____ .
    A ________ allows the compiler to check the number, types and order of the arguments passed to a function.
    Function ________ is used to produce random numbers.
    Function ________ is used to set the random number seed to randomize a program.
    Function ________ is used to set the random number seed to randomize a program.


    Solution

    Sponsored Links


    Program components in C++ are called functions and classes .
    A function is invoked with a function call.
    A variable that is known only within a function in which it is defined is called a local variable.
    The return statement is in a called function is used to pass the value of an expression back to calling function.
    The keyword void is used in a function header to indicate that a function does not return a value or to indicate that a function contains no parameters.
    The three ways to return control from a called function to a caller are ______ , _____ and _____ .
    A ________ allows the compiler to check the number, types and order of the arguments passed to a function.
    Function ________ is used to produce random numbers.
    Function ________ is used to set the random number seed to randomize a program.
    Function srand() is used to set the random number seed to randomize a program.
    Last edited by Vuhelper; 05-11-2011 at 10:51 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 07-09-2011, 09:46 PM
  2. Replies: 0
    Last Post: 07-09-2011, 09:40 PM
  3. Replies: 0
    Last Post: 05-18-2011, 06:35 PM
  4. Replies: 0
    Last Post: 05-12-2011, 08:54 PM
  5. Replies: 0
    Last Post: 08-07-2010, 10:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft