Course Outline CSC103 Introduction To Computer and Progamming
Course Outline CSC103 Introduction To Computer and Progamming
Note: You should take at least four Quizzes and Assignments each with following beak
down, 1 before Sessional-I, 2 between Sessional-I and Sessional-II, and 1 between
Sessional-II and terminal paper.
• Boolean operator
8 • Conditional operator
• Assignment operator and Type cast
• Precedence rules
9 • If statement
• If else statement
• Nested if else statements
10 • Sessional 1
11 • Blocks
• while loop
• for loop
• break statement
12 • continue statement
• do while loop
• case control structure
13 • The switch statement
• A menu driven program using
• if else
• switch case
• Nested switch statement
• A calculator (add, subtract, multiply)
• Factorial, prime, even/odd
14 • Introduction to subroutines/function
• Subroutines/function definition
• Subroutines/Function call
• Subroutines in programs
• Member variables of a class
15 • Return statement
• Formal and actual parameters
16 • Overloading subroutines/functions
• Recursive functions
17 • Exceptions: try and catch block
18 • Sessional 2
19 • Object and instance method
• Fundamental of objects
• Getters and setters functions
20 • Constructor and object initialization
• Initializing instance variable
• Default Constructor, constructor with arguments
21 • Wrapper classes
• Designing the class
• Programming example : The card class and simple card game
22 • Special variable: this and super
23 • Arrays
COMSATS Institute of Information Technology
Park Road, Chak Shahzad Islamabad Tel: (+92-51) 9049-5321
Department of Computer Science
• Using arrays
• Array initialization
24 • Arrays types in subroutines
• Arrays and objects
• Partially full arrays
25 • Dynamic arrays
• Array lists
• Vectors
26 • Searching and sorting in arrays
27 • Creating and using two dimensional array
28 • Character and byte stream
• PrintWriter
29 • Data Streams
• Reading Text
30 • Reading and writing Files