Skip to content
CS102: Computer Programming 2
الدروس المجانية
Sample Lesson
Collapse
الدروس المجانية
5 Topics
0.2: How to get an A+ in this course
0.1: Ch0: Big picture
2.2: 2D Array – What it is?
3.1: What is a class? OOP high level concepts
3.7: Getters & setters
تشابتر الزنقة للفاينل
Expand
تشابتر الزنقة للفاينل
11 Topics
1. Start here: 9 mins
2. Classes and Objects – (1)
3. Classes and Objects – (2) – 18 mins
4. Classes and Objects – (3) – 19 mins
5. Classes and Objects – (4) – **HASHMAP** – 19 min
6. 2D Array and Files (Watch classes first!) (1) – 21 mins
7. 2D Array and Files (Creating Objects From 2D and TreeSet from Objects) (2) – 24 mins
8. 2D Array and Files (Creating HashMap from List and User inputs) (3) – 14 mins
9. Generics and Recursion (Keep it simple!) (1) – 19 mins
10. Recursion – كل شي تحتاج تعرفة في صفحة
11. Last words From Mohammad :) 💚
0 – Ch0: Review
Expand
0 – Ch0: Review
11 Topics
0.1: Ch0: Big picture
0.2: How to get an A+ in this course
0.3: Installing Netbeans
0.4: CS101 Full review (VERY IMPORTANT)
0.5: CS101 Review 1 – FILES – OPTIONAL
0.6: CS101 Review 2 – Arrays – OPTIONAL
0.7: CS101 Review 3 – File and Array exercise – OPTIONAL
0.8: 1D Array: Practice Question
0.9: Printf – Print formatted
0.1: Ch0: Big picture
How to add your own shortcuts to netbeans (Optional)
2 – Ch2: Two-Dimensional Arrays (2D Array)
Expand
2 – Ch2: Two-Dimensional Arrays (2D Array)
17 Topics
|
1 Quiz
2.1: 2D Array Overview
2.2: 2D Array – What it is?
2.3: 2D Array how to print
2.4: 2D Array how to initialize
2.5: 2D Array how to sum
2.6: Practice: Passing 2D Arrays To Methods (NEW)
2.7: 2D Array how to sum by column
2.8: 2D Array largestRow
2.9: 2D Array how to shuffle
2.10: 2D Array Practice Question (Understand)
2.11: 2D Array Practice Question (Solution)
2.12: Sum Diagonals
2.13: Excercise – Game – IMPORTANT idea for major
2.14: Excercise – Analytics – IMPORTANT idea for major
2.15: Assignment – Two Dimensional Arrays Drawing Letter into the Standard Output (Male)
2.16: Assignment – Compute weekly hours for Employees (Female)
2.17: Assignment – Replace Occurrence of a String (Female)
Test your knowledge: 2D Arrays
3 – Ch3: Class Design
Expand
3 – Ch3: Class Design
21 Topics
|
2 Quizzes
3.1: What is a class? OOP high level concepts
3.2: Class definitions: Fields and Methods
3.3: وش سالفة المين و الكلاس؟ (مهم)
3.4: Class Constructors(Full argument and default/no argument)
3.5: Class Constructors(Copy and Overloading)
3.6: Data encapsulation hiding and privacy (Access Modifiers)
3.7: Getters & setters
3.8: Java keyword THIS
3.9: toString() Method & Overriding
3.10: Input Validation
Test your Knowledge: Class vs Object | this | constructors
3.11 Static Variables & Methods
3.12: Composition Part 1
3.13: Composition Part 2
3.14: IMPORTANT: Creating objects from FILE using SPLIT()
3.15: Course Assignment (Understand)
3.15: Course Assignment (Solution)
3.17: Practice: Movie HW
3.18: Practice: Rectangle Lab2-3
3.19: REVIEW: Class design Theory
3.20: REVIEW: Class design Practical
3.21: Extra: How to create a project and copy classes
Quiz: 2D & Classes and objects
Quiz 1
Expand
Quiz 1
3 Topics
🆕Quiz 1: 2D Array – Dr. Aljibreen 🆕
🆕Quiz 1: Classes [Dr. Aljibreen] (252) 🆕
🆕 Quiz 1: 2D Array [Dr. Abrar] 🆕
4 – Ch4: Inheritance
Expand
4 – Ch4: Inheritance
6 Topics
4.1: Chapter Overview
4.2: What is Inheritance
4.3: Inheritance example part 1
4.4: Inheritance example part 2
4.5: Pet HW – Part 1
4.6: Pet HW – Part 2
5 – Ch5: Polymorphism, abstract classes & Interfaces
Expand
5 – Ch5: Polymorphism, abstract classes & Interfaces
9 Topics
5.1: Taking a step back and looking at the bigger picture (VERY IMPORTANT!!!)
5.2: What is polymorphism
5.3: Animal kingdom Polymorphism example
5.4: Dynamic binding vs Static Binding
5.5: Quiz Solution – (Classes, Inheritance and Polymorphism) Part 1
5.6: Quiz Solution – (Classes, Inheritance and Polymorphism) Part 2
5.7: Abstract classes
5.8: What is an Interface?
5.9: implementing an interface example
6 – Ch6: Comparable and Comparator (SAM)
Expand
6 – Ch6: Comparable and Comparator (SAM)
3 Topics
6.1: Comparable interface
6.2: Comparator Interface
6.3: Comparable vs Comparator [اثراء – نظري]
7 – Ch7: Java Collection Framework (JCF)
Expand
7 – Ch7: Java Collection Framework (JCF)
22 Topics
7.1: JCF Intro
7.2: What are collections?
7.3: Collection Methods (sort, fill, frequency, shuffle)
7.4: Collection Methods (Binary Search)
7.7: ArrayList vs Array important note
7.5: ArrayLists Part1
7.6: ArrayLists Part2
7.8: ArrayLists – Example1
7.9:ArrayLists – Example2
7.9B [NEW🔥252] Practice: ArrayList with Multi Level Comparable & Comparator from File and Split
7.10: LinkedList
7.11: LinkedList – Example
7.12:LinkedList – Example2
7.13: Iterators in Java
7.14: Stack & Queue
7.15: Priority Queue
7.16: Sets (HashSet, LinkedHashSet and TreeSet)
7.17: Maps (HashMap)
7.18: Set Practice
7.19: HashMap Practice part 1
7.20: HashMap Practice part 2
Cheatsheet for JCF chapter – كل المثدات المهمة
Quiz: Major 2 review
Expand
Quiz: Major 2 review
2 Quizzes
CS102 Major2 Practice
JCF & Comparable: Parking Violation
8 – Ch8: Generic Class
Expand
8 – Ch8: Generic Class
7 Topics
8.1: Generic Methods
8.2: Generic Classes
8.3; Generic Interface + Bounding (Important)
8.4: Generic Practice MCQ
8.5: Generic Pratice Coding
8.6: Review questions for major and final: Generic and JCF (lab6) PART 1
8.7: Review questions for major and final: Generic and JCF (lab6) PART 2
9 – Ch9: Recursion
Expand
9 – Ch9: Recursion
4 Topics
9.1: Introduction to Recursion
9.2: The call stack
9.3: Reverse a String practice – Case Base
9.4: Natural Sum – Divide and conquer
تشابتر الزنقة لميجر 1
Expand
تشابتر الزنقة لميجر 1
5 Topics
Class design Theory
Classes and objects Practical
2D Arrays + Files summary
Class Inheritance – Import for MAJOR 1 – Part 1
Class Inheritance – Import for MAJOR 1 – Part 2
تشابتر الزنقة لميجر 2
Expand
تشابتر الزنقة لميجر 2
10 Topics
[252 🔥] 📋✈️تعال ارتب لك كيف تذاكر و توصل للقمة!
1️⃣ Structure of the Exam & What to Expect – 8 min
2️⃣ Abstract & Polymorphism – 20 min
3️⃣ ملخص لبث كامل في 15 دقيقه بس – فيه كل الاشياء اللي تحتاج تعرفها
4️⃣ Solving Major 2 Exam – Equipment part 1 – 20 min
5️⃣ Solving Major 2 Exam – Equipment part 2 – 20 min
6️⃣Solving Old Major 2 – 242 – Q1
7️⃣Solving Old Major 2 – 242 – Q2
8️⃣Final Sprint – الزبدة (لا تشوفه الا بالاخير) – Soon
Major 2 Cheatsheet – كل المثدات المهمة
Old Exams – حل اولدات
Expand
Old Exams – حل اولدات
9 Topics
Final 241 – [Q1] – 2D Array with recursion – part 1
Final 241 – [Q1] – 2D Array with recursion – part 2
Final 241 – [Q2] – JCF with Generics
Final 241 – [Q3] – OOP Concepts – part 1
Final 241 – [Q3] – OOP Concepts – part 2
Major 1 – 242 – [Q1] – 2D Array with Classes
Major 1 – 242 – [Q2] – Classes and inheritence
Major 2 – 242 – [Q1] – Abstract Class, Interface, Polymorphism, Comparable
Major 2 – 242 – [Q2] – JCF (Lists & Sets)
>> NEW live Streams – 252 <<
Expand
>> NEW live Streams – 252 <<
39 Topics
1. Classes Vs Objects – Important – 27 Dec
2. 2D Arrays – How to read from file – 8 Jan
3. Classes | Objects | Constructors | this [Insert code FAST] – مهم
4. Classes [Review | Static Variable] – 25 Jan
4. Classes [Compostion | Inheritence] – 25 Jan
Major Revision [2D array] – 28 Jan
Workshop – 30 Jan – part 1
Workshop – 30 Jan – part 2
Workshop – 30 Jan – part 3
Workshop – 30 Jan – part 4
6. Major 1 [Exam night Review] – 2D question – 31 Jan
6. Major 1 [Exam night Review] – Classes Question part 1 – 31 Jan
6. Major 1 [Exam night Review] – Classes Question part 2 – 31 Jan
9. Abstract vs Interface – and Comparables [NEW SLIDES] – Apr 4
10. JCF Part 1 (ArrayList vs LinkedList | Iterator) – Apr 7
10. JCF Part 2 (Practice – ممتاز ) – Apr 7
11. JCF: Sets HashMap Part 1 – 14 Apr – فيه مشكلة بالصوت
11. JCF: Sets HashMap Part 2 – 14 Apr – ما يحتاج تشوف – مررره مفيد – اللي قبله عشان تفهم
12. [مهم] Solve Major 2 – Qimah Practice – 15 Apr
13. Solving Major 2: – The Summit Part 1 & 2 – 17 Apr
13. Solving Major 2: – The Summit Part 3 – main – 17 Apr
13. Solving Major 2: Esport – 17 Apr
14. Solving Major 2: La Masia – Part 1 – 18 Apr
14. Solving Major 2: La Masia – Part 2 – 18 Apr
15. Generics [Method, Class, Bounding] – 27 Apr
16. Recursion – 28 Apr
17. Hashmap important ideas + 2D solving final 251 – 3 May
18. 2D workshop (iterator, PQ, Hashmap) – 4 May
19. FINAL EXAM – Part 2 – Foundations – اللي ما شاف شي ولا يعرف شي يشوف ذا
20. FINAL EXAM – PART 2 – TASK 1 to 3 | 6/May BASED ON 251
20. FINAL EXAM – PART 2 – TASK 4 to 5 | 6/May BASED ON 251
21. FINAL 2D + JCF: Part 1 – 7/May [Task 1 – 3]
21. FINAL 2D + JCF: Part 2 – 7/May [Task 4 – 5]
22. FINAL 2D + JCF: (La Masia) – 7/May
23. FINAL GENERICS – 8/May
24. FINAL GENERICS Part 2 – 8/May
25. FINAL RECURSION – 8/May
26. FINAL – البث الوداعي – اهم النصايح مهممممم
27. FINAL – (PART 1 and PART 2) 251 – 10/May
CS102 Project
Expand
CS102 Project
9 Topics
What is UML?
Understanding the project – كيف تبدا
How to import a project
[Course Registration System] Understanding
[Course Registration System] UML
[POS] Understanding
[POS] explained Live#1
[POS] explained live#2
[Not for Submission] اكواد لبروجكتات قديمة
CS102 Project 251
Expand
CS102 Project 251
2 Topics
The Shared Foundation – How to Start and Build Your CS102 Project
Project Breakdown by Instructor – What’s Required and How to Approach It
live Streams – 251
Expand
live Streams – 251
19 Topics
Live#1 – CS101 Review, Classes And Objects Intro – 6 Sept 2025
Live#1 – Solving Old Quiz – 6 Sept 2025
Live#2 – 2D Arrays, reading from files – 17 Sept 2025
Live#2 – 2D Arrays, reading from files Examples – IMPORTANT – 17 Sept 2025
Live#3 [Very detailed Live: Major 1 prep] 27, Sept 2025
Live#4 [Solving Old Major: 2D Question] 03, Oct 2025
Live#4 [Solving Old Major: Classes Inheritance] 03, Oct 2025
Live#5 [كيف الاختبار وش بيجي؟ – 17 دقيقة ] 06, Oct 2025
Live#5 [Major1: File, 2D, Write, ParseInt- 67 دقيقة ] 06, Oct 2025
Live#5 [Equals in classes (VERYY GOOD) – 38 دقيقة ] 06, Oct 2025
Live#6 [Major1: اخر بث قبل الاختبار – مهم – ساعه و 46 دقيقة ] 07, Oct 2025
Live#7 [ JCF LinkedList ] 22, Oct 2025
Live#8 [ Abstract and Polymorphism (Question/Mcq/TF story) ] 1, Nov 2025
Live#9 [ Generics ] 15, Nov 2025
Live#10 [ Finals: 2D Question from Old final ] 23, Nov 2025
Live#11 [ Finals: Classes And Abstract Class final 242] 30, Nov 2025
Live#11 [Finals: Classes And Abstract Class final 242 Part 2] 30, Nov 2025
#live 13 [Finals: Generics Old but great Live]
#live 14 [Finals: Exam structure and hashmaps] Dec 5, 2025
live Streams – 242
Expand
live Streams – 242
13 Topics
Live 1: 2D Array arrays – 13/Jan/2025
Live 2: Classes and Object – VERY IMPORTANT – 18/Jan/2025
Live 3: Classes and Object – Review/static/equals – 25/Jan/2025
Live 3: Solving Qimah Mock Exam – Part 1- Great for Critical thinking – 2/Feb/2025
Live 3: Solving Qimah Mock Exam – Part 2- Main Questions – 2/Feb/2025
Live 4: Major 1 Review – STATEGY FOR THE MAJOR – 15/Feb/2025
Live 4: Major 1 Review – Solving 2D Array Questions – 15/Feb/2025
Live 4: Major 1 Review – Solving class design – Hard methods – Array as attribute – 15/Feb/2025
Live 5: Major 1 Review – Solving Qimah Mock – 16/Feb/2025
Live 6: Abstract – Poly – interfaces – Comparable – Comparator – 14/Apr/2025
Live 7: JCF: ArrayList, LinkedList, Iterator, Collections methods – 19/Apr/2025
Live 7: JCF: SETS, Collections methods – 19/Apr/2025
Live 8: Major 2: Last minute cram session – 24/Apr/2025
live Streams – 241
Expand
live Streams – 241
21 Topics
Classes and objects part 2 – 28/Sept/2024
Major 1 Review #1: Classes and objects – 4 October 2024
Major 1 Review #2: Composition – 4 October 2024
Major 1 Review #3: 2D Arrays + Files – 5 October 2024
Major 1 Review #4: 2D Array + Class – 5 October 2024
SOLUTION: Major 1 – Oct 19 2024
Inheritance and abstract classes – 26 Oct 2024
Polymorphism – 27 Oct 2024
Interface + Comparables and Polymorphism review – 27 Oct 2024 (Tiktok Example)
Major 2 Review: Solving Old exams (Property, Villa, Flat) – 8 Nov 2024
Major 2 Review: Solving Old exams (Important tips) – 10 Nov 2024
Live#14 Finals – 2D Array with JCF Question in depth review – 8 Dec 2024
Live#15 Finals – Last Term Old Final – 2D Arrays with JCF Question – 9 Dec 2024
Live#15 Finals – Last Term Old Final – Class design – 9 Dec 2024
Live#15 Finals – Last Term Old Final – Generics Recursion – 9 Dec 2024
Live#16 Finals – Solving Qimah Mock Final Part 1 – 13 Dec 2024
Live#16 Finals – Solving Qimah Mock Final Part 2- 13 Dec 2024
Live#16 Finals – Solving Qimah Mock Final Part 3- 13 Dec 2024
Live#16 Finals – Tips and Tricks- 13 Dec 2024
Live#17 Final – 15 Dec 2024 Part 1
Live#17 Final – 15 Dec 2024 Part 2
live Streams – 232
Expand
live Streams – 232
17 Topics
Live #1 – 2D Arrays – 3/Feb/2024
Live #2– Classes and Objects – 10/Feb/2024
Live #3 – More 2D Arrays and Objects – 13/Feb/2024
Live #4 – Major 1 Review – Day 1
Live #5 – Major 1 Review – Day 2 – (2D Array + Files)
Live #5 – Major 1 Review – Day 2 – (Classes + Tips)
Live #6 – Abstract classes, interfaces, Polymorphism and comparables – 24/Apr/2024
Live #7 – JCF – Explaination – 29/Apr/2024
Live #7 – JCF – Practice Question – 29/Apr/2024
Live #8 – Major 2 – Old exams – part 1 – 1/May/2024
Live #8 – Major 2 – Old exams – part 2 – 1/May/2024
Live #9 – Major 2 – LAST REVIEW – 3/May/2024
Live#10 – Generics – 22/May/2024
Live#11 – Recursion – 22/May/2024
Live#12 – FINALS – Class design – 27/May/2024
Live#12 – FINALS – 2D Arrays – 27/May/2024
Live#13 – FINALS – Solving Major2 + Generics – 28/May/2024
live Streams – 231
Expand
live Streams – 231
22 Topics
Live#1 – Files and 2D Arrays
Live#2 – Class design
Live#3 – Class design, Inheritance, how to create objects from files.
Major 1 REVIEW – Live#4 – 2D Arrays
Major 1 REVIEW – Live#5 – Class design and Inheritance
Major 1 REVIEW – Live#6 – Solving hard sample majors – part 1
Major 1 REVIEW – Live#6 – Solving hard sample majors – part 2
Live#7 – polymorphism, interfaces and abstract classes
Live#8 – Comparable vs Comparator
Live#9 – JCF – ArrayList, HashSet
Live#10 – JCF – Iterator, Priority Queue and Maps
Live#11 – Major 2 – Review
Live#12 – Major 2 – Review Day 2
Live#13 – Generics
Live#14 – FINALS REVIEW – Class Design / Inheritance – Dec 20
Live#14 – FINALS REVIEW – 2D Array with class – Dec 20
Live#14 – FINALS REVIEW – 2D Array with JCF – Dec 20
Live#15 – FINALS REVIEW – Solving Major2 – Dec 21
Live#15 – FINALS REVIEW – Solving last term final – Dec 21
Live#16 – FINALS REVIEW – GENERICS PRACTICE – Dec 23 – LAST FINAL
Live#16 – FINALS REVIEW – RECURSION PRACTICE – Dec 23 – LAST FINAL
Live#16 – FINALS REVIEW – Quick Review + Exam tips – Dec 23 – LAST FINAL
live Streams – 222
Expand
live Streams – 222
16 Topics
Live #1 – 31 January – 2D Arrays & Files – Part 1
Live #1 – 31 January – 2D Arrays & Files – Part 2
Live #2 – 8 Feb – Classes – Part 1
Live #2 – 8 Feb – Classes – Part 2 (MOVIE HW SOLUTION)
Live #3 – 18 Feb – Classes – Quiz solution explained
Live#4 – 5 March Part 1 – Password validation from file
Live#4 – 5 March Part 2 – 2D array and classes (Hotel)
Live#5 – 11 March Part 1 – Major Review – Files & 2D Arrays
Live#5 – 11 March Part 2 – Major Review – Files & 2D Arrays
Live#6 – 12 March – Major Review – Classes And Inheritance
Live#7 – 30 March – (Abstract Class)
Live#7 – 30 March – (Comparable and Comparator)
Live#8 – April 1 – (JCF)
Live#10- April 29 – Major2 Review (Inheritance, Polymorphism, Abstract Class, Comparable & Comparators, and ArrayList)
Live#11- May 1 – Major2 Review (LinkedList, Sets, Iterators, solving sample exams) Part 1
Live#11- May 1 – Major2 Review (LinkedList, Sets, Iterators, solving sample exams) Part 2
live Streams – 223 summer
Expand
live Streams – 223 summer
8 Topics
Review #1: 2D Arrays + Files / 13-May
Review #2 Classes + Inheritance + Abstract Classes + Interfaces / 15-May (THOERY/PRACTICE)
Review #2 Classes + Inheritance + Abstract Classes + Interfaces / 15-May (MAIN QUESTION)
Review #3 Polymorphism + SAM + JCF1 / 20-May
Review #4 JCF3 + Generics / 21-May
Review #4 JCF3 + Generics (PRACTICE – IMPORTANT) / 21-May
Review #5 Recursion / 23-May
Review #6 MOCK EXAM SOLUTION + Final tips at the end / 24-May
Old assignment solutions
Expand
Old assignment solutions
16 Topics
Course assignment
Polymorphism And Abstraction Assignment
Pet HW
Inheritance Lab – Dr. Waleed
Lab 4B
Lab 4C
Assignment instand quiz
Lab 5 (Abstract Class)
Lab 7B (JFC)
Tutorial: Comparable/Comparator Tutorial
Assignment5: Java Collections
Tutorial: Collection List Set
Assignment 3: JCF Practice
Lab6: Generics + JCF
Major2 Sample Exam
CS102_Final_Exam_221 SOLUTION
test
Expand
test
2 Topics
ltest-1234
test12345
Previous Topic
Next Topic
3.1: What is a class? OOP high level concepts
⏱ 06:30
CS102: Computer Programming 2
499.00
اشترك الآن