جامعة جرش الاهلية JERASH PRIVATE UNIVERSITY
قسم علوم الحاسوبComputer Science Dept.

Course Title:Programming Language

Course prerequisite(s) and/or corequisite(s): 1001099 / Course code: 1001130
Credit hours: 3 / Course Level: Second
Semester/Lecture Time:

Instructor Details

Instructor Name
/
e-mail
/
Office Hours

Course Description

Introduction to Programming in C++ provides an overview of programming concepts, design and an introduction to coding using the C++ language. The course has a focus on creating working computer programs in C++. This course will address fundamental concepts of analysis, design, testing and code development. It includes flowcharts, Boolean logic, control flow, data types and structures, variables, arrays, functions, pointers and introduces classes. It will also introduce the basic concepts of object design.
This course will prepare students for focused studies in any programming language.

Course Objectives and Outcomes

  • The student will identify the hardware components of a computer and will describe how they act together to form a complete system including the scientific principles on which they are based.
  • The student will edit, compile, execute and get hard copy of a simple program.
  • The student will use good documentation, formatting and naming conventions to insure program readability.
  • The student will write a program using the C++ arithmetic operators, input/output methods and appropriate manipulators for formatting.
  • The student will write a program using appropriate selection statements such as if-else and switch.
  • The student will write a program using appropriate looping statements such as while, for and dowhile.
  • The student will write a program using functions with parameters passed by value and by reference.
  • The student will use both one dimensional and multi-dimensional arrays.
  • The student will describe different sorting and searching algorithms.
  • The student will use character data and string processing.

Notes

•Attendance to lectures is obligatory according to the University Rules

• Some lectures will be held in lab for more practical demonstration of the material

• In order to do well in the course you have to read a lot, but you have to write more (practice writing programs as much as you can), also you are encouraged to raise your hand and ask any question even if it seems silly to you!.

• Any given assignment must be worked out by the student himself.

• Cheating is a religious and ethical crime and any case of cheating will be treated according to the university rules

Course Contents:

Week / Topics / Topic Details / Reference (chapter) / Date
1 / An Overview of Computers and Programming Languages / Elements of a Computer System
Processing a High Level Language Program
Programming with the Problem Analysis
Programming Methodologies / Chp.1 / Oct: 4– 6
2,3,4 / Basic Elements of C++ / The Basics of a C++ Program, Data Types ( int, bool, char, float, double, long double, string type).
Arithmetic Operators and Operator Precedence, Expressions Declaring and Initialization Variables.
Input / Output Statement (cin, cout), Increment and Decrement operators, Creating a C++ program.
Program Style and Form, More on Assignment Statement. / Chp.2 / Oct: 11-13
Oct: 18–20
Oct: 25– 27
5,6 / Control Structures I / Relational operators.
Selection, if , if else, nested if.
Switch structures and assert function. / Chp.2 / Nov: 1 - 3
Nov: 8- 10
7 / First Exam / Nov: 15- 17
8 / Control Structures II / while looping ( Repetition) Structure,
do … while looping , break , continue .
Nested Control structure. / Chp.3 / Nov: 22–24
9 / User-Defined Functions I / Predefined Functions.
UserDefined Functions.
Value return functions. / Chp.3 / Nov: 29 - Dec:1
10 / User-Defined Functions II / Void Functions without Parameters, Function Call, Void Functions with Parameters, Function Call.
Value Parameters, Reference Variables as Parameters, and memory location.
Reference Parameters and Value-Returning Functions ( Local And Global Identifiers).
Static and Automatic Variables , Function Overloading. / Chp.3 / Dec: 6–8
11 / Second Exam / Dec: 13–15
12,13 /

Arrays and Strings

/ Arrays, accessing array components, Processing One Dimensional Arrays.
String Comparisons.
Two Dimensional Array, Array of Strings and Multidimensional Arrays. / Chp.4 / Dec: 20–22
Dec: 27–29
14 /

Pointers

/ Introduction.
Pointer Variable Declarations and Initialization.
Pointer Operators.
Passing Arguments to Functions by Reference with Pointers.
Using const with Pointers.
Pointer Expression and Pointer Arithmetic.
Relationship Between Pointers and Arrays. / Chp.5 / Jan: 3- 5
15,16 / Classes / Introduction.
Class Scope and Accessing Class Members.
Access Functions and Utility Functions.
Constructors with Default Arguments.
Destructors.
When Constructors and Destructors are Called. / Chp.6 / Jan: 10- 12
Jan: 17- 19
Final Exam

Assessment and Grade Distribution

Lab / Requirements / Points / Total
20%
Lab Assignments / 10%
Project,Attendance, Participation, Home works ,and Quizzes / 10%
Exams / 80%
First Exam / 20%
Second Exam / 20%
A Comprehensive Final examination / 40%
TOTAL / 100%

Text Book and References:

Text Book
/
C++ How to program, H. M. Deitel and P. J. Deitel, PrenticeHall, 2005, 5th ed.
[R1]
/
C++ Programming: From Problem Analysis to Program Design , , D. S. Malik, Thomson, 3nd
[R2]
/
The C++ Primer: A Gentle Introduction to C++, Skinner & M.T., Silicon Press.

------

الرمز البريدي : 26150 هاتف : 6350522 جرش – الاردن

The Hashemite Kingdome of Jordan

URL:

Email: