Intro to CSC270 Survey of Programming Languages
Download
Report
Transcript Intro to CSC270 Survey of Programming Languages
Intro to CSC27I
Software I : Utilities and Internals
Pepper
Goals
• Become comfortable using Unix and at least
one editor
• Write strong Shell scripts
• Design C programs that make Linux system
calls
– retrieve command arguments, run other
programs, and perform I/O and inter-process
• Write Perl scripts and web pages on Unix
• Understand and use regular expressions
• As much database as needed to code a perl
web site using a database
Environment
• Panther – no administrator functions
– Linux ubuntu
– Bash and C shells
– Mysql
– Perl
– Gcc C compiler
– Vi/vim
– Access via putty / filezilla
• Local if you want to alternative – see setup
Major Assignments
• Aim: a web site that lets users look up
information from a database.
– First code multiple file writing and search in a shell
– Use those files to create a lookup website in perl
– Recode file writing using C including forked processes
– Create a database in mysql and fill it (necessary, but
not a goal)
– Web site using perl script to lookup from the
database
Collaboration
• Group final project
• Some other group projects
• Getting help from friends/ tutors:
– Cite the name / know the code
• Getting help from the internet
– Cite the website;
• if black box code:
– then state it
– Otherwise, be able to explain any line of code you
submit
Organization
•
•
•
•
Midterm (Unix, Shell, C)
Final (cumulative)
Assigned reading on syllabus
6-10 hours homework per week, more for
project : Homework is 50% of the grade.
• Work on panther or local, but will grade from
a run on panther
• Quizzes
– Pop quizzes in the first 5 minutes of class
– 2 Announced quizzes