CS 135: Computer Science I
  Spring 2018

Sections 1001, 1002, 1004

Instructor: Lee Misch
Phone: 895-3794
Office: TBE B383
Email: lee.misch@unlv.edu
Office hours: 9:00-9:55am MTWTh, 1:00-2:15pm MW and by appointment
Class website: web.cs.unlv.edu/lee
    Website login -     user name: cs login name (RebelMail login name)
                                 password: NSHE #

Catalog Description
Problem-solving methods and algorithm development in a high-level programming language. Program design, coding, debugging, and documentation using techniques of good programming style. Program development in a powerful operating environment. Three hours lecture and one hour lab. Prerequisite: MATH 127 or 128. 3 credits.

Required Text: C++ Programming: From Problem Analysis to Program Design, 8th edition by D.S. Malik
Library and Recommended Web References:
    Some Basic UNIX Commands
    C++ Reference

Course Objectives and Expected Learning Outcomes

Upon completion of Computer Science I, students will be able to

To qualify for this course you must have earned a C or better in MATH 127 (Precalculus II) or MATH 128 (Precalculus and Trigonometry). The prerequisite may also be met with an equivalent transfer course, an SAT Math score of 630+, an ACT Math score of 28+, or completion of a calculus course at the college level.

Grading Scale

Grade A
% >=
below 60

Grading Criteria

Two exams, a midterm and a final, will be given during the semester. Makeup exams must be taken within 5 days of original exam date.


As each new topic is encountered, assignments in the form of written questions and/or short and medium sized programs to write will be given.Assignments will be submitted to the instructor of the course for evaluation. LATE ASSIGNMENTS CANNOT BE TURNED IN FOR CREDIT unless there is an acceptable excuse (medical or other emergency that is documented).

Final Grade Calculation
Final grades are computed using the Grading Criteria percentages. Here is a hypothetical example. Assume the midterm and final are each worth 100 points, all assignments are worth a total of 500 points. If a student scores 90, and 85 on the exams, and has 410 assignment points, then his/her final percentage is 90/100*35 + 85/100*35 + 410/500*30 = 31.5 + 29.75 + 24.6 = 85.85 = B.

CS 135 includes a mandatory lab that meets once a week. During lab sessions, students will be taught to use the Computer Science lab (TBE B361). This instruction will include an introduction to the Linux operating system, Emacs (a text editor), and basic programming techniques. Additionally, lab time can be used to get assistance with assignments.
Academic Misconduct
Academic integrity is a legitimate concern for every member of the campus community; all share in upholding the fundamental values of honesty, trust, respect, fairness, responsibility and professionalism. By choosing to join the UNLV community, students accept the expectations of the Student Academic Misconduct Policy and are encouraged when faced with choices to always take the ethical path. Students enrolling in UNLV assume the obligation to conduct themselves in a manner compatible with UNLV's function as an educational institution. An example of academic misconduct is plagiarism. Plagiarism is using the words or ideas of another, from the Internet or any source, without proper citation of the sources. See the Student Academic Misconduct Policy (approved December 9, 2005) located at: http://studentconduct.unlv.edu/misconduct/policy.html

Department of Computer Science Academic Integrity Policy
Each student enrolled in a course offered by the Department of Computer Science is expected to do his/her own work when preparing written or programming assignments, as well as, examinations. He/She must adhere to the academic integrity policy provided by his/her instructor and the university. It is also each student's responsibility to notify the instructor if he/she becomes aware of any activities that would violate the academic integrity policy of the class.

CS 135 Academic Integrity Policy
Each student is required to do his/her own work on examinations, written and programming assignments and exercises without outside assistance except as noted below.
It is also each student's responsibility to notify the instructor if he/she becomes aware of any activities that would violate the academic integrity policy of the class.

Assistance that is allowed in the preparation of coursework:
  • information/code provided in the textbook
  • information/code provided in the class notes (on the website)
  • assistance provided by lab instructors/course instructor
  • assistance provided by the College of Engineering Tutoring Center (as long as the tutor is not writing the code)
  • use of the Internet to look up a formula that is needed to perform a calculation or to verify the accuracy of a calculation
  • use of the Internet as a reference for additional C++ language details
Examples of prohibited practices include, but are not limited to:
  • receiving assistance from an unauthorized source (including, but not limited to, fellow students, friends, relatives)
  • providing answers/code to a fellow student
  • collaborating (sharing) answers/code
  • using the Internet to find the solution to a problem (looking for similar code)
  • using the Internet to solicit a solution to an assignment (this includes using forums to post code and/or ask for help)
  • asking and/or paying someone to complete your assignments
Consequences of violating the academic policy:
  • an Alleged Academic Misconduct Report will be completed and a copy sent to the Office of Student Conduct
  • 1st violation - student(s) will receive a grade of zero on the assignment/examination
  • 2nd violation - a grade of F will be issued for the course; no further assignments/labs/exams can be completed for credit
Computer Accounts
All students in CS 135 will receive a computer science (cs) computer account. Check your Rebelmail for a message containing your cs login name and password. The cs account allows you to log in and use the computers in the TBE B361 lab and to print in the computer lab on ponderosa (student printer in TBE B361). Students receive 100 pages of free printing. Additional pages may be purchased (3 cents per page) in whole dollar amounts.

Class Rules
  1. All students are expected to do their own work on assignments and examinations. (See above policy statement.)
  2. All programs must be able to compile and run on the computer science server (bobby.cs.unlv.edu) using the g++ compiler.
  3. Check your Rebelmail on a regular basis.Communications regarding the class will be sent to that address.
Drop Policy
The last day to drop the course is Friday, March 23, 2018.

