Rabigh
Kingdom of Saudi Arabia Ministry of Higher Education King Abdul-Aziz University
Faculty of Computing and Information Technology
Hanadi Alkhudhayr Mcs.
Subject Name: Introduction to Programming Course Code: COCS 201
Credit Unit: 3
Instructor Information
Name: Mrs. Hanadi Alkhudhayr Office location: Building 3- room 05 Office Hours: After class
Website: http://haalkhudhayr.kau.edu.sa/
Email: [email protected] Course Information
Course website: http://haalkhudhayr.kau.edu.sa/Pages-IntroToProg.aspx
Course requirements: none
Day /Time/place –lectures: Sun, Tues, Thurs 1:00 - 1:50 am
Section:
Course Objectives:
To introduce students with little or no programming experience the principles and concepts of programming
To guide the students about problems that can be solved using a computer
To teach students the methodology and techniques with a solid basis in the Java programming language
Course resource
textbook:
Stuart Reges and Marty Stepp; Building Java Programs: A Back to Basics Approach, 2nd edition, Addison Wesley , 2010 , ISBN 0136091814
Other references:
Y. Danial Liang; Introduction to Java Programming, Comprehensive , Prentice Hall; 8th edition, 2010, ISBN-10: 0132130807
Paul Deitel; Java How to Program: Late Objects Version, 8th Edition, Prentice Hall, 2009, ISBN-10: 0136123716
Course Exams and Grading:
First Exam (20% marks) Second Exam (20% marks) Lab Assignments : (20% marks) Final Exam (40% marks)
Course Schedule:
Time table for distributing course contents
Week course contents Remarks
1 Review of computer basics, programs.
2
Programming Languages, Introduction to Java, Java’s advantages, Introducing the terms API, IDE, and JDK, Writing a simple Java program , creating, compiling, and running Java programs, Java runtime environment, basic syntax of a Java program,
Rabigh
Kingdom of Saudi Arabia Ministry of Higher Education King Abdul-Aziz University
Faculty of Computing and Information Technology
Hanadi Alkhudhayr Mcs.
Displaying output on the console.
3
Use of identifiers to name variables, constants, methods, and classes. Use of variables to store data , Use of constants to store permanent data , Declaring Java primitive data types: byte, short, int, long, float, double, and char, Java programs with simple calculations and assignment statements and assignment expressions.
4
Use of literals, Use of Java operators to write expressions, Increment and Decrement Operators, Type Casting (Implicit and Explicit) and programs based on
the same, Represent a string using the String type.
5 Flow Chart and pseudo codes. I am I
6
Getting input from console using Scanner class, Java documentation, programming style, and naming conventions. Distinguishing syntax errors, runtime errors, and
logic errors and how to debug logic errors 7
Boolean type and Boolean expressions, distinguish between conditional and unconditional && and || operators, use of Boolean expressions to control
selection statements,
8 Implementation of selection control using if and nested if statements and switch statements, expressions using the conditional operator.
9
Formatted output strings using the String. Format method, Introducing rules governing operand evaluation order, operator precedence, and operator associativity. Introducing while, do-while, and for loop statements to control the
repetition of statements.
11
Introducing the flow of control in loop statements, Use of Boolean expressions to control loop statements, writing nested loops, similarities and differences of three
types of loops, Implementing program control with break and continue.
11 Declare methods, invoke methods, and pass arguments to a method. Use of method overloading and ambiguous overloading, determining the scope of local
variables.
12
Concept of method abstraction, how to use the methods in the Math class, Designing and implementing methods stepwise, how to group classes into
packages.
13
Understanding objects and classes and use classes to model objects, how to declare a class and how to create an object of a class, roles of constructors and use
constructors to create objects, object reference variables and primitive data type variables.
14
Developing methods with object arguments, difference between instance and static variables and methods, the keyword this as the reference to the current
object that invokes the instance method.
I am II
15
Describing why an array is necessary in programming, declaring array reference variables and creating arrays, copying contents from one array to another, developing and invoke methods with array arguments and return type, sorting an
array using the selection sort algorithm.
Rabigh
Kingdom of Saudi Arabia Ministry of Higher Education King Abdul-Aziz University
Faculty of Computing and Information Technology
Hanadi Alkhudhayr Mcs.
16 Final Exam
Software and Languages:
Program Language: Java
jdk (Java Development Kit)
Jre (Java runtime environment)
Editor:
JCreator 005
Overall Grading Guidelines Grade
A+
A B+
B C+
C D+
D F
Score Range (100 Points)
95-100 90-94 85-89 80-84 75-79 70-74 65-69 60-64
<60