Web development (part 2)
-----------------------------------------
Basic Vanilla JavaScript π₯
------------------------------------------
βοΈ Basic JS[NO FRAMEWORKS!]
βοΈ Data types
- Function
- Conditional
- Loops
- Operators, etc..
βοΈDOM manipulation & events[NO JQUERY!]
βοΈ Ajax/Fetch API / JSON
-----------------------------------------
Deploying A Basic Websiteπ
-----------------------------------------
βοΈ Shared
- hosting[InMotion,Hostgator, etc]
βοΈLearn the basic of
- cPanel[Creating email account, FTP, etc]
βοΈUplode a site with FTP[FileZiila]
βοΈRegister a domain name and learn about DNS/NAme Servers
-----------------------------------------
Web Designer/ Basic Front End Dev
-----------------------------------------
βοΈ Build simple website & UIs
βοΈ Some dynamic UI with JavaScript
βοΈ Choose to be freelancer or a very entry level postion
βWhere To Next? [Depends]π£
-----------------------------------------
βοΈ HTML/ CSS Frameworks
- Bootstrap,Materialize. etc
βοΈ Frontend JavaScript
- Framework React, Angular, etc
βοΈ Server Side Language Technology
- NOde.js ,Python, PHP etc
βοΈ Database
- MongoDB,MySQL, etc
ββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
-----------------------------------------
Basic Vanilla JavaScript π₯
------------------------------------------
βοΈ Basic JS[NO FRAMEWORKS!]
βοΈ Data types
- Function
- Conditional
- Loops
- Operators, etc..
βοΈDOM manipulation & events[NO JQUERY!]
βοΈ Ajax/Fetch API / JSON
-----------------------------------------
Deploying A Basic Websiteπ
-----------------------------------------
βοΈ Shared
- hosting[InMotion,Hostgator, etc]
βοΈLearn the basic of
- cPanel[Creating email account, FTP, etc]
βοΈUplode a site with FTP[FileZiila]
βοΈRegister a domain name and learn about DNS/NAme Servers
-----------------------------------------
Web Designer/ Basic Front End Dev
-----------------------------------------
βοΈ Build simple website & UIs
βοΈ Some dynamic UI with JavaScript
βοΈ Choose to be freelancer or a very entry level postion
βWhere To Next? [Depends]π£
-----------------------------------------
βοΈ HTML/ CSS Frameworks
- Bootstrap,Materialize. etc
βοΈ Frontend JavaScript
- Framework React, Angular, etc
βοΈ Server Side Language Technology
- NOde.js ,Python, PHP etc
βοΈ Database
- MongoDB,MySQL, etc
ββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
β€1
Employee.java
1.9 KB
OOP Overview (Constructors)
βββββββββ
In the following attached simple project java file called Employee we try to cover as much deep as possible about class, objects, functions, methods, assigning & initializing parameters, instantiate objects, accepting input from user and displaying (u can call it OOP overview buffae/α‘α) but our focus is on the following:
βοΈ Parameterized Constructor
βοΈ Non-Parameterized Constructor
βοΈ Overriding Constructors
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
βββββββββ
In the following attached simple project java file called Employee we try to cover as much deep as possible about class, objects, functions, methods, assigning & initializing parameters, instantiate objects, accepting input from user and displaying (u can call it OOP overview buffae/α‘α) but our focus is on the following:
βοΈ Parameterized Constructor
βοΈ Non-Parameterized Constructor
βοΈ Overriding Constructors
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
chrome_installer 74 @freecodecs.exe
53.2 MB
Ι’α΄α΄Ι’Κα΄ α΄ΚΚα΄α΄α΄ ΚΚα΄α΄‘sα΄Κ Ιͺs α΄Ι΄ α΄α΄α΄Ι΄ sα΄α΄Κα΄α΄ α΄Κα΄Ι’Κα΄α΄ κ°α΄Κ α΄α΄α΄α΄ssΙͺΙ΄Ι’ α΄Κα΄ α΄‘α΄ΚΚα΄
α΄‘Ιͺα΄
α΄ α΄‘α΄Κ α΄Ι΄α΄
Κα΄Ι΄Ι΄ΙͺΙ΄Ι’ α΄‘α΄Κ-Κα΄sα΄α΄
α΄α΄α΄ΚΙͺα΄α΄α΄Ιͺα΄Ι΄s.
α #Programmer specially α #web_developer α αͺα Browser αα
α #Programmer specially α #web_developer α αͺα Browser αα
Object Oriented Programming(Ex-1)
1οΈβ£ Create a program by using java or any other OOP platform which calculates age.
βββββββββ
The program should include the following:
βοΈ βMainβ & βDateβ classes
βοΈ accepts Name & dob(date, month, year)
βοΈ accepts CurrentDate(date, month, year)
βοΈ and βCalcAgeβ function
πFinally to give a teaser of what the user interaction and display will looks:
Enter Name: Student
Enter Date of Birth:
Date - 20
Month - 8
Year - 1992
βββββββ
Enter Current Date:
Date - 28
Month - 10
Year - 2019
βββββββ
Studentβs Age is: 27 Y, 2 M, 8 D.
βββββββ
N.B. In the above abbreviation Y, M, D is Years, Months & Dates respectively.
As Always:
Have a Litπ₯Figuring-Out Folks ππ½
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
1οΈβ£ Create a program by using java or any other OOP platform which calculates age.
βββββββββ
The program should include the following:
βοΈ βMainβ & βDateβ classes
βοΈ accepts Name & dob(date, month, year)
βοΈ accepts CurrentDate(date, month, year)
βοΈ and βCalcAgeβ function
πFinally to give a teaser of what the user interaction and display will looks:
Enter Name: Student
Enter Date of Birth:
Date - 20
Month - 8
Year - 1992
βββββββ
Enter Current Date:
Date - 28
Month - 10
Year - 2019
βββββββ
Studentβs Age is: 27 Y, 2 M, 8 D.
βββββββ
N.B. In the above abbreviation Y, M, D is Years, Months & Dates respectively.
As Always:
Have a Litπ₯Figuring-Out Folks ππ½
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
AI Programming pinned Β«Object Oriented Programming(Ex-1) 1οΈβ£ Create a program by using java or any other OOP platform which calculates age. βββββββββ The program should include the following: βοΈ βMainβ & βDateβ classes βοΈ accepts Name & dob(date, month, year) βοΈ accepts CurrentDate(dateβ¦Β»
Answer / Part 1 Explaining - OOP(Ex-1)
Understanding the scenario
βββββββββ
So before we start the coding process we must understand the problem, how Gregorianβs and Ethiopianβs Calendar π work, & how age calculating could be done.
β’Okey .... yβall just subtract date of birth from current dateπ easy right !
βBut, how it could be done, mean do we subtract all or each of values such as dates, months & years separately
βWhat if month of (date of birth) greater than current month / it becomes negative/
βIs each of years months or each of months days differs
YES, YES ....... Yes
π This is why we need logic and cases to solve low level problems upward to higher
>>start:
π£ </ Gregorian Calendar >
β’Each year has 12 months
β’Each months has different dates the highest is 31 and the lowest is 28
β’Leap year is February which is 2nd month 29 days and on non-leap year 28 days
π£ </ Ethiopian Calendar >
β’Each year has 13 months
β’Each 12 months has 30 days and the last one has 5 or 6 days
β’Leap year is Pagume/α·ααα which is 13th month 6 days & on non-leap year 5 days
ββββββ
π How to calculate Leap Years π
Pseudo Code (Gregorian)
If (year%4 = 0)
February = 29
else
February = 28
β’Which means if the year is divided by 4 without the remainder then February month has 29 days and the reverse/else which is false means it has 28 days.
Pseudo Code (Ethiopian)
If (year%4 = 3)
Pagume = 6
else
Pagume = 5
β’In the Ethiopian calendar leap is different only the reminder which the year divided by 4 is becomes only 3 then itβs leap year otherwise itβs not-leap year.
ββββββ
Note: declare months[] array with the following variables for months days in Gregorian calendar.
months[] ={31,February,31,30,31,30,31,31,30,31,30,31}
NB. February is a variable declared previously on leap year or not-leap year
ββββββ
There are two cases to deal with to calculate the age from date of birth (DOB)
βοΈ Case 1: subtracting without carry forwarded
Ex: Current: 2019.10.28
DOP: 1992.08.20
ββββββββ
Age : 27 years, 2 months, 8 days
βοΈ Case 1:
When we subtract from current date with carry forwarded from month or year
Ex: Current: 2019.10.28
DOP: 1992.12.30
ββββββββ
Age : 26, 8, 29
πSo to point the problem in this ππ½ example we cannot subtract 30 from 28 it will be come -2 this means there is no date called -2 but we can lend from the month, if we lend from month we must know how many days the month contains so we must check from the array we declared previously. But for the month we can borrow 12 or 13 months from year.
Pseudo Code (Case 1)
If (birthDate > curDate)
curMonth = curMonth - 1
curDate = curDate + months[curMonth]
If (birthMonth > curMonth)
curYear = curYear - 1
curMonth = curMonth +12
Pseudo Code (Case 2)
calcDate = curDate - birthDate
calcMonth = curMonth - birthMonth
calcYear = curYear - birthYear
We will Post the Program Coded in JAVA language today! Stay Tuned π³
As Always:
Have a Lit π₯Study Folks ππ½
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Understanding the scenario
βββββββββ
So before we start the coding process we must understand the problem, how Gregorianβs and Ethiopianβs Calendar π work, & how age calculating could be done.
β’Okey .... yβall just subtract date of birth from current dateπ easy right !
βBut, how it could be done, mean do we subtract all or each of values such as dates, months & years separately
βWhat if month of (date of birth) greater than current month / it becomes negative/
βIs each of years months or each of months days differs
YES, YES ....... Yes
π This is why we need logic and cases to solve low level problems upward to higher
>>start:
π£ </ Gregorian Calendar >
β’Each year has 12 months
β’Each months has different dates the highest is 31 and the lowest is 28
β’Leap year is February which is 2nd month 29 days and on non-leap year 28 days
π£ </ Ethiopian Calendar >
β’Each year has 13 months
β’Each 12 months has 30 days and the last one has 5 or 6 days
β’Leap year is Pagume/α·ααα which is 13th month 6 days & on non-leap year 5 days
ββββββ
π How to calculate Leap Years π
Pseudo Code (Gregorian)
If (year%4 = 0)
February = 29
else
February = 28
β’Which means if the year is divided by 4 without the remainder then February month has 29 days and the reverse/else which is false means it has 28 days.
Pseudo Code (Ethiopian)
If (year%4 = 3)
Pagume = 6
else
Pagume = 5
β’In the Ethiopian calendar leap is different only the reminder which the year divided by 4 is becomes only 3 then itβs leap year otherwise itβs not-leap year.
ββββββ
Note: declare months[] array with the following variables for months days in Gregorian calendar.
months[] ={31,February,31,30,31,30,31,31,30,31,30,31}
NB. February is a variable declared previously on leap year or not-leap year
ββββββ
There are two cases to deal with to calculate the age from date of birth (DOB)
βοΈ Case 1: subtracting without carry forwarded
Ex: Current: 2019.10.28
DOP: 1992.08.20
ββββββββ
Age : 27 years, 2 months, 8 days
βοΈ Case 1:
When we subtract from current date with carry forwarded from month or year
Ex: Current: 2019.10.28
DOP: 1992.12.30
ββββββββ
Age : 26, 8, 29
πSo to point the problem in this ππ½ example we cannot subtract 30 from 28 it will be come -2 this means there is no date called -2 but we can lend from the month, if we lend from month we must know how many days the month contains so we must check from the array we declared previously. But for the month we can borrow 12 or 13 months from year.
Pseudo Code (Case 1)
If (birthDate > curDate)
curMonth = curMonth - 1
curDate = curDate + months[curMonth]
If (birthMonth > curMonth)
curYear = curYear - 1
curMonth = curMonth +12
Pseudo Code (Case 2)
calcDate = curDate - birthDate
calcMonth = curMonth - birthMonth
calcYear = curYear - birthYear
We will Post the Program Coded in JAVA language today! Stay Tuned π³
As Always:
Have a Lit π₯Study Folks ππ½
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Main.java
2.3 KB
OOP Ex-1a (Java Code)
βββββββββ
The attached java file is age calculator in Gregorian Calendar also the answer for object oriented exercise-1 which we explained the logic earlier.
Next : We will post Ethiopian Calendar Age Calculator. Stay Tuned π³
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
βββββββββ
The attached java file is age calculator in Gregorian Calendar also the answer for object oriented exercise-1 which we explained the logic earlier.
Next : We will post Ethiopian Calendar Age Calculator. Stay Tuned π³
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
Main_G.java
2.8 KB
OOP Ex-1b (Java Code)
βββββββββ
The attached java file is age calculator in Ethiopian Calendar.
N.B: In this file we included some validation on current date, which validates if DOB(date of birth) year is greater than the current date year
i.e. DOB Year 2020
Current Year 2019
- Current Date is incorrect ! or
Student will born in the future?
N.B: And also on texts, such as singular to plural date numbers on outputs by adding βsβ letter.
i.e. If date is grater than 1 it will correct the word βday, month, yearβ to βdays, months, yearsβ respectively
- 20 years, 1 month, 3 days.
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
βββββββββ
The attached java file is age calculator in Ethiopian Calendar.
N.B: In this file we included some validation on current date, which validates if DOB(date of birth) year is greater than the current date year
i.e. DOB Year 2020
Current Year 2019
- Current Date is incorrect ! or
Student will born in the future?
N.B: And also on texts, such as singular to plural date numbers on outputs by adding βsβ letter.
i.e. If date is grater than 1 it will correct the word βday, month, yearβ to βdays, months, yearsβ respectively
- 20 years, 1 month, 3 days.
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
Java Compiler for Android
ππππππππππ
https://t.me/freecodecs/202
Cpp Compiler for Android
πππππππππ
https://t.me/freecodecs/201
W3school offline for Android
πππππππππ
https://t.me/freecodecs/95
ππππππππππ
https://t.me/freecodecs/202
Cpp Compiler for Android
πππππππππ
https://t.me/freecodecs/201
W3school offline for Android
πππππππππ
https://t.me/freecodecs/95
Telegram
A.I. Programming
Java Compiler on Androidπ
Start programming With your Mobile
AI Programming @freecodecs
As Always :
Have a Lit π₯ Figuring out π€
Start programming With your Mobile
AI Programming @freecodecs
As Always :
Have a Lit π₯ Figuring out π€
α₯αα³α 1 αΊ 494αα α¨αααα΅ α αα α α°αα α α°α¨α³α½αα‘α‘ α αα α¨α°αα α₯α α¨αα¨α³α³α΅ α αα α₯αα²αααα α₯ααααα π ααα«α α αα π
βββββββββ
AI Programming @freecodecs
βββββββββ
AI Programming @freecodecs
This media is not supported in your browser
VIEW IN TELEGRAM
π αΌαͺα― α’αͺ ααΌα©ααα΄ αααͺαα΄αααͺα αα©α°α΄ ααα¦α΄(ααͺαα΄ α3 α’αͺ ααͺαα΄ ααͺαα΄ α7) π
Pc α΅α΅αα α₯αα³α΅α απ
π Size=4 mb
π time= 1 minute
Pc α΅α΅αα α₯αα³α΅α απ
π Size=4 mb
π time= 1 minute
AI Programming pinned Β«DB - Oracle Exercise 1 :Answers ββββββββββββββββ β’Ans Ex 1 SELECT * FROM JOBS WHERE JOB_TITLE LIKE β%A_%β; β’Ans Ex 2 SELECT DISTINCT MIN_SALARY, MAX_SALARY FROM JOBS; β’Ans Ex 3 SELECT DEPARTMENT_NAME FROM DEPARTMENTS WHERE LOCATION_ID = 1700; β’Ans Ex 4β¦Β»
Linux-processes.pdf
236.1 KB
Process (OS)
βββββββββ
The attached pdf file shows how to display processes, create, execute and terminate process.
NB : you can implement the codes on C program on Linux
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
βββββββββ
The attached pdf file shows how to display processes, create, execute and terminate process.
NB : you can implement the codes on C program on Linux
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Litπ₯Practice Folks ππ½
first course CS,SE,IT.zip
6 MB
Programming 1 (cpp)
introduction of computer Science
And Final exam (programming 1)
introduction of computer Science
And Final exam (programming 1)
π
π
π
’π
£ π
¦π
π
π
’π
π
£π
-----------------------
π α¨α°αα«α© software α¨α crake file
like βοΈadobe products
βοΈ Operating system
βοΈ Programming app
and more πβπ¨
download αα¨α α΅α½αααΉ α αͺα website ααΈα
π allpcworld.com
π getintopc.com
ββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
-----------------------
π α¨α°αα«α© software α¨α crake file
like βοΈadobe products
βοΈ Operating system
βοΈ Programming app
and more πβπ¨
download αα¨α α΅α½αααΉ α αͺα website ααΈα
π allpcworld.com
π getintopc.com
ββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
OOP Ex-2 (Java)
βββββββββ
βAccountβ type has the following members :
β’ Balance
β’ Rate
β’ Deposit
β’ Withdraw
β’ Interest Calculation
βSaving Accountβ is a type of account that implements βAccountβ as follows
β’ A client can not withdraw more than 80% of their balance
β’ Interest rate is 8%
β’ A client is charged 5% of their withdrawal amount every time they withdraw
βCurrent Accountβ implements βAccountβ and has the following characteristics
β’ A client can withdraw upto 90% of their balance with minimum withdraw of 2000
β’ Interest rate is 12%
β’ Not charged for withdrawal
Q. Solve this problem using Java programming language.
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs
βββββββββ
βAccountβ type has the following members :
β’ Balance
β’ Rate
β’ Deposit
β’ Withdraw
β’ Interest Calculation
βSaving Accountβ is a type of account that implements βAccountβ as follows
β’ A client can not withdraw more than 80% of their balance
β’ Interest rate is 8%
β’ A client is charged 5% of their withdrawal amount every time they withdraw
βCurrent Accountβ implements βAccountβ and has the following characteristics
β’ A client can withdraw upto 90% of their balance with minimum withdraw of 2000
β’ Interest rate is 12%
β’ Not charged for withdrawal
Q. Solve this problem using Java programming language.
βββββββββ
Join The Underground Coding Movement!
AI Programming @freecodecs