0% found this document useful (0 votes)
5 views5 pages

Machine Learning-1

The document outlines a series of machine learning activities assigned to Laiba Tahir in a BSCS 4th AI class. It includes tasks such as combining numbers and text, checking for even integers, summing values, and determining prime numbers. Additionally, it provides a flowchart for calculating the sum of five integers.

Uploaded by

laibaahir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

Machine Learning-1

The document outlines a series of machine learning activities assigned to Laiba Tahir in a BSCS 4th AI class. It includes tasks such as combining numbers and text, checking for even integers, summing values, and determining prime numbers. Additionally, it provides a flowchart for calculating the sum of five integers.

Uploaded by

laibaahir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Machine Learning

Topic:
Activity
Assignment:
01
Submitted by:
Laiba Tahir(3064)

Class:
BSCS 4th AI
Submitted to:
Mam shahida
Activity 1: Combine numbers and text

Activity 2: Take input from the keyboard and use it in your program

Activity 3: Check whether the given integer is even or not

Activity 4: Sum of values from 0 to 10 using while loop


Activity 5: Accept 5 integer values and display their sum

Flowchart Description:

1. Start
2. Initialize sum = 0, count = 0
3. Repeat until count = 5:
o Take input
o Add to sum
o Increment count
4. Print the sum
5. End

Activity 6: Keep accepting integers until 0 is entered and display their sum

Activity 7: Check if a number is prime


Activity 8: Display grade based on marks

Activity 9: Calculate factorial of a number

You might also like