Question: Create a Python program file called Ch 0 7 - 1 _ Name.py . ( Replace Name with your initial of first name and first
Create a Python program file called ChName.pyReplace Name with your initial of first name and first letters of last name. If your last name is shorter than letters, just use full last name, it doesn't have to be letters. ie if your name is John Doe, your file name should be ChJDoe.py
Your program will take a file name from user and find out following information and display it Number of lines, number of vowels, number of consonants, and number of numerical characters
Also, ask user if user wants to repeat and depends on the answer, your program needs to terminate or repeat.
If user enters wrong information wrong name of the file or nonexisting file name your program needs to display message and ask for correct input. Your program should not generate traceback message with any input.
Do not read the entire file into the memory using "read" method. Only use file handle to access it
Your program's output should be exactly same or very close to the sample output provided. Output should be formatted to match the sample output provided or points will be deducted up to points
Sample files:
sampletxtDownload sampletxt
Course Objectives:
By the end of the class, students will be able to:
a Identify basic programming concepts.
b Demonstrate and understand the basic building blocks of a program.
c Describe program development lifecycle.
d Demonstrate a basic understanding and uses of Machine, Assembly, HighLevel, Database,Scripting and Web Page Programming languages.
e Use primitive data types and data structures offered by the development environment.
f Choose an appropriate data structure for modeling a simple problem.
g Write simple applications that relate to a specific domain.
h Design, implement, test, and debug a program that uses each of the following fundamentalprogramming constructs: basic computation, simple IO standard conditional and iterative structures,and the definition of functions.
i Test applications with sample data.
j Apply core program control structures.
k Create simple web pages using HTML and CSS
l Create simple databases using SQL
sampletxtDownload sampletxt
CIS Fall Section
Instructor: Mr Jason Y Huh
Office: IT
Phone: x
Email: jyhuh@pasadena.edu Recommend to use canvas email
Class meeting time:
Mon. :pm :pm R
Office Hours:
Mon. : :PM :PM R
Wed. : :PM :PM IT
Thur. : :AM :AM Online
Sat. : :AM:AM IT
Textbook:
Python for Everybody: Exploring Data in Python
ISBN:
ISBN:
Or PDF version of the book can be downloaded from this link:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