The University requires all members of the University Community to familiarize themselves with and to follow copyright and fair use requirements. You are individually and solely responsible for violations of copyright and fair use laws. The university will neither protect nor defend you nor assume any responsibility for employee or student violations of fair use laws. Violations of copyright laws could subject you to federal and state civil penalties and criminal liability, as well as disciplinary action under University policies. Additional information can be found at: www.unlv.edu/provost/copyright

Disability Resource Center (DRC)
The UNLV Disability Resource Center (SSC-A 143, http://drc.unlv.edu/, 702-895-0866) provides resources for students with disabilities. If you feel that you have a disability, please make an appointment with a Disabilities Specialist at the DRC to discuss what options may be available to you. If you are registered with the UNLV Disability Resource Center, bring your Academic Accommodation Plan from the DRC to the instructor during office hours so that you may work together to develop strategies for implementing the accommodations to meet both your needs and the requirements of the course. Any information you provide is private and will be treated as such. To maintain the confidentiality of your request, please do not approach the instructor before or after class to discuss your accommodation needs.

Religious Holidays
Any student missing class quizzes, examinations, or any other class or lab work because of observance of religious holidays shall be given an opportunity during that semester to make up missed work. The make-up will apply to the religious holiday absence only. It shall be the responsibility of the student to notify the instructor within the first 14 calendar days of the course for fall and spring courses (excepting modular courses), or within the first 7 calendar days of the course for summer and modular courses, of his or her intention to participate in religious holidays which do not fall on state holidays or periods of class recess.

Transparency in Learning and Teaching

Incomplete Grades
The grade of I - Incomplete - can be granted when a student has satisfactorily completed three-fourths of course work for that semester/session but for reason(s) beyond the student's control, and acceptable to the instructor, cannot complete the last part of the course, and the instructor believes that the student can finish the course without repeating it. The incomplete work must be made up before the end of the following regular semester. If course requirements are not completed within the time indicated, a grade of F will be recorded and the GPA will be adjusted accordingly. Students who are fulfilling an Incomplete do not register for the course but make individual arrangements with the instructor who assigned the I grade.

Tutoring and Coaching 
The Academic Success Center (ASC) provides tutoring, academic success coaching and other academic assistance for all UNLV undergraduate students. For information regarding tutoring subjects, tutoring times, and other ASC programs and services, visit http://www.unlv.edu/asc or call 702-895-3177. The ASC building is located across from the Student Services Complex (SSC). Academic success coaching is located on the second floor of the SSC ( ASC Coaching Spot). Drop-in tutoring is located on the second floor of the Lied Library and College of Engineering TBE second floor.

UNLV Writing Center
One-on-one or small group assistance with writing is available free of charge to UNLV students
at the Writing Center, located in CDC-3-301. Although walk-in consultations are sometimes available, students with appointments will receive priority assistance. Appointments may be made in person or by calling 702-895-3908. The student's Rebel ID Card, a copy of the assignment (if possible), and two copies of any writing to be reviewed are requested for the consultation. More information can be found at: http://writingcenter.unlv.edu/

By policy, faculty and staff should e-mail students' Rebelmail accounts only. Rebelmail is UNLV's official e-mail system for students. It is one of the primary ways students receive official university communication such as information about deadlines, major campus events, and announcements. All UNLV students receive a Rebelmail account after they have been admitted to the university. Students' e-mail prefixes are listed on class rosters. The suffix is always @unlv.nevada.edu. Emailing within WebCampus is acceptable.

Final Examinations
The University requires that final exams given at the end of a course occur at the time and on the day specified in the final exam schedule. See the schedule at: http://www.unlv.edu/registrar/calendars.

Tentative Schedule
CS 135: Computer Science I
Section 1001: MW 10:00-11:15am CEB 240
Section 1002: TuTh 10:00-11:15am CEB 142
Section 1004: MW 2:30am-3:45pm BEH 224
  Spring 2018

Jan 15-19
Martin Luther King Jr. Day Recess (Jan 15)
Introduction to course - syllabus
Introductory Concepts
Ch 1

Jan 22-26
Lab hardware/software
Basic program elements
Key words and identifiers
Data types and arithmetic
Ch 2
Jan 29-Feb 2
Variables, assignment, and constants
Interactive input
char data type
Ch 2
Ch 3

Feb 5-9
Libraries and library functions
Formatting output
Ch 3

Feb 12-16
Selection structures - if statement
Ch 4
Feb 19-23
President's Day Recess (Feb 19)
More Linux commands

Batch processing (reading from a file)
Linux redirection

Feb 26-Mar 2
Repetition structures - while
Repetition structures - for
Ch 5
Mar 5-9
Review for Midterm
Midterm - Ch 1-5, lab topics
  Sec 1001, 1004 - Wed, Mar 7
  Sec 1002 - Thurs, Thurs, Mar 8
Ch 5

Mar 12-16
Functions - value-returning
Functions - void
Ch 6
Mar 19-23
Functions - void
Functions - scope
Last Day to Withdraw from Class - Fri, Mar 23

Ch 6

Mar 26-30
Spring Break

Apr 2-6
Filestreams for I/O
Ch 2,Ch 7
Ch 3
Apr 9-13
Ch 8
Apr 16-20
Sorting and Searching
Records (structs)

Ch 9
Apr 23-27
Arrays of records
Ch 9
Apr 30-May 4
Catch up and review for Final - Ch 6-9,
strings, filestreams, sorting, and searching

Final Exam
Week -
May 7-11
Sec 1001 - Mon, May 7, 10:10am-12:10pm
Sec 1002 - Tues, May 8, 10:10am-12:10pm
Sec 1004 - Wed, May 9, 3:10pm-5:10pm

Return home