Sponsored Links


Results 1 to 2 of 2

Thread: CS101 Introduction to Computing Assignment No. 02 Solution and Discussion Fall 2014

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

    CS101 Introduction to Computing Assignment No. 02 Solution and Discussion Fall 2014

    Sponsored Links1


    CS101 Introduction to Computing Assignment No. 02 Solution and Discussion Fall 2014 12 December is Last Date


    Question 1 Marks 10
    Suppose you are a part of a software development team and you are asked to draw a flow chart of algorithm given below.
    Algorithm’s Details:
    The given algorithm is taking a number ‘n’ as input from user and print the sum of even and odd numbers from 1 to n. The algorithm scans from n to 1(or 1 to n). It checks whether the number is even or odd. If number is even, add that number in SUM_EVEN and if it is odd, then add it in SUM_ODD and decrement the value of n by 1.
    Algorithm:
    1. Start
    2. Declare two variables and initialize them with 0( SUM_ODD=0, and SUM_EVEN=0)
    3. Input “n”
    4. Repeat while n>0
    If(n%2==0)
    SUM_EVEN=SUM_EVEN + n
    else
    SUM_ODD=SUM_ODD + n
    n=n-1
    5. Print SUM_EVEN and SUM_ODD
    6. Stop


    Instructions:
    1. Your task is to draw the Flow chart of the above algorithm.
    2. Check the symbols used for each building block of an algorithm for flowchart.
    3. Use appropriate symbols for each type of statement.
    4. Design the flowchart in MS WORD.
    5. Symbols for building flow charts can be found in MS word insertshapes menu.
    6. The guidelines to draw flowchart in MS WORD 2003 can be obtained from the mentioned link. http://ase.tufts.edu/its/trainDocume...Flowcharts.pdf
    Question No 2: Marks 10
    In figure 1 there is a text box, a paragraph and uses of latex’s list. You are required to re-write/type the given text in MS word.
    Figure 1
    Here are some points and hints:
    1. You have to insert a text box and write your student ID in it
    2. You have to write all the text
    4. Your text font must be Times New Roman 12 point
    5. “Uses” must be numbered
    6. Your First letter L should cover 2 lines not more. DO NOT change font size of L to make it look like in the image because it will result in zero.
    7. “Uses” must be in three columns.
    8. You can easily find a way to write in columns by going to Page Layout tab and then go to page setup
    9. Use of table, spacebar or tab to spread “uses” in three columns will result in zero marks
    10. Do not send screenshot (image) of your work, send original text in given format.
    BEST OF LUCK


    Sponsored Links

  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    Example:
    Draw flowchart to find the largest among three different numbers entered by user.


    Untitled.jpg

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-18-2014, 02:40 PM
  2. CS101 - Introduction to Computing Assignment No. 02 Solution Spring 2014
    By vuassignments in forum Assignments & Solutions
    Replies: 2
    Last Post: 05-27-2014, 04:34 PM
  3. Replies: 3
    Last Post: 11-27-2012, 01:33 AM
  4. Replies: 2
    Last Post: 01-24-2012, 11:30 AM
  5. Replies: 16
    Last Post: 01-09-2011, 04:35 AM

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