Cmput 101_ Assignment python

.pdf

School

University of Alberta *

*We aren’t endorsed by this school

Course

101

Subject

Computer Science

Date

Dec 6, 2023

Type

pdf

Pages

2

Uploaded by SuperPheasant1844

Report
Assignment: Python Programming Challenges Cmput 101 Objective: The objective of this assignment is to evaluate your proficiency in programming using the Python language. This assignment comprises various programming challenges covering Python fundamentals, data structures, file handling, and object-oriented programming. Instructions: Solve all the problems using Python 3.0. Document your code with comments explaining the logic and functionality. Submit your solutions in a single Python file (or multiple files if needed), labeled with problem numbers and corresponding solutions. Ensure your code runs without errors and produces the expected output for provided test cases. Original work is expected. Cite external sources used. Academic Integrity: Plagiarism or any form of academic dishonesty will not be tolerated. Your work must be original. Cite any external resources utilized, including books, websites, or discussions with others. Failure to comply with academic integrity standards will result in consequences as outlined by University of Alberta. Problems: Problem 1: Palindrome Checker (Python) Write a Python program to check if a given string is a palindrome or not. The program should accept a string as input and determine whether it's a palindrome. Problem 2: Sorting Algorithms (Python) Implement two sorting algorithms (e.g., bubble sort, merge sort) in Python. Compare their performance (time complexity) for varying input sizes and present results graphically using libraries like Matplotlib or Seaborn. Submission Guidelines: Submit your Python code file(s) with a concise document explaining your approach for each problem. Ensure the code adheres to PEP 8 guidelines, has meaningful variable/class names, and includes proper comments. Provide test cases and expected outputs for all problems. Deadline: The assignment is due by April 6, 2021. Late submissions will be subject to a zero. Grading:
Evaluation will be based on: Correctness and efficiency of solutions Quality of code (readability, structure, comments) Adherence to submission guidelines Note: If you require any clarification or assistance, feel free to ask for help. However, ensure the code submitted is your own work. Good luck!
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help