0% found this document useful (0 votes)
4 views2 pages

Assessment

The document outlines ten programming activities designed to enhance coding skills. Each activity presents a specific problem, such as generating multiplication tables, calculating sums, and checking for prime numbers. The activities cover a range of concepts including loops, conditionals, and mathematical operations.

Uploaded by

jrtadlip
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)
4 views2 pages

Assessment

The document outlines ten programming activities designed to enhance coding skills. Each activity presents a specific problem, such as generating multiplication tables, calculating sums, and checking for prime numbers. The activities cover a range of concepts including loops, conditionals, and mathematical operations.

Uploaded by

jrtadlip
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/ 2

Activity 1: Multiplication Table

Problem: Write a program that takes a number as input and prints its multiplication table up
to 10.

Activity 2: Sum of Even Numbers

Problem: Write a program to calculate the sum of all even numbers between 1 and 100.

Activity 3: Reverse Number

Problem: Write a program to reverse a given number.

Activity 4: Factorial of a Number

Problem: Write a program to calculate the factorial of a given number.

Activity 5: Check Prime Number

Problem: Write a program to check if a given number is prime or not.

Activity 6: Armstrong Number

Problem: Write a program to check if a number is an Armstrong number.

Activity 7: Palindrome Number

Problem: Write a program to check if a number is a palindrome.

Activity 8: FizzBuzz

Problem: Write a program to print numbers from 1 to 100. For multiples of 3, print "Fizz";
for multiples of 5, print "Buzz"; and for multiples of both, print "FizzBuzz".

Activity 9: Fibonacci Sequence

Problem: Write a program to print the first n Fibonacci numbers.

Activity 10: Number Pyramid

Problem: Write a program to print a pyramid of numbers based on user input.

You might also like