GoConqr has a new look! Let us know what you think.

Mind map

firstAssignment

Amar Shah Computer Science English

Map content

firstAssignment

  1. First Create 6 random numbers using the function randnit

    • Now we will perform different operations
      • Find the largest number
        • We will initially set randomNumberA to a new variable largestNumber
          • Then we will compare the largestNumber to randomNumber B
            • If randomNumberB is bigger then the largestNumber then we will assign largestNumber to be randomNumberB
              • Next we continue this iteration till we compare the variable largestNumber to randomNumberE
                • Thus we determine the largestNumber
      • This algorithm is similar to the one for the largestNumber.
        • The only difference is that we have a new variable smallestNumber and compare each of the randomNumber's to this variable and determine the smallest number
      • Given inputValue, find the number of times this number exists in our data of Random Variables
        • Define a variable called count. Then check in our list hotaw many times each Random Variable is there in our data base
          • Then print the count for each of the Random Variables
      • Calculate the smallest odd number in our data base
        • A number is odd if remainder after dividing by 2 is 1.
          • For each Random Number determine if it is odd using this rule. For the 1st number which is odd, assign the smallest odd number to this Random Variable
            • Use this algorithm for each of the odd numbers and thus determine the smallest odd number
      • Last we determine the Average of all the Random Variables

Information

Description
Computer Science Mind Map on firstAssignment, created by Amar Shah on 24/01/2021.
Created by
Amar Shah · Jan 2021
Updated
Jan 25, 2021
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?