Programming Assignment7
Programming Assignment7
Programming Assignment 7
Scope:
In this lab, students will write and run Python Script.
Equipment/ Tool Needed:
This lab requires the use of the following:
Laptop / Desktop
Any version of Windows
Any Web-Browser
IDLE IDE
Lab Outcomes:
Upon completion of this lab, students will be able to:
Understand basic structures and algorithms.
Properly apply basic programming constructs and concepts including:
o Variables and types (int, float, char, etc.)
o Strings, arrays, structures
o Sequential execution
o Assignments (=, +, -,*,/,% , etc.)
o Functions, procedures, and calls
o Debugging techniques
Run Python Scripts
Steps:
The following steps will be completed and submitted via a Microsoft word file along with
Python source code file. Any other format will not be accepted and will result in a zero
grade. Programming Labs are considered incomplete, if they do not compile and will
result in a zero grade.
2. Design and write a program that reads a string from the user containing a date in the form
mm/dd/yyyy. It should print the date in the format March 12, 2018.
Program Output Sample:
Submission Requirements:
1. LastNameFirstNamePLab7.py
2. Word Document with Algorithm/Pseudocode and screenshot of program output. Label all
screenshots.
3. You should include one block comment at the top of each program containing the course
name, the assignment/project number, your name, the date, and the pseudocode that you
used to develop the assignment/project as listed below
#################################################################
# Class: CMSC135
# Instructor: Last Name First Name
# Program Assignment: 1
# Program Name: Assignment1.py
# Author: Student LastName FirstName
# Due Date: 01/22/2022
# Description: Give a brief description of each Program
# I pledge that I have completed the programming assignment independently.
# I have not copied the code from a student or any source.
# I have not given my code to any student.
# Print your Name here: __________
Evaluation: 100 Points. All requirements are graded. Use the grading criteria as your checklist to
ensure you have completed all the requirements.
Academic Honesty in CMSC 135:
All students are expected to do their own work. You may receive insights, editing and
debugging help from tutors, fellow students, acquaintances, and the internet, but you cannot
share code. You are expected to do all homework assignments by yourself – DO NOT
GIVE YOUR CODE TO YOUR FRIENDS! You are responsible for completing the
assignments yourself. (Your fingers are the only ones that should touch the keyboard). You are
not allowed to cut-and-paste code from other sources. If your assignment uses features of the
language that have not yet been covered in this course, you will be asked to defend your work.
The department sends all student submissions for each assignment to a program called MOSS,
which tests for programming similarity. This program is more than a simple “diff” application; it
is an Artificial-Intelligence-aided comparison of your code to all other students’ code on the
project. It returns a measure of percent similarity.
If you turn in the same assignment or uncommonly similar assignment to another student
(past or present), or if your assignment is uncommonly similar to code found on the
internet, the following policy will be applied to your project:
1. First-time high match with other students or sources, grade 0% for the project.
2. Second-time high match with other students or sources, 0% for project, F for the course,
notify department chair, dean, and file an academic dishonesty report.
Academic dishonesty will not be tolerated.
Questions:
It is up to each student to clarify any part of these guidelines, which may be unclear immediately
after this assignment has been assigned.