Free Assessment Marquee FREE WEEKLY TIMED PRACTICE SESSIONS EVERY SATURDAY 11 AM- 12 PM

Assessment 1 – Debugging Questions(20 points)

What will be the output of this code? Is it correct? If not, fix it: def add_numbers(a, b):  return a + b  print(add_numbers(2, 3))       2. What will be the output of this code? Is it correct? If not, fix it:   fruits = [“apple”, “banana”, 23] for i in range(fruits):     print(fruits[i])

List Practice Set 5.2

Program 1: Problem: Write a program to calculate the sum of all elements in a list.Input: numbers = [1, 2, 3, 4, 5] Output: Sum = 15 Program 2: Problem: Write a program to find the largest and smallest elements in a list.Input: numbers = [10, 25, 5, 30, 15] Output: Largest = 30 Smallest […]

String Practice Set 5.1

Program 1: Problem: Write a program to find the length of a given string. Input:string = “Python” Output:Length = 6 Program 2: Problem: Write a program to convert a string to uppercase. Input:string = “hello world” Output:HELLO WORLD Program 3: Problem: Write a program to convert a string to lowercase. Input:string = “PYTHON IS FUN” […]

Practice 4.1

Problem Statement 1: Write a function are_equal(a, b) that prints “Equal” if two numbers are equal and “Not Equal” otherwise. # Example are_equal(3, 3) # Output: Equal are_equal(4, 5) # Output: Not Equal Problem Statement 2: Write a function celsius_to_fahrenheit(celsius) that takes a temperature in Celsius and prints the equivalent temperature in Fahrenheit. Use the […]

Try-it-Activity

Problem Statement 1: Write a function circle_area(radius) that calculates and returns the area of a circle given the radius. Use math.pi * radius ** 2           # Example print(circle_area(5)) # Output: 78.54 (approx) Problem Statement 2: Write a function count_letter(word, letter) that prints how many times the letter appears in the […]

Write Sentences using Word Bank

Word Bank: Chicken, Storm, Mighty, Feather, Thunder, Rain, Shelter, Hurricane, Wind, Sun, Brave, Protect, Danger, Clouds, Sky, Farm, Happen, Everybody, Strong, Safe, Penny, leaves, pillow, kisses, happy, great, under, running, shade, tree, feeling Instruction: Please use paper and pencil to write your sentences and bring them to center.  When your sheet is reviewed then type […]

Reflective Writing: Cool to Be a Kid

Writing Activity: Write a short essay (400–500 words) addressing the following prompts: Have you ever experienced or witnessed a situation where empathy was or wasn’t shown? Describe the situation. How did empathy (or the lack of it) impact the individuals involved? What could you have done differently to demonstrate empathy in that situation?

0
    0
    Your Cart
    Your cart is emptyReturn to Summer Camp