Giter Site home page Giter Site logo

lab-02a's Introduction

CPSC 223p - Lab 02

Let's write some short programs that manipulate strings and lists.

Objectives

  • Learn about Python lists and strings, their notation, and operators
  • Practice using a built-in Python functions to manipulate built-in types

Instructions

Write a program for each exercise sub-directory. Each exercise subdirectory is prefixed with the string part-.

Every file that you submit must have a header. On the file that contains the main function, start the file with # -*- coding: utf-8 -*-. Change the comment line (the one starting with #) to state your full name. On the next line, start a new comment and state which section of CPSC 223p you are enrolled in. On the next line, start a new comment and state today's date. On the next line, start a new comment and state your CSUF email address. On the next line, start a docstring and provide a short description of the program you are writing. For example, if your name is Tuffy Titan and you are in CPSC 223p-01, the comment may look something like

# -*- coding: utf-8 -*-
#
# Tuffy Titan
# CPSC 223p-01
# 2021-02-01
# [email protected]
#
"""
This my first program and it prints out Hello World!
"""

Please adhere to the Google Python coding style. Please read the style guide and ensure your code conforms. If it does not, then your assignment may not receive full credit. You may use a linter, such as pylint, and a style checker, such as pycodestyle, to check your source code to verify that it conforms to the specified style.

Rubric

Each exercise is worth 5 points. There is a total of 10 points possible. Your program must compile, in other words be syntactically correct, before it is graded. Submissions that do not compile shall be assigned a zero grade.

For each part:

  • Functionality (4 points): Your submission shall be assessed for the appropriate constructs and strategies to address the exercise.

  • Readability (1 point): Your submission shall be assessed by checking whether your code passess the style and format check, as well as how well it follows the proper naming conventions, and internal documentation guidelines. Git log messages are an integral part of how readable your project is.

lab-02a's People

Contributors

joates-spring-2021 avatar johnwoates avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.