PRIMARY SCHOOL COMPETITORS – LESSON PLAN
Lessons on 11 November 2018
Strings – on the site in the menu C LECTURES (C PREDAVANJA) -> Strings- Task 1: Palindrome:
- Task 2: Consecutive letters:
Lessons on 18 November 2018
- Selection sort. On the site in the menu Algorithms -> Sorting arrays
- Task 1: Arranging the garden:
- Task 2: The shortest fence
Lessons on 25 November 2018
- Insertion sort. On the site in the menu Algorithms -> Sorting arrays
- Task 1: Sorting numbers:
- Task 2: The most valuable items
- Task 3: Distinct elements of an array
- Task 4: Removing elements
Lessons on 2 December 2018
- Strings – revision
- Example 1: The lexicographic minimum:
- Matrices C Lectures -> Matrices
- Example 2: The average grade:
- Example 3: The knight attacks
Lessons on 9 December 2018
- Strings, transforming arrays, sorting arrays, matrices – revision
- Example 1: The value of an expression:
- Example 2: Rotating an array cyclically:
- Example 3: Merging:
- Example 4: The number of bombs around:
Lessons on 16 December 2018
- Linear and binary search: Algorithms -> Binary search
- Example 1: Linear search for a character:
- Example 2: Binary search for a character:
- Example 3: Circular zones:
- Strings – revision: C Lectures -> Strings
- Example 4: The Caesar cipher:
Lessons on 23 December 2018
- Strings, arrays, sorting arrays, matrices, binary and linear search – revision
- Example 1: Mirroring a matrix :
- Example 2: Binary search:
- Example 3: Arabic to Roman numerals:
- Example 4: Translating points:
Lessons on 20 January 2019
- Pointers: C/C++ lectures -> Pointers in C/C++
- Functions in C/C++: C/C++ lectures -> Functions in C/C++
- Example 1 maxAB: C/C++ lectures -> Functions in C/C++
- Example: Swapping data -> C/C++ lectures -> Functions in C/C++
- Example: Swapping places -> C/C++ lectures -> Functions in C/C++
- Relational operators: in the menu C/C++ lectures -> Operators in C/C++
- Bitwise operators (Example: bitwise operations) -> C/C++ lectures -> Operators in C/C++
- Example: Bit shifting -> C/C++ lectures -> Operators in C/C++
- Algorithm example: Divisibility by 3:
Lessons on 27 January 2019
- Mathematical algorithms: the Fibonacci sequence
- Finding the prime numbers in the interval from a to b.
- An algorithm for finding prime numbers efficiently
Lessons on 10 February 2019
- Prime numbers and factorization Algorithms -> Mathematical algorithms -> Prime numbers and factorization
- Checking whether a number is prime
- Finding all divisors of a number
- Factorizing a number
Lessons on 17 February 2019
- The sieve of Eratosthenes Algorithms -> Mathematical algorithms -> Prime numbers and factorization
- Finding the prime numbers in the interval from 1 to n
- Using the sieve of Eratosthenes to factorize a number
- Task 1: Factorization:
- On the site in the menu Examples -> Algorithms – examples
- Task 2: Factorization 2:
- On the site in the menu Examples -> Algorithms – examples
Lessons on 24 February 2019
- Finding the GCD and the LCM efficiently – Euclid's algorithm
- Example 1: GCD and LCM :
- Example 2: Find the greatest GCD:
- Example 3: The GCD of two products:
Lessons on 24 March 2019
- The municipal competition 2019
