Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS101 Introduction to Computing Assignment No. 02 Solution and Discussion Fall 2014
#1
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/trainDocuments/...charts.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

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#2
Example:
Draw flowchart to find the largest among three different numbers entered by user.


[ATTACH=CONFIG]24347[/ATTACH]


Attached Files
.jpg   Untitled.jpg (Size: 26.61 KB / Downloads: 557)

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cs403 Assignment 3 Helping material May 8,2010 viki 1 5,204 04-28-2020, 03:19 PM
Last Post: ClaireBeauc
  cs301 assignment no 3 Solution 20 January 2016 Vuhelper 0 11,089 01-20-2016, 03:32 PM
Last Post: Vuhelper
  CS201 Assignment vo 3 Solution 20th January 2016 Vuhelper 2 2,597 01-20-2016, 03:28 PM
Last Post: Vuhelper
  CS101 Assignment no 3 Solution 20th January 2016 Vuhelper 0 2,279 01-20-2016, 03:25 PM
Last Post: Vuhelper
  SOC101 INTRODUCTION TO SOCIOLOGY assignment no 3 Solution 20 January 2016 Vuhelper 0 1,870 01-20-2016, 03:19 PM
Last Post: Vuhelper
  CS402 Assignment No 4 Solution & Discussion Xpert 0 2,099 08-01-2015, 02:33 AM
Last Post: Xpert
  cs101 Assignment No. 1 Solution 21 may spring 2015 semester Xpert 0 2,909 05-21-2015, 12:41 AM
Last Post: Xpert
  Assignment solution eng 301 due date 20 may 2015 rumesa khan 3 4,532 05-20-2015, 01:34 AM
Last Post: Xpert
  PHY301 Circuit Theory Assignment No. 1 idea Solution spring may 2015 semester Xpert 0 1,559 05-15-2015, 03:52 AM
Last Post: Xpert
  Assignment No. 01 Spring 2015 Information Systems CS507 idea solution spring 2015 Xpert 0 2,447 05-15-2015, 03:49 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)