├── .DS_Store ├── Demo-Jan3-2022 ├── abc.png ├── xyz.png └── .DS_Store ├── git-demo-13jan ├── abc.png ├── def.png └── ghi.png ├── Concept_Jan_13 ├── Session-1.png ├── Session-2.png └── HTML │ ├── Header.html │ ├── Task1.html │ ├── Division.html │ └── css.html ├── Practise_Oct_27 ├── white-bg.jpeg ├── logicaloperators.java ├── tableOfSeven.java ├── oddEven.java ├── Factors.java ├── tableOfAllNumbers.java ├── doublefloat.java ├── printAllEvenNumbers.java ├── whileAnddowhile.java ├── PrimeNumber.java ├── greatestin3numbers.java ├── Elseif.java └── forLoop.java ├── Concept_Jan_27_2022 ├── Session-1.png ├── Session-2.png └── HTML │ ├── demo2.html │ ├── Heading.html │ ├── Task1.html │ ├── Para.html │ ├── Structure.html │ └── Paragraph.html ├── FirstHand_April_05_2022 ├── .DS_Store ├── Class-notes │ ├── .DS_Store │ ├── Byte.txt │ ├── DataTypes.txt │ └── IDE.txt ├── HelloWorld.java ├── IFElse.java ├── RelationalOperators.java └── LogicalOperators.java ├── Concept_Feb_09 ├── Notes │ └── Session-1.png ├── demo.html ├── Paragraph.html ├── Division.html └── Format.html ├── Concept_Oct-25 ├── Notes │ ├── Session-2.png │ └── Pre-Course_Oct-25.png └── Concept │ └── HTML │ ├── Skelton.html │ ├── Image.html │ ├── Heading.html │ ├── Paragraph.html │ ├── Division.html │ ├── Task3.html │ └── Task1.html ├── Concept_Oct_04 ├── Notes │ ├── Session-2.png │ ├── Food_Webpage.png │ └── Pre-course_oct_04.png └── HTML │ ├── Heading.html │ ├── span.html │ ├── Anchor.html │ ├── Task1.html │ ├── Paragraph.html │ ├── Table.html │ ├── Food_world │ └── index.css │ └── Image.html ├── FirstHand_Oct_12 ├── Notes │ ├── Session-1.png │ └── Session_3.png └── HTML │ ├── first.html │ ├── Second.html │ ├── List.html │ ├── Heading.html │ ├── Paragraph.html │ ├── Division.html │ ├── Table.html │ └── Image.html ├── Concept_21-Mar-2022 ├── Notes │ ├── Session-1.png │ └── Session-2.png └── HTML │ ├── heading.html │ ├── image.html │ ├── attribute.html │ ├── border_Padding.html │ ├── Paragraph.html │ ├── margin.html │ ├── cssdemo.html │ └── division.html ├── Concept_Mar_03_2022 ├── Notes │ ├── Session-1.png │ └── Session-2.png └── HTML │ ├── heading.html │ ├── margin.html │ ├── cssdemo.html │ ├── Structure.html │ ├── Paragraph.html │ ├── para.html │ └── div.html ├── FirstHand_Oct_17 ├── HelloWorld.java ├── GreaterNumber.java ├── ifelse.java └── Variables.java ├── Concept_May_27_2022 ├── Area.java ├── Greater.java ├── Equality.java └── Strings.java ├── Practise_Oct_18 ├── whilevsdowhile.java ├── factors.java ├── oddeven.java ├── elseif.java ├── number_of_factors.java ├── prime.java ├── operators.java └── loops.java ├── Concept_Jan_03 ├── index.html ├── Task1.html ├── Image.html ├── fetch.html ├── table.html ├── float.html └── BMP.html ├── FirstHand_Dec_22 ├── HelloWorld.java ├── IfElse.java ├── TypeCasting.java ├── LogicalOperators.java ├── RelationalOperators.java └── Variables.java ├── FirstHand_Oct_26 ├── HelloWorld.java ├── TypeCasting.java ├── Variable.java └── ifelse.java ├── Practise_Oct_09 ├── sum.java ├── oddeven.java ├── loops.java ├── Prime.java ├── elseif.java └── operators.java ├── Practise_Nov_26 ├── TableOf7.java ├── forloopExamples.java ├── Modulo.java ├── Greatest3Numbers.java ├── loops.java ├── assignment.java ├── Factors.java ├── ElseIf.java ├── whileLoopsAndDoWhileLoops.java └── LogicalOperators.java ├── Concept_May_26_2022 ├── HelloWorld.java ├── ArithemeticOperators.java ├── Calculations.java ├── RelationalOperators.java └── Variables.java ├── Practise_May_30_2022 ├── ForLoop1.java ├── NotOperator.java ├── PatternAstric.java ├── ForLoop2.java ├── PatternReverse.java ├── TableOf7.java ├── Updation.java ├── OrOperator.java ├── Multipleof3and5.java ├── Greater2.java ├── Prime.java ├── Greatest3Numbers.java └── NestedIf.java ├── Practise_Jan_28_2022 ├── HelloWorld.java ├── TypeCasting.java ├── IfElse.java ├── RelationalOperators.java └── Variables.java ├── Practise_Nov_14 ├── TableOf7.java ├── AllOddNumbers.java ├── ForLoopExamples.java ├── updation.java ├── NumberOfFactors.java ├── PrimeNumbers.java ├── OddEven.java ├── ForLoop.java ├── whileAndDoWhileLoops.java └── LogicalOperators.java ├── FirstHand_Nov_25 ├── TakeInput.java ├── GreaterNumberUsingInput.java ├── Typecasting.java ├── HelloWorld.java ├── ifElse.java ├── RelationalOperators.java └── Variables.java ├── Practise_Dec_10 ├── TableofSeven.java ├── LoopsContinued.java ├── OddEven.java ├── PrimeNumbers.java ├── Loops.java ├── updation.java ├── Factors.java ├── WhileLoopAndDoWhileLoop.java └── LogicalOperators.java ├── Practise_Dec_23 ├── ForLoopExamples.java ├── GreatestBetween3Numbers.java ├── Prime.java ├── Tableof7.java ├── Assignment.java ├── Loops.java ├── OddEven.java ├── Count_of_Factors.java └── Elseif.java ├── FirstHand_Dec_09 ├── HelloWorld.java ├── IfElse.java ├── TypeCasting.java ├── IfElseIf.java ├── RelationalOperators.java └── Variable.java ├── FirstHand_Sep_25 ├── count.java ├── sum.java ├── Hello.java ├── largest.java ├── Loops.java ├── prime.java └── Session3.java ├── FirstHand_Jan_04_2022 ├── HelloWorld.java ├── TypeCasting.java ├── IfElse.java ├── RelationalOperators.java └── Variables.java ├── FirstHand_Nov_13 ├── HelloWorld.java ├── IfElse.java ├── Typecasting.java ├── NestedIf.java ├── Operators.java └── variables.java ├── FirstHand_Oct_08 ├── HelloWorld.java ├── Datatypes.java └── Typecasting.java ├── Practise_April_06_2022 ├── TableOf7.java ├── usingTwoIfs.java ├── Updation.java ├── LoopsContd.java ├── ElseIf.java ├── Loops.java ├── NestedIfs.java └── OddEven.java ├── Practise_Sep_24 └── Hello.java └── Practise_Jan_05_2022 ├── TableOf7.java ├── Assignment.java ├── ElseIf.java ├── Factors.java ├── OddEven.java ├── Loops.java ├── CountOfFactors.java └── LogicalOperators.java /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/.DS_Store -------------------------------------------------------------------------------- /Demo-Jan3-2022/abc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Demo-Jan3-2022/abc.png -------------------------------------------------------------------------------- /Demo-Jan3-2022/xyz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Demo-Jan3-2022/xyz.png -------------------------------------------------------------------------------- /git-demo-13jan/abc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/git-demo-13jan/abc.png -------------------------------------------------------------------------------- /git-demo-13jan/def.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/git-demo-13jan/def.png -------------------------------------------------------------------------------- /git-demo-13jan/ghi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/git-demo-13jan/ghi.png -------------------------------------------------------------------------------- /Demo-Jan3-2022/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Demo-Jan3-2022/.DS_Store -------------------------------------------------------------------------------- /Concept_Jan_13/Session-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Jan_13/Session-1.png -------------------------------------------------------------------------------- /Concept_Jan_13/Session-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Jan_13/Session-2.png -------------------------------------------------------------------------------- /Practise_Oct_27/white-bg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Practise_Oct_27/white-bg.jpeg -------------------------------------------------------------------------------- /Concept_Jan_27_2022/Session-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Jan_27_2022/Session-1.png -------------------------------------------------------------------------------- /Concept_Jan_27_2022/Session-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Jan_27_2022/Session-2.png -------------------------------------------------------------------------------- /FirstHand_April_05_2022/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/FirstHand_April_05_2022/.DS_Store -------------------------------------------------------------------------------- /Concept_Feb_09/Notes/Session-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Feb_09/Notes/Session-1.png -------------------------------------------------------------------------------- /Concept_Oct-25/Notes/Session-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Oct-25/Notes/Session-2.png -------------------------------------------------------------------------------- /Concept_Oct_04/Notes/Session-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Oct_04/Notes/Session-2.png -------------------------------------------------------------------------------- /Concept_Oct_04/Notes/Food_Webpage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Oct_04/Notes/Food_Webpage.png -------------------------------------------------------------------------------- /FirstHand_Oct_12/Notes/Session-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/FirstHand_Oct_12/Notes/Session-1.png -------------------------------------------------------------------------------- /FirstHand_Oct_12/Notes/Session_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/FirstHand_Oct_12/Notes/Session_3.png -------------------------------------------------------------------------------- /Concept_21-Mar-2022/Notes/Session-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_21-Mar-2022/Notes/Session-1.png -------------------------------------------------------------------------------- /Concept_21-Mar-2022/Notes/Session-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_21-Mar-2022/Notes/Session-2.png -------------------------------------------------------------------------------- /Concept_Mar_03_2022/Notes/Session-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Mar_03_2022/Notes/Session-1.png -------------------------------------------------------------------------------- /Concept_Mar_03_2022/Notes/Session-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Mar_03_2022/Notes/Session-2.png -------------------------------------------------------------------------------- /Concept_Jan_27_2022/HTML/demo2.html: -------------------------------------------------------------------------------- 1 | Welcome to HTML Welcome to HTML Welcome to HTML Welcome to HTML Welcome to HTML 2 | Welcome to HTML 3 | -------------------------------------------------------------------------------- /Concept_Oct-25/Notes/Pre-Course_Oct-25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Oct-25/Notes/Pre-Course_Oct-25.png -------------------------------------------------------------------------------- /Concept_Oct_04/Notes/Pre-course_oct_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/Concept_Oct_04/Notes/Pre-course_oct_04.png -------------------------------------------------------------------------------- /FirstHand_April_05_2022/Class-notes/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeksterin/Pre-course/HEAD/FirstHand_April_05_2022/Class-notes/.DS_Store -------------------------------------------------------------------------------- /Concept_Oct-25/Concept/HTML/Skelton.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Concept_Feb_09/demo.html: -------------------------------------------------------------------------------- 1 |

Welcome to HTML

2 | 3 |

Welcome to HTML

4 |

Welcome to HTML

5 |

Welcome to HTML

6 |
Welcome to HTML
7 |
Welcome to HTML
8 | -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/first.html: -------------------------------------------------------------------------------- 1 |

Welcome to HTML

2 |

Welcome to HTML

3 |

Welcome to HTML

4 |

Welcome to HTML

5 |
Welcome to HTML
6 |
Welcome to HTML
-------------------------------------------------------------------------------- /Concept_Jan_13/HTML/Header.html: -------------------------------------------------------------------------------- 1 |

Welcome to HTML

2 |

Welcome to HTML

3 |

Welcome to HTML

4 |

Welcome to HTML

5 |
Welcome to HTML
6 |
Welcome to HTML
7 | -------------------------------------------------------------------------------- /Concept_Mar_03_2022/HTML/heading.html: -------------------------------------------------------------------------------- 1 |

Welcome to HTML

2 |

Welcome to HTML

3 |

Welcome to HTML

4 |

Welcome to HTML

5 |
Welcome to HTML
6 |
Welcome to HTML
7 | -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/Second.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HTML Docs 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Concept_Jan_27_2022/HTML/Heading.html: -------------------------------------------------------------------------------- 1 |

Welcome to HTML

2 | 3 |

Welcome to HTML

4 | 5 |

Welcome to HTML

6 | 7 |

Welcome to HTML

8 | 9 |
Welcome to HTML
10 | 11 |
Welcome to HTML
12 | -------------------------------------------------------------------------------- /Practise_Oct_27/logicaloperators.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class logicaloperators { 4 | public static void main (String args[]) { 5 | 6 | int num1 = 10; 7 | short num2 = 20; 8 | 9 | if ("num1">num2) { 10 | 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /FirstHand_Oct_17/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_FirstHand_Oct_17; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main(String args[]) { 6 | 7 | System.out.println("Hello World!"); 8 | System.out.print("Welcome to my page"); 9 | } 10 | 11 | } 12 | 13 | // ln -- new line -------------------------------------------------------------------------------- /Concept_May_27_2022/Area.java: -------------------------------------------------------------------------------- 1 | public class Area { 2 | public static void main(String[] args) { 3 | 4 | int diameter = 15; 5 | float radius = diameter / 2f; 6 | 7 | 8 | System.out.println(radius * radius * 3.14f); 9 | } 10 | } 11 | // radius * radius * 3.14f -------------------------------------------------------------------------------- /Practise_Oct_18/whilevsdowhile.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class whilevsdowhile { 4 | public static void main(String args[]) { 5 | 6 | int num5 = 0; 7 | do { 8 | System.out.println(num5);//0 9 | num5 = num5-1;//-1 10 | } while(num5 >= 1); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Concept_21-Mar-2022/HTML/heading.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

Welcome to HTML

6 |

Welcome to HTML

7 |

Welcome to HTML

8 |

Welcome to HTML

9 |
Welcome to HTML
10 |
Welcome to HTML
11 | 12 | 13 | -------------------------------------------------------------------------------- /Concept_Jan_03/index.html: -------------------------------------------------------------------------------- 1 |

Welcome to HTML

2 | 3 |

Welcome to HTML

4 | 5 |

Welcome to HTML

6 |

Welcome to HTML

7 |
Welcome to HTML
8 |
Welcome to HTML
9 | 10 |

11 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Repellat, beatae. 12 |

13 | -------------------------------------------------------------------------------- /FirstHand_Dec_22/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_22; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main(String[] args) { 6 | 7 | System.out.println("Hello World"); 8 | System.out.println("Welcome to Geekster"); 9 | System.out.print("My name is Vikas"); 10 | } 11 | 12 | } 13 | //ln --> next line -------------------------------------------------------------------------------- /FirstHand_Oct_26/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Oct_26; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main (String args[]) { // method/function 6 | 7 | System.out.println("Hello World!"); 8 | System.out.print("Welcome to Geekster"); 9 | } 10 | 11 | } 12 | 13 | // Print Hello World message 14 | -------------------------------------------------------------------------------- /Practise_Oct_27/tableOfSeven.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class tableOfSeven { 4 | public static void main (String args[]) { 5 | 6 | int num = 2; 7 | 8 | for (int i = 1; i<=100; i+=1) { 9 | System.out.println(num*i); 10 | } 11 | } 12 | } 13 | /* 14 | 7 15 | 14 16 | 21 17 | 28.... 18 | 70 19 | */ -------------------------------------------------------------------------------- /Practise_Oct_09/sum.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class sum { 4 | public static void main (String args []) { 5 | 6 | int sum = 0; 7 | for(int i = 0; i <= 100; i = i+1) { 8 | sum = sum + i; 9 | } 10 | 11 | System.out.print(sum); 12 | 13 | } 14 | } 15 | 16 | // 1 + 2 + 3 ..100 -------------------------------------------------------------------------------- /Practise_Oct_18/factors.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class factors { 4 | public static void main(String args[]) { 5 | int num = 100; 6 | 7 | for (int i = 1; i<= num; i = i+1) { 8 | if(num % i==0) { 9 | System.out.println(i); 10 | } 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Practise_Nov_26/TableOf7.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class TableOf7 { 4 | public static void main(String args[]) { 5 | 6 | int num = 7; 7 | 8 | for (int i = 1; i <=10; i=i+1 ) { 9 | System.out.println(num*i); 10 | } 11 | } 12 | } 13 | // 7*1 14 | // 7 *2 15 | // 7*3 16 | //7*4 17 | //........ 18 | // 7*10 -------------------------------------------------------------------------------- /Practise_Oct_18/oddeven.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class oddeven { 4 | 5 | public static void main(String args[]) { 6 | int limit = 500; 7 | 8 | for (int i = 0; i<= limit; i = i+1) { 9 | if(i % 2!=0) { 10 | System.out.println(i); 11 | } 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Concept_May_26_2022/HelloWorld.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | public static void main(String[] args) { 3 | 4 | System.out.println("Hello Wor ld!"); 5 | System.out.print("Welcome to Geekster "); 6 | System.out.print("How are you doing? "); 7 | } 8 | } 9 | 10 | 11 | // ln --> next line, new line -------------------------------------------------------------------------------- /Practise_May_30_2022/ForLoop1.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | // print from 500 to 1 5 | 6 | for (int num = 500; num >=1 ; num = num -1){ 7 | System.out.println(num); 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /Practise_Oct_09/oddeven.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class oddeven { 4 | 5 | public static void main (String args[]) { 6 | 7 | int num = 13; 8 | 9 | if (num % 2 == 0) { 10 | System.out.print("Even number"); 11 | }else { 12 | System.out.print("Odd number"); 13 | } 14 | 15 | 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Practise_Oct_27/oddEven.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class oddEven { 4 | public static void main (String args[]) { 5 | 6 | int num = 7; 7 | 8 | if(num % 2 ==0) { 9 | System.out.print("Even number"); 10 | }else { 11 | System.out.print("Odd number"); 12 | } 13 | 14 | 15 | } 16 | 17 | } 18 | 19 | 20 | -------------------------------------------------------------------------------- /Practise_Jan_28_2022/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_28_2022; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main(String[] args) { 6 | 7 | // ln --> next line 8 | System.out.println("Hello World!!!"); 9 | System.out.println("Welcome to Geekster"); 10 | System.out.print("I love my India"); 11 | 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /Practise_Nov_14/TableOf7.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class TableOf7 { 4 | 5 | public static void main (String args[]) { 6 | 7 | int a = 7; 8 | for (int num = 1; num <= 20; num = num+1) { 9 | System.out.println(num*a); 10 | } 11 | 12 | } 13 | 14 | } 15 | // 1 * 7 16 | // 2 * 7 17 | // 3*7 18 | // 4 * 7 19 | // 10*7 -------------------------------------------------------------------------------- /FirstHand_Nov_25/TakeInput.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_25; 2 | 3 | import java.util.*; 4 | 5 | public class TakeInput { 6 | public static void main(String args[]) { 7 | 8 | Scanner sc = new Scanner(System.in); 9 | String name = sc.nextLine(); 10 | sc.close(); 11 | 12 | System.out.print("Welcome " + name); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Practise_Dec_10/TableofSeven.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class TableofSeven { 4 | 5 | public static void main(String[] args) { 6 | // TODO Auto-generated method stub 7 | 8 | int num = 7; 9 | 10 | for (int i = 1; i<=10; i++) { 11 | System.out.println(num*i); 12 | } 13 | 14 | 15 | } 16 | 17 | } 18 | // 7 14 21 28 35 42 49 63 70 -------------------------------------------------------------------------------- /Practise_Dec_23/ForLoopExamples.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class ForLoopExamples { 4 | 5 | public static void main(String[] args) { 6 | 7 | for (int i= 500; i >= 1; i= i-1) { 8 | System.out.println(i); 9 | } 10 | 11 | for (int i= 1; i <= 100; i= i+2) { 12 | System.out.println(i); 13 | } 14 | 15 | 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /Practise_Nov_14/AllOddNumbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class AllOddNumbers { 4 | 5 | public static void main (String args[]) { 6 | // print all odd numbers from 1 to 100 7 | 8 | for (int i = 1; i< 100; i=i+1) { 9 | 10 | if(i % 2 != 0) { 11 | System.out.println(i); 12 | } 13 | 14 | } 15 | 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/Heading.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

Welcome to Css

9 |

Welcome

10 |

Welcome to HTML

11 |

Welcome to HTML

12 |
Welcome to HTML
13 |
Welcome to HTML
14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /FirstHand_Dec_09/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_09; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main (String args[]) { 6 | System.out.println("Hello World!"); 7 | System.out.println("Welcome to geekster"); 8 | System.out.print("I am Vikas @#*9e68346nsydkujhg ghg2973"); 9 | } 10 | 11 | } 12 | 13 | //println --> print and go to next line -------------------------------------------------------------------------------- /Practise_Oct_27/Factors.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class Factors { 4 | 5 | public static void main (String args[]) { 6 | 7 | // print all factors of a number 8 | 9 | int num = 100; 10 | 11 | for (int i = 1; i <= num; i+=1) { 12 | 13 | if(num % i ==0) { 14 | System.out.println(i); 15 | } 16 | } 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Practise_Dec_10/LoopsContinued.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class LoopsContinued { 4 | public static void main(String args[]) { 5 | 6 | for (int num = 500; num >= 1; num = num-1) { 7 | System.out.println(num); 8 | } 9 | 10 | 11 | for (int i = 1; i <= 100; i = i+2) { 12 | System.out.println(i); 13 | } 14 | 15 | 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /FirstHand_April_05_2022/Class-notes/Byte.txt: -------------------------------------------------------------------------------- 1 | byte -- 1 byte --> 8 bits 2 | 3 | 4 | 1 bit --> 0 | 1 5 | 6 | 7 | 8 | 9 | 0_ 0_ 0_ 0_ 0_ 0_ 0_ 0_ === 0 10 | 11 | 12 | 13 | 1_ 1_ 1_ 1_ 1_ 1_ 1_ 1_ == 255 14 | (binary) (decimal) 15 | 16 | 0-255 => 256 numbers ==> -128, -127, -126.....0, 1, 2,3....127 17 | 18 | 19 | -ve numbers, 0, +ve numbers -------------------------------------------------------------------------------- /Practise_Oct_27/tableOfAllNumbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class tableOfAllNumbers { 4 | 5 | public static void main (String args[]) { 6 | 7 | for (int num = 1; num <=10; num+=1) { 8 | 9 | for (int i = 1; i<=10; i+=1) { 10 | System.out.print(num*i); 11 | System.out.print("\t"); 12 | } 13 | System.out.print("\n"); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /FirstHand_Sep_25/count.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Sep_25; 2 | 3 | public class count { 4 | 5 | public static void main(String args[]) { 6 | 7 | int num = 118937348; 8 | int count = 0; 9 | 10 | if (num==0) { 11 | System.out.println(1); 12 | }else { 13 | for(int j = num; j > 0; j = j/10) { 14 | count ++; 15 | } 16 | System.out.println(count); 17 | } 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Practise_May_30_2022/NotOperator.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | 5 | int num = 100; 6 | 7 | if (!(num == 100)){ 8 | System.out.print("hello"); 9 | }else{ 10 | System.out.print("hi"); 11 | 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /FirstHand_Jan_04_2022/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Jan_04_2022; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main (String args[]) { 6 | 7 | System.out.println("Hello Worldzzzzz!"); 8 | System.out.println("Welcome to Geekster"); 9 | System.out.print("I am Vikas"); 10 | } 11 | 12 | } 13 | 14 | // ln --> next line 15 | 16 | // class, method/function 17 | // if/else 18 | // loop -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/List.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 |
    14 |
  1. Apple
  2. 15 |
  3. Mango
  4. 16 |
  5. Orange
  6. 17 |
18 | 19 | -------------------------------------------------------------------------------- /Practise_Oct_09/loops.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | public class loops { 3 | public static void main(String[] args) { 4 | for(int num = 1 ; num<=100 ; num = num + 1 ){ 5 | System.out.println(num); 6 | } 7 | int num = 100; 8 | while (num <= 100){ 9 | System.out.println(num); 10 | num = num + 1; 11 | 12 | } 13 | 14 | } 15 | } -------------------------------------------------------------------------------- /Concept_May_26_2022/ArithemeticOperators.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | public static void main(String[] args) { 3 | System.out.println(6 + 5); 4 | System.out.println(4 * 7); 5 | System.out.println(3-2); 6 | System.out.println(30/10); 7 | System.out.println("30 / 10"); 8 | System.out.println(10 + 3 * 4); 9 | } 10 | } 11 | // arithemetic operators + , - , /, *, -------------------------------------------------------------------------------- /Practise_Oct_18/elseif.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class elseif { 4 | 5 | public static void main(String args[]) { 6 | 7 | int num = 0; 8 | 9 | 10 | if(num > 0) { 11 | System.out.println("Positive number"); 12 | }else if(num < 0) { 13 | System.out.println("Negative number"); 14 | }else { 15 | System.out.println("Zero"); 16 | } 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Practise_Oct_18/number_of_factors.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class number_of_factors { 4 | public static void main(String args[]) { 5 | int num = 9; 6 | int count = 0; 7 | 8 | for (int i = 1; i<= num; i = i+1) { 9 | if(num % i==0) { 10 | count = count + 1; 11 | } 12 | } 13 | 14 | System.out.print(count); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/Heading.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Heading Element 6 | 7 | 8 | 9 |

Welcome to HTML

10 |

Welcome to HTML

11 |

Welcome to HTML

12 |

Welcome to HTML

13 |
Welcome to HTML
14 |
Welcome to HTML
15 | 16 | 17 | -------------------------------------------------------------------------------- /Concept_Oct-25/Concept/HTML/Image.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | <style> 8 | 9 | </style> 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /FirstHand_Sep_25/sum.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Sep_25; 2 | 3 | public class sum { 4 | public static void main(String args[]) { 5 | 6 | // sum of N numbers = 100 7 | // 1+ 2 + 3 + ... 100 8 | // n (n+1)/2 == 100 * 101 /2 = 101 * 50 = 5050 9 | 10 | int sum = 0; 11 | 12 | for (int i = 1; i<= 100000000000; i= i +1) { 13 | sum = sum + i; 14 | } 15 | 16 | System.out.println(sum); 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/span.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | span Element 5 | 6 | 7 |

s

8 |

p

9 |

a

10 |

n

11 | s 12 | p 13 | a 14 | n 15 | 16 | 17 | -------------------------------------------------------------------------------- /FirstHand_Nov_13/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_13; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main (String args[]) { // function/method 6 | System.out.println("Hello World!"); 7 | System.out.println("Welcome"); 8 | System.out.print("My name is Vikas"); 9 | } 10 | } 11 | 12 | /* 13 | * package 14 | * class 15 | * public 16 | * public static void main (String args[]) { 17 | * function/method 18 | */ -------------------------------------------------------------------------------- /Practise_Dec_10/OddEven.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class OddEven { 4 | public static void main(String[] args) { 5 | 6 | // print all even no.s from 1 to 500; 7 | 8 | for (int i = 1; i <= 500; i = i+1) { 9 | if (i%2 == 0) { 10 | System.out.println(i); 11 | } 12 | } 13 | } 14 | } 15 | 16 | /* 17 | * 18 | * modulo operator -- remainder -- % 19 | * 20 | * 15 % 2 --> 21 | * 22 | * 23 | * 24 | */ -------------------------------------------------------------------------------- /Concept_Jan_03/Task1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Task of HTML 4 | 5 | 6 | 7 |

Click on the "Try it Yourself" button to see how it works.

8 |

HTML Examples

9 |

10 | In this HTML tutorial, you will find more than 200 examples. With our 11 | online "Try it Yourself" editor, you can edit and test each example 12 | yourself! 13 |

14 | 15 | 16 | -------------------------------------------------------------------------------- /Practise_Oct_27/doublefloat.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class doublefloat { 4 | 5 | 6 | public static void main (String args[]) { 7 | 8 | int i = 10; 9 | 10 | float j = i; 11 | System.out.println(j);//10.0 12 | 13 | 14 | double k = i; 15 | System.out.println(k);//10.0 16 | 17 | 18 | double m = 10; 19 | System.out.println(m); 20 | float p = 10; 21 | System.out.println(p); 22 | } 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /Concept_May_27_2022/Greater.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Greater { 3 | public static void main(String[] args) { 4 | // print the greater number between 500 and 1000; 5 | 6 | int num1 = 500; 7 | int num2 = 1000; 8 | 9 | if (num1 > num2){ 10 | System.out.print(num1); 11 | }else{ 12 | System.out.print(num2); 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /Practise_Nov_14/ForLoopExamples.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class ForLoopExamples { 4 | 5 | public static void main (String args[]) { 6 | 7 | // 500 to 1 8 | for (int num = 500; num >= 1; num = num-1) { 9 | System.out.println(num); 10 | } 11 | 12 | 13 | //all multiples of 2 14 | for (int my_num = 2; my_num <= 100; my_num = my_num+2) { 15 | System.out.println(my_num); 16 | } 17 | 18 | 19 | 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Practise_Nov_26/forloopExamples.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class forloopExamples { 4 | public static void main(String args[]) { 5 | 6 | int num; 7 | for ( num = 100; num >=1 ; num = num-1) { 8 | System.out.println(num); 9 | } 10 | 11 | 12 | for (int i = 1; i<=100 ; i=i+2) { 13 | System.out.println(i); 14 | } 15 | 16 | 17 | for (int i = 2; i<=100 ; i=i+2) { 18 | System.out.println(i); 19 | } 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Concept_Oct-25/Concept/HTML/Heading.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Heading Element 6 | 7 | 8 | 9 | 10 |

Welcome to HTML SESSIONS

11 |

Welcome to HTML SESSIONS

12 |

Welcome to HTML SESSIONS

13 |

Welcome to HTML SESSIONS

14 |
Welcome to HTML SESSIONS
15 |
Welcome to HTML SESSIONS
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Practise_Dec_23/GreatestBetween3Numbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class GreatestBetween3Numbers { 4 | public static void main(String[] args) { 5 | int num1 = 100; 6 | int num2 = 100; 7 | int num3 = 100; 8 | 9 | 10 | 11 | if(num1 >= num2 && num1 >= num3) { 12 | System.out.print(num1); 13 | } 14 | else if(num2 >= num1 && num2 >= num3) { 15 | System.out.print(num2); 16 | }else { 17 | System.out.print(num3); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /FirstHand_Oct_08/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class HelloWorld { // class 4 | 5 | public static void main(String args[]) { // function/method 6 | System.out.println("Hello world!"); 7 | System.out.println("Welcome Vikas"); 8 | System.out.print("Java is a good langauge"); 9 | } 10 | } 11 | 12 | 13 | /* 14 | 15 | PrecourseBeta - name of package 16 | HelloWorld - name of class = name of file 17 | 18 | public, class, package, static, main, String 19 | 20 | */ -------------------------------------------------------------------------------- /Practise_Oct_18/prime.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class prime { 4 | public static void main(String args[]) { 5 | int num = 5; 6 | int count = 0; 7 | 8 | for (int i = 1; i<= num; i = i+1) { 9 | if(num % i==0) { 10 | count = count + 1; 11 | } 12 | } 13 | if(count==2) { 14 | System.out.print("prime"); 15 | }else { 16 | System.out.print("not prime"); 17 | } 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Practise_Dec_23/Prime.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class Prime { 4 | public static void main(String[] args) { 5 | 6 | int num = 30; 7 | int count_of_factors = 0; 8 | 9 | for (int i = 1; i<= num; i=i+1) { 10 | 11 | if(num%i == 0) { 12 | count_of_factors = count_of_factors + 1; 13 | } 14 | } 15 | 16 | if(count_of_factors == 2) { 17 | System.out.print("prime"); 18 | }else { 19 | System.out.print("not prime"); 20 | } 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Practise_Dec_23/Tableof7.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class Tableof7 { 4 | 5 | public static void main(String[] args) { 6 | // TODO Auto-generated method stub 7 | 8 | int num = 7; 9 | for (int i =1; i<=10; i=i+1) { 10 | System.out.println(num*i); 11 | } 12 | } 13 | 14 | } 15 | 16 | //7 -- 7*1 17 | //14 -- 7*2 18 | //21 -- 7*3 19 | //28 -- 7 *4 20 | //35 -- 7 *5 21 | //42-- 7 *6 22 | //49-- 7 *7 23 | //56 -- 7 * 8 24 | //63 -- 7 * 9 25 | //70 -- 7 * 10 26 | 27 | -------------------------------------------------------------------------------- /Practise_Dec_10/PrimeNumbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class PrimeNumbers { 4 | public static void main(String[] args) { 5 | int num = 20; 6 | int count_of_factors = 0; 7 | 8 | for (int i = 1; i <= num; i++) { 9 | if(num % i == 0) { 10 | count_of_factors = count_of_factors +1; 11 | } 12 | } 13 | 14 | 15 | if(count_of_factors ==2) { 16 | System.out.println("prime"); 17 | }else { 18 | System.out.println("not a prime"); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Practise_April_06_2022/TableOf7.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class TableOf7 { 4 | 5 | public static void main(String[] args) { 6 | 7 | int i = 1; 8 | for (i = 1; i <=10; i= i +1) { 9 | System.out.println(7*i); 10 | } 11 | 12 | } 13 | 14 | } 15 | 16 | /* 17 | * 7 -- 7 x 1 18 | * 14 -- 7 x 2 19 | * 21 -- 7 x 3 20 | * 28 -- 7 x 4 21 | * 35 -- 7 x 5 22 | * 42 -- 7 * 6 23 | * 49 -- 7 * 7 24 | * 56 -- 7 * 8 25 | * 63 - 7 * 9 26 | * 70 - 7 * 10 27 | * 28 | * 29 | */ -------------------------------------------------------------------------------- /Practise_May_30_2022/PatternAstric.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | 5 | for (int i = 1; i <=5; i=i+1){ 6 | 7 | for (int j = 1; j<=i; j=j+1){ 8 | System.out.print("*"); 9 | } 10 | 11 | System.out.println(""); 12 | } 13 | } 14 | } 15 | 16 | /* 17 | 18 | * 19 | ** 20 | *** 21 | **** 22 | ***** 23 | 24 | */ -------------------------------------------------------------------------------- /Practise_May_30_2022/ForLoop2.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | 5 | // print odd numbers from 1 to 100 6 | for(int num =1; num<=100; num = num+2){ 7 | System.out.println(num); 8 | } 9 | 10 | // print all even numbers from 2 to 20 11 | for (int num = 2; num <=20; num=num+2){ 12 | System.out.println(num); 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /Practise_Oct_27/printAllEvenNumbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class printAllEvenNumbers { 4 | public static void main (String args[]) { 5 | 6 | // print all Even numbers from 1 to 100 7 | 8 | for (int i = 1 ; i <=100; i=i+1) { 9 | 10 | if(i % 2 == 0) { 11 | System.out.println(i); 12 | } 13 | } 14 | 15 | 16 | 17 | for (int i = 1 ; i <=100; i=i+1) { 18 | 19 | if(i % 2 != 0) { 20 | System.out.println(i); 21 | } 22 | } 23 | 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Practise_May_30_2022/PatternReverse.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | 5 | for (int i = 5; i >=1; i=i-1){ 6 | 7 | for (int j = 1; j<=i; j=j+1){ 8 | System.out.print("*"); 9 | } 10 | 11 | System.out.println(""); 12 | } 13 | } 14 | } 15 | 16 | /* 17 | 18 | 19 | ***** 20 | **** 21 | *** 22 | ** 23 | * 24 | 25 | */ -------------------------------------------------------------------------------- /Practise_Sep_24/Hello.java: -------------------------------------------------------------------------------- 1 | package Practise_Sep_24; 2 | 3 | public class Hello { 4 | 5 | public static void main(String args[]) { 6 | System.out.println("Hello Worldzzz"); 7 | } 8 | } 9 | 10 | 11 | // IDE 12 | // Integrated Development Environment 13 | // e.g. Eclipse 14 | 15 | 16 | // JDK -- Java Development Kit 17 | 18 | 19 | // JVM - Java Virtual Machine 20 | 21 | 22 | // JRE -- Java Runtime Environment 23 | 24 | // Write code --> Save your code --> Build Code --> Run our code 25 | 26 | // 100 / 0 27 | -------------------------------------------------------------------------------- /Practise_Dec_10/Loops.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class Loops { 4 | public static void main(String args[]) { 5 | int num; 6 | 7 | for (num = 1; num <= 500; num = num+1) { 8 | System.out.println(num); 9 | } 10 | 11 | 12 | System.out.println(num); 13 | } 14 | } 15 | 16 | /* 17 | * 18 | * Loop -- 19 | * 20 | * For loop, while loop, do while loop 21 | * 22 | * 23 | * for (initialization; condition ; updation){ 24 | * // repeated code 25 | * } 26 | * 27 | * 28 | */ -------------------------------------------------------------------------------- /Practise_Nov_14/updation.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class updation { 4 | public static void main (String args[]) { 5 | 6 | int num = 100; 7 | 8 | num = num + 10; // num += 10; 9 | System.out.println(num); // 110 10 | 11 | 12 | num = num - 30; // num -= 30; 13 | System.out.println(num); // 80 14 | 15 | 16 | num = num * 5; // num *= 5; 17 | System.out.println(num); // 400 18 | 19 | num = num/10; // num /= 10; 20 | System.out.println(num); //40 21 | 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Practise_Jan_05_2022/TableOf7.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class TableOf7 { 4 | 5 | public static void main(String[] args) { 6 | // TODO Auto-generated method stub 7 | 8 | int num = 7; 9 | 10 | for (int i = 1; i<=10; i=i+1) { 11 | System.out.println(num*i); 12 | } 13 | } 14 | 15 | } 16 | 17 | 18 | /* 19 | * 20 | * 7 -- 7 *1 21 | * 14 -- 7 * 2 22 | * 21 -- 7 *3 23 | * 28 24 | * 35 25 | * 42 26 | * 49 27 | * 56 28 | * 63 -- 7 * 9 29 | * 70 -- 7 * 10 30 | * 31 | * 32 | * 33 | */ -------------------------------------------------------------------------------- /Practise_May_30_2022/TableOf7.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | 5 | 6 | // print the table of 7 7 | int num = 7; 8 | 9 | for (int i = 1; i <=10; i = i+1){ 10 | System.out.println(num*i); 11 | } 12 | 13 | } 14 | } 15 | 16 | /* 17 | 7 -- 7 x 1 18 | 14 -- 7 * 2 19 | 21 -- 7 x 3 20 | 28 -- 7 x 4 21 | 35 -- 7 x 5 22 | 42 23 | 49 24 | 56 25 | 63 -- 7 x 9 26 | 70 -- 7 x 10 27 | */ -------------------------------------------------------------------------------- /Concept_21-Mar-2022/HTML/image.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 15 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /FirstHand_Nov_25/GreaterNumberUsingInput.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_25; 2 | 3 | import java.util.*; 4 | 5 | 6 | public class GreaterNumberUsingInput { 7 | 8 | 9 | public static void main(String args[]) { 10 | 11 | Scanner sc = new Scanner(System.in); 12 | int num1 = sc.nextInt(); 13 | int num2 = sc.nextInt(); 14 | 15 | if (num1 > num2) { 16 | System.out.print(num1); 17 | }else { 18 | System.out.print(num2); 19 | } 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /FirstHand_Sep_25/Hello.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Sep_25; 2 | 3 | public class Hello { 4 | 5 | public static void main(String args[]) { 6 | System.out.println("Hello Worldzzz"); 7 | } 8 | } 9 | 10 | 11 | // IDE 12 | // Integrated Development Environment 13 | // e.g. Eclipse 14 | 15 | 16 | // JDK -- Java Development Kit 17 | 18 | 19 | // JVM - Java Virtual Machine 20 | 21 | 22 | // JRE -- Java Runtime Environment 23 | 24 | // Write code --> Save your code --> Build Code --> Run our code 25 | 26 | // 100 / 0 27 | 28 | 29 | // hello I am vvikas -------------------------------------------------------------------------------- /Practise_April_06_2022/usingTwoIfs.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class usingTwoIfs { 4 | 5 | public static void main(String[] args) { 6 | 7 | 8 | int num = -20; 9 | 10 | if (num>0) { //20>0 11 | System.out.println("hello");//hello 12 | } 13 | 14 | else if (num > 10) {//20>10 15 | System.out.println("welcome");//welcome 16 | } 17 | 18 | 19 | else if (num > 15){ 20 | System.out.println("geekster"); 21 | } 22 | 23 | else { 24 | System.out.println("India"); 25 | } 26 | 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /FirstHand_Sep_25/largest.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Sep_25; 2 | 3 | public class largest { 4 | public static void main(String args[]) { 5 | 6 | // sum of N numbers = 100 7 | // 1+ 2 + 3 + ... 100 8 | // n (n+1)/2 == 100 * 101 /2 = 101 * 50 = 5050 9 | 10 | int n1 = 10; 11 | 12 | int n2 = 30; 13 | 14 | int n3 = 5; 15 | 16 | 17 | int highest = 0; 18 | 19 | for (int i =0 ; i < n; i++) { 20 | 21 | if(arr[i] > highest ) { 22 | highest = arr[i]; 23 | } 24 | 25 | } 26 | 27 | System.out.print(highest); 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Practise_April_06_2022/Updation.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class Updation { 4 | 5 | public static void main(String[] args) { 6 | 7 | //int num = 20; 8 | 9 | int num; // declaration 10 | num = 20; // assignment / initialisation 11 | 12 | // updation 13 | num = num + 5; 14 | System.out.println(num); //25 15 | 16 | num = num * 10; // 17 | System.out.println(num);//250 18 | 19 | num = num /25; 20 | System.out.println(num);//10 21 | 22 | num = num - 3; 23 | System.out.println(num);//7 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Practise_Oct_27/whileAnddowhile.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class whileAnddowhile { 4 | public static void main (String args[]) { 5 | 6 | 7 | 8 | int j = 100; 9 | do { 10 | System.out.println(j); 11 | j = j+1; 12 | } while (j<=10); 13 | 14 | 15 | } 16 | } 17 | 18 | /* 19 | * 20 | * for (initialisation; condition; updation){ 21 | * action 22 | * } 23 | * 24 | * 25 | * initialisation 26 | * while (condition){ 27 | * 28 | * action 29 | * updation 30 | * } 31 | * 32 | * 33 | * 34 | * 35 | */ 36 | -------------------------------------------------------------------------------- /FirstHand_April_05_2022/Class-notes/DataTypes.txt: -------------------------------------------------------------------------------- 1 | In Java 2 | 3 | Data types --> 4 | The type of data any variable can store 5 | 6 | 1. Primitive Data Types --> Pre-existing data types 7 | byte, short, int, long, float, double, char, boolean ==> 8 8 | 9 | 10 | byte, short, int, long, ==> 11 | used to store whole Integers. (+ve, 0, -ve, not a decimal/fraction) 100, -34, 0, not 0.56 12 | 13 | 14 | 15 | 2. Non Primitive Data types --> Data types that are created by user 16 | Strings ==> 1 17 | 18 | 19 | Arrays, 20 | Objects 21 | Interface 22 | Classes -------------------------------------------------------------------------------- /Practise_Nov_26/Modulo.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class Modulo { 4 | public static void main(String args[]) { 5 | 6 | int num = 201; 7 | 8 | if (num % 2==0) { 9 | System.out.print("EVEN NUMBER"); 10 | }else { 11 | System.out.print("ODD NUMBER"); 12 | } 13 | } 14 | } 15 | 16 | // if any number is divisible by 2, it is even 17 | 18 | // if x is divisible by y , 19 | 20 | // when you divide x by y, and if the remainder is 0, 21 | //then we say that x is divisible by 0 22 | 23 | // modulo operator -- % --remainder 24 | 25 | // 7 % 2 26 | -------------------------------------------------------------------------------- /FirstHand_Nov_13/IfElse.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_13; 2 | 3 | public class IfElse { 4 | 5 | public static void main (String args[]) { 6 | 7 | int num1 = 1200; 8 | int num2 = 500; 9 | 10 | if(num1 > num2) { 11 | System.out.print(num1); 12 | }else { 13 | System.out.print(num2); 14 | } 15 | 16 | 17 | } 18 | } 19 | 20 | /* 21 | * 22 | * if your name is Rahul, then switch on your video 23 | * otherwise switch on your mic 24 | * 25 | * if (condition){ 26 | * // action 1 27 | * } 28 | * else{ 29 | * // action 2 30 | * } 31 | * 32 | * 33 | */ -------------------------------------------------------------------------------- /Concept_May_27_2022/Equality.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Equality { 3 | public static void main(String[] args) { 4 | // WAP to check if 13*2349 is equal to 17*1172 5 | 6 | int num1 = 13*2349; 7 | int num2 = 17*1172; 8 | 9 | /* if (num1 == num2){ 10 | System.out.println(true); 11 | }else{ 12 | System.out.println(false); 13 | } 14 | */ 15 | 16 | boolean res = num1 == num2; 17 | System.out.println(res); 18 | } 19 | } -------------------------------------------------------------------------------- /Practise_Jan_28_2022/TypeCasting.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_28_2022; 2 | 3 | public class TypeCasting { 4 | 5 | public static void main(String[] args) { 6 | 7 | // widening, small-> big, implicit, automatic 8 | byte age = 29; 9 | int new_age = age; 10 | System.out.println(new_age); 11 | 12 | 13 | //narrowing, big-> small, explicit, manual 14 | int salary = 20000; 15 | short new_salary = (short) salary; 16 | System.out.println(new_salary); 17 | 18 | float per = 92.9f; 19 | int new_per = (int) per; 20 | System.out.println(new_per);//92 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Practise_Nov_14/NumberOfFactors.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class NumberOfFactors { 4 | public static void main (String args[]) { 5 | int num = 10; 6 | int count_of_factors = 0; 7 | 8 | for (int i = 1; i<=num; i=i+1) { 9 | 10 | if(num % i ==0) { 11 | count_of_factors = count_of_factors + 1; 12 | } 13 | } 14 | 15 | System.out.print(count_of_factors); 16 | 17 | } 18 | } 19 | 20 | //10 -- 1,2,5,10 == 4 21 | //9 - 1,3,9 == 3 22 | //6 - 1,2,3,6 == 4 23 | 24 | //3 - 1,3 = 2 25 | //7 - 1,7 = 2 26 | 27 | //100 - 1,2,4,5,10,20,25,50,100 = 9 -------------------------------------------------------------------------------- /Practise_Oct_27/PrimeNumber.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class PrimeNumber { 4 | 5 | public static void main (String args[]) { 6 | 7 | // print whether a number is prime 8 | 9 | int num = 17; 10 | int count_of_factors = 0; 11 | 12 | for (int i = 1; i <= num; i+=1) { 13 | 14 | if(num % i ==0) { 15 | count_of_factors = count_of_factors +1; 16 | } 17 | } 18 | 19 | if(count_of_factors == 2) { 20 | System.out.println("Prime number"); 21 | }else { 22 | System.out.println("Not Prime number"); 23 | } 24 | 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /FirstHand_April_05_2022/Class-notes/IDE.txt: -------------------------------------------------------------------------------- 1 | IDE 2 | 3 | Integrated Development Environment 4 | 5 | Software Developers --> Build Softwares ---> Write code 6 | 7 | a place to 8 | 9 | - write our code 10 | - execute/ run the code 11 | - test the code 12 | 13 | IDE is a software where you can do all these things 14 | 15 | VS code 16 | Eclipse 17 | Netbeans 18 | IntelliJ 19 | 20 | Folders ---> Package 21 | 22 | Files ---> Class 23 | 24 | A folder is a collection of files and sub-folders 25 | 26 | A package is a colelction of classes and sub-packages 27 | 28 | //package.com.company 29 | -------------------------------------------------------------------------------- /FirstHand_Oct_26/TypeCasting.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Oct_26; 2 | 3 | public class TypeCasting { 4 | public static void main (String args[]) { 5 | 6 | // automatic/widening 7 | byte age = 29; //byte 8 | int new_age = age; // bigger container 9 | System.out.println(new_age); //29 10 | 11 | // manual / narrowing 12 | int salary = 30000; 13 | short new_salary = (short) salary; 14 | System.out.println(new_salary); //30000 15 | 16 | 17 | float percentage = 85.9f; 18 | int new_percentage = (int) percentage; 19 | System.out.println(new_percentage); //85 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Practise_April_06_2022/LoopsContd.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class LoopsContd { 4 | 5 | public static void main(String[] args) { 6 | 7 | /* 8 | // print all numbers from 500 to 1 9 | int num; 10 | for (num = 500; num >=1; num = num -1) { 11 | System.out.println(num); 12 | } 13 | */ 14 | 15 | //1, 3, 5,7, 9 16 | // print all odd numbers from 1 to 100 17 | int num; 18 | for (num = 1; num <=100; num = num+2) { 19 | System.out.println(num); 20 | } 21 | } 22 | } 23 | 24 | /*for (assignment; condition; updation){ 25 | * // repeating code here 26 | * }*/ -------------------------------------------------------------------------------- /Practise_Oct_09/Prime.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class Prime { 4 | 5 | public static void main (String args []) { 6 | 7 | int num = 11; 8 | 9 | int count_of_factors = 0; 10 | 11 | for (int i = 1; i<=num; i ++) { 12 | if(num % i == 0) { 13 | count_of_factors = count_of_factors + 1; 14 | } 15 | } 16 | 17 | System.out.println(count_of_factors); 18 | if(count_of_factors == 2 ) { 19 | System.out.print("Prime"); 20 | }else { 21 | System.out.print("not prime"); 22 | } 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/Anchor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Anchor 5 | 11 | 12 | 13 | 14 | Facebook 15 | Amazon 16 | Flipkart 17 | Geekster 18 | 19 | 20 | -------------------------------------------------------------------------------- /Concept_Jan_03/Image.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Document 4 | 9 | 10 | 11 | 16 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Concept_21-Mar-2022/HTML/attribute.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 20 | 21 |
22 |

Welcome to Attributes Concept

23 |
24 | 25 |
26 |

Ok I Understood Attribute Concept

27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /Concept_Jan_13/HTML/Task1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Task 1 4 | 5 | 6 | 7 |

Key resources

8 |

HTML Introduction

9 |

10 | If you're new to Web development, be sure to read our HTML Basics article 11 | to learn what HTML is and how to use it 12 |

13 |

HTML Tutorials

14 |

HTML Tutorials

15 | 16 |

HTML Reference

17 |

18 | In our extensive HTML reference section, you'll find the details about 19 | every element and attribute in HTML. 20 |

21 | 22 | 23 | -------------------------------------------------------------------------------- /FirstHand_Dec_22/IfElse.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_22; 2 | 3 | public class IfElse { 4 | public static void main(String[] args) { 5 | int num1 = 1000; 6 | int num2 = 200; 7 | 8 | if(num1>num2) { //1000 > 200 --> true 9 | System.out.print(num1); 10 | }else { 11 | System.out.print(num2); // 200 12 | } 13 | } 14 | } 15 | 16 | /* 17 | * 18 | * if (condition is True){ 19 | * // do action 1 20 | * }else{ 21 | * // do action 2 22 | * } 23 | * 24 | * 25 | * if your name is Rahul, 26 | * turn on your video 27 | * 28 | * else 29 | * turn on your mic 30 | * 31 | * 32 | * 33 | */ -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/Paragraph.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Paragraph Element 5 | 6 | 7 | 8 |

This module sets the stage, getting you used to important concepts and syntax such as looking at applying HTML to text, how to create hyperlinks, and how to use HTML to structure a web page.

9 | 10 |

This module explores how to use HTML to include multimedia in your web pages, including the different ways that images can be included, and how to embed video, audio, and even entire other webpages.

11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /FirstHand_April_05_2022/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package April_05_2022; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main(String[] args) { 6 | 7 | System.out.println("Hello World!"); 8 | System.out.println("Welcome to geekster"); 9 | System.out.print("My name is Vikas"); 10 | 11 | } 12 | 13 | // println 14 | // ln -> next line / new line 15 | 16 | } 17 | 18 | // method/function --> where we do stuff 19 | 20 | // public 21 | // static 22 | // void 23 | // String[] args 24 | 25 | 26 | // package --> class --> method/function 27 | 28 | //main --> why is it called? 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /Practise_Dec_23/Assignment.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class Assignment { 4 | 5 | public static void main(String[] args) { 6 | // TODO Auto-generated method stub 7 | 8 | int n = 20; 9 | 10 | //updating/changing 11 | n = n + 10; // n += 10; 12 | System.out.println(n);//30 13 | 14 | //updating/changing 15 | n = n - 5; // n -= 5; 16 | System.out.println(n); //25 17 | 18 | //updating/changing 19 | n = n * 2; // n *= 2; 20 | System.out.println(n); //50 21 | 22 | //updating/changing 23 | n = n /10; // n /= 10; 24 | System.out.println(n); //5 25 | 26 | 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /FirstHand_Nov_25/Typecasting.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_25; 2 | 3 | public class Typecasting { 4 | public static void main(String args[]) { 5 | 6 | // Automatic/widening type casting 7 | byte age = 29; 8 | int new_age = age; 9 | System.out.println(new_age); 10 | 11 | float per = 91.4f; 12 | double new_per = per; 13 | System.out.println(new_per); 14 | 15 | 16 | // manual / narrowing 17 | int salary = 20000; 18 | short new_salary = (short) salary; 19 | System.out.println(new_salary); 20 | 21 | float p = 92.8f; 22 | int new_p = (int) p; // 92 23 | System.out.println(new_p); 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Practise_Dec_23/Loops.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class Loops { 4 | 5 | public static void main(String[] args) { 6 | int num; 7 | //print numbers from 1 to 5 8 | for (num = 1; num <= 10; num = num+1) { 9 | System.out.println(num); 10 | } 11 | 12 | System.out.println(num);//6 13 | System.out.println("hello"); 14 | } 15 | 16 | } 17 | 18 | /* 19 | * 20 | * Loop --> repeats itself --> again and again 21 | * 22 | * for loop, while loop, do while 23 | * 24 | * 25 | * for (assignment; condition; updation){ 26 | * 27 | * // repeated code here 28 | * } 29 | * 30 | * 31 | * 32 | * */ 33 | -------------------------------------------------------------------------------- /Practise_Dec_23/OddEven.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class OddEven { 4 | 5 | public static void main(String[] args) { 6 | 7 | int num = 21; 8 | 9 | if (num%2 == 0) { 10 | System.out.print("Even"); 11 | }else { 12 | System.out.print("odd"); 13 | } 14 | } 15 | } 16 | 17 | // if any number divisible by 2, it is even otherwise it is odd 18 | 19 | // if a number x is divisible by y, 20 | // if we divide x by y, remainder should be 0 21 | 22 | // modulo operator -- % symbol -- remainder 23 | // 15 % 5 == 0 24 | // 17 % 4 = 1 25 | // 25 % 10 = 5 26 | // 23 % 7 = 2 27 | // 100 % 10 = 0 28 | // 7 % 10 = 7 29 | 30 | -------------------------------------------------------------------------------- /Practise_Nov_26/Greatest3Numbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | import java.util.*; 4 | 5 | public class Greatest3Numbers { 6 | 7 | public static void main(String args[]) { 8 | 9 | Scanner sc = new Scanner(System.in); 10 | int num1 = sc.nextInt(); 11 | int num2 = sc.nextInt(); 12 | int num3 = sc.nextInt(); 13 | 14 | if (num1 >= num2 && num1 >= num3) { 15 | System.out.print(num1); 16 | } 17 | else if (num2 >= num1 && num2 >= num3) { 18 | System.out.print(num2); 19 | }else { 20 | System.out.print(num3); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Practise_Nov_26/loops.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class loops { 4 | public static void main(String args[]) { 5 | 6 | int num; 7 | for ( num = 1; num <= 5; num = num+1) { 8 | System.out.println(num); 9 | } 10 | // 1 11 | // 2 12 | // 3 13 | //4 14 | //5 15 | 16 | 17 | System.out.println(num); //6 18 | } 19 | } 20 | 21 | /* 22 | * 23 | * for (initialise; condition; updation){ 24 | * // repeated code here 25 | * } 26 | * 27 | * 28 | * 29 | * 3 types of loops 30 | * 1. for loop 31 | * 2. while loop 32 | * 3. do while loop 33 | * 34 | * 35 | * 36 | * */ 37 | 38 | //1 39 | //2 40 | //3 41 | //4 42 | //5 -------------------------------------------------------------------------------- /Practise_Dec_10/updation.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class updation { 4 | public static void main(String args[]) { 5 | 6 | //int num = 100; 7 | 8 | int num; // variable declaration 9 | num = 100; // initialisation / assignment 10 | 11 | num = num + 10; // num += 10; // updation 12 | System.out.println(num); //110 13 | 14 | num = num - 30; // num -= 30; // updation 15 | System.out.println(num); // 80 16 | 17 | 18 | num = num * 5; // num *= 5; 19 | 20 | // updation 21 | System.out.println(num); //400 22 | 23 | num = num / 100; // num /= 100; // updation 24 | System.out.println(num); //4 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Practise_Jan_05_2022/Assignment.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class Assignment { 4 | 5 | public static void main(String[] args) { 6 | 7 | int num = 10; 8 | 9 | int num2; // declaration 10 | num2 = 50; // assignment/ initialising 11 | 12 | num2 = num2 + 10;// num2 += 10; //updation 13 | System.out.println(num2); //60 14 | 15 | num2 = num2 - 30; //num2 -= 30; 16 | //updation 17 | System.out.println(num2); //30 18 | 19 | num2 = num2 * 5; //num2 *= 5; 20 | //updation 21 | System.out.println(num2); //150 22 | 23 | num2 = num2/15; //num2 /= 15; 24 | //updation 25 | System.out.println(num2); //10 26 | 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Concept_May_26_2022/Calculations.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | public static void main(String[] args) { 3 | 4 | int num1 = 600; 5 | int num2 = 30; 6 | 7 | int sum = num1 + num2; 8 | System.out.println(sum);//630 9 | 10 | // a way of giving comments 11 | // this line is doing the product of both numbers 12 | 13 | int prod = num1 * num2; 14 | System.out.println(prod);//18000 15 | 16 | 17 | int div = num1 /num2; 18 | System.out.println(div);//20 19 | 20 | int subtract = num1 - num2; 21 | System.out.println(subtract);//570 22 | 23 | } 24 | } -------------------------------------------------------------------------------- /Practise_May_30_2022/Updation.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | // int num = 20; 5 | 6 | int num; // variable declaration 7 | num = 20; // variable initialisation 8 | 9 | num = num + 5; // num+=5; // updation 10 | System.out.println(num);//25 11 | 12 | num = num -10; // num-=10; 13 | System.out.println(num);//15 14 | 15 | num = num * 4; //num*=4; 16 | System.out.println(num);//60 17 | 18 | num = num /10; // num /=10; 19 | System.out.println(num);//6 20 | 21 | } 22 | } -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/Task1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Task 1 5 | 6 | 7 | 8 |

Key resources

9 |

HTML Introduction

10 |

If you're new to Web development, be sure to read our HTML Basics article to learn what HTML is and how to use it.

11 |

HTML Tutorials

12 |

For articles about how to use HTML, as well as tutorials and complete examples, check out our HTML Learning Area.

13 |

HTML Reference

14 |

In our extensive HTML reference section, you'll find the details about every element and attribute in HTML.

15 | 16 | -------------------------------------------------------------------------------- /Practise_Nov_26/assignment.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class assignment { 4 | public static void main(String args[]) { 5 | 6 | int num = 10; 7 | num = num + 5; // num += 5; 8 | System.out.println(num); //15 9 | 10 | num = num - 3; // num -= 3; 11 | System.out.println(num); //12 12 | 13 | 14 | num = num*4; // num *=4; 15 | System.out.println(num); //48 16 | 17 | 18 | num = num/6; // num /= 6; 19 | System.out.println(num); //8 20 | } 21 | } 22 | 23 | /* 24 | * 25 | * int num = 10; 26 | * int num; //variable declaration or definition 27 | * num = 10; //assignment / initialisation 28 | * 29 | * 30 | * 31 | * */ 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /FirstHand_Nov_25/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_25; 2 | 3 | public class HelloWorld { 4 | 5 | public static void main(String args[]) { 6 | System.out.println("Hello World!"); 7 | System.out.println("Welcome to Geekster"); 8 | System.out.print("Vikas is my name"); 9 | } 10 | 11 | } 12 | 13 | // ln --> new line 14 | 15 | // input, output 16 | 17 | 18 | 19 | 20 | 21 | 22 | //methods or functions 23 | //main is the entry point of the code / java app 24 | 25 | 26 | 27 | 28 | 29 | // scope of the class 30 | // whenever we give any class, any method, 31 | // any function, any loop, any if/else statement, 32 | // any try/catch statement 33 | // we always give curly brackets { } 34 | // to denote the start and ending -------------------------------------------------------------------------------- /Practise_Jan_28_2022/IfElse.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_28_2022; 2 | 3 | public class IfElse { 4 | 5 | public static void main(String[] args) { 6 | // print greatest number in 2 numbers 7 | int num1 = 1000; 8 | int num2 = 200; 9 | 10 | if(num1 > num2) { // 1000 > 200 11 | System.out.print(num1); 12 | }else { 13 | System.out.print(num2); 14 | } 15 | 16 | } 17 | } 18 | 19 | /* 20 | * 21 | * if you find noodles, bring noodles 22 | * else bring momos 23 | * 24 | * if (find noodles){ 25 | * bring noodles 26 | * }else{ 27 | * bring momos 28 | * } 29 | * 30 | * 31 | * if (name is Abhishek){ 32 | * Turn on video 33 | * } 34 | * else{ 35 | * turn on mic 36 | * } 37 | * 38 | * 39 | * 40 | */ -------------------------------------------------------------------------------- /Concept_Jan_03/fetch.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Document 4 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Practise_Jan_05_2022/ElseIf.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class ElseIf { 4 | 5 | public static void main(String[] args) { 6 | 7 | // whether a number is positive, negative or zero 8 | int num = 0; 9 | 10 | if (num > 0) { // 0>0 --> false 11 | System.out.print("Positive"); 12 | } 13 | else if (num < 0) { //0<0 --> false 14 | System.out.print("Negative"); 15 | }else { 16 | System.out.print("Zero"); 17 | } 18 | 19 | } 20 | 21 | } 22 | /* 23 | * if you get dosa, 24 | * bring dosa 25 | * 26 | * else if you get noodles, 27 | * bring noodles 28 | * 29 | * else if you get samosa, 30 | * bring samosa 31 | * 32 | * else 33 | * bring momos 34 | * 35 | * 36 | * 37 | * 38 | */ -------------------------------------------------------------------------------- /FirstHand_Jan_04_2022/TypeCasting.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Jan_04_2022; 2 | 3 | public class TypeCasting { 4 | public static void main(String[] args) { 5 | 6 | // converting from one datatype to another 7 | 8 | //byte to int -- works 9 | //automatic/implicit 10 | byte age = 29; 11 | int new_age = age; 12 | System.out.println(new_age); 13 | 14 | // int to short --giving error 15 | // manual//explicit typecasting 16 | int some_age = 30; 17 | short new_some_age = (short) some_age; 18 | System.out.println(new_some_age); 19 | 20 | 21 | float p = 92.4f; 22 | double b = p; 23 | System.out.println(b); 24 | 25 | float k = 93.8f; 26 | int i = (int) k; 27 | System.out.println(i); 28 | 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /FirstHand_Nov_13/Typecasting.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_13; 2 | 3 | public class Typecasting { 4 | public static void main (String args[]) { 5 | 6 | // Automatic/Widening type casting 7 | short salary = 30000; 8 | int annual_salary = salary * 12; //3,60,000 9 | 10 | int pincode = 800001; 11 | long new_pincode = pincode; 12 | 13 | System.out.println(annual_salary); 14 | System.out.println(new_pincode); 15 | 16 | 17 | // manual/ narrowing/explicit typecasting 18 | short date = 11; 19 | byte new_date = (byte) date; 20 | System.out.println(new_date); 21 | 22 | 23 | float percentage = 91.99f; 24 | int new_percent = (int) percentage; 25 | System.out.println(new_percent); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /FirstHand_Nov_25/ifElse.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_25; 2 | 3 | public class ifElse { 4 | public static void main(String args[]) { 5 | 6 | int num1 = 250; 7 | int num2 = 50; 8 | 9 | if (num1 > num2) { 10 | System.out.print(num1); 11 | }else { 12 | System.out.print(num2); 13 | } 14 | } 15 | } 16 | 17 | /* 18 | * 19 | * if (condition is true){ 20 | * 21 | * // action 1 22 | * 23 | * } else{ 24 | * 25 | * // action 2 26 | * } 27 | * 28 | * 29 | * 30 | * if your name is Rahul 31 | * then turn on your video 32 | * otherwise 33 | * turn on your mic 34 | * 35 | * 36 | * 37 | * if you get jalebi, 38 | * bring jalebi 39 | * otherwise 40 | * bring gulab jamun 41 | * 42 | * 43 | * 44 | */ -------------------------------------------------------------------------------- /Practise_May_30_2022/OrOperator.java: -------------------------------------------------------------------------------- 1 | import java.util.*; // line 1 2 | 3 | public class Solution { 4 | 5 | public static void main(String[] args) { 6 | 7 | Scanner sc=new Scanner(System.in); // line 2 8 | 9 | int num = sc.nextInt(); 10 | 11 | if (num > 0 || num % 2 == 0){ 12 | System.out.println("Hello"); 13 | } 14 | else if (num < 0 || num % 2 != 0){ 15 | System.out.println("Hi"); 16 | }else{ 17 | System.out.println("Welcome"); 18 | } 19 | 20 | } 21 | } 22 | // Input a number and 23 | // if the number is Positive OR Even, Print "Hello" 24 | // else if the number is Negative OR Odd, Print "Hi" 25 | // else 26 | // print Welcome -------------------------------------------------------------------------------- /Concept_21-Mar-2022/HTML/border_Padding.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 |

12 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Rerum placeat 13 | possimus impedit error odio corporis recusandae, veniam cupiditate quam 14 | aliquid. 15 |

16 |

17 | Lorem ipsum dolor sit, amet consectetur adipisicing elit. Nihil laborum 18 | officia necessitatibus, cum fuga voluptates obcaecati accusantium quo 19 | sapiente doloribus reiciendis dignissimos, possimus quas esse minima 20 | voluptatibus? Ad, quam tempore. 21 |

22 | 23 | 24 | -------------------------------------------------------------------------------- /Practise_Jan_05_2022/Factors.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class Factors { 4 | 5 | public static void main(String[] args) { 6 | 7 | // write a program that prints all factors of a number 8 | 9 | int num = 100; 10 | 11 | for (int f = 1; f <= num; f++) { 12 | 13 | if(num % f ==0) { 14 | System.out.println(f); 15 | } 16 | 17 | } 18 | 19 | 20 | } 21 | } 22 | 23 | /* 24 | * if x % y ==0, y is a factor of x 25 | * 26 | * 6 --> 1,2,3,6 --> 4 27 | * 28 | * 10 --> 1,2,5,10 --> 4 29 | * 30 | * 20 --> 1,2,4,5,10,20 -->6 31 | * 32 | * 25 --> 1,5,25 --> 3 33 | * 34 | * 100 --> 1,2,4,5,10,20,25,50,100 --> 9 35 | * 36 | * 9 --> 1,3,9 --> 3 37 | * 38 | * 81 --> 1,3,9,27,81 --> 5 39 | * 40 | * 41 | * 42 | */ -------------------------------------------------------------------------------- /FirstHand_Dec_09/IfElse.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_09; 2 | 3 | public class IfElse { 4 | public static void main (String args[]) { 5 | int num1 = 300; 6 | int num2 = 50; 7 | 8 | if (num1 > num2) { 9 | System.out.print(num1); 10 | }else { 11 | System.out.print(num2); 12 | } 13 | 14 | } 15 | } 16 | 17 | /* 18 | * 19 | * condition should always be a boolean -- true/false 20 | * 21 | * if (condition){ 22 | * // action 1 23 | * } 24 | * else { 25 | * // action 2 26 | * } 27 | * 28 | * 29 | * 30 | * 31 | * if your name is rahul 32 | * turn on the video 33 | * else 34 | * turn on your mic 35 | * 36 | * 37 | * 38 | * 39 | * if you get samosa 40 | * bring samosa 41 | * otherwise 42 | * bring momos 43 | * 44 | * 45 | * 46 | */ -------------------------------------------------------------------------------- /Practise_Nov_14/PrimeNumbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class PrimeNumbers { 4 | public static void main (String args[]) { 5 | 6 | int num = 10; 7 | int count_of_factors = 0; 8 | 9 | for (int i = 1; i<=num; i=i+1) { 10 | 11 | if(num % i ==0) { 12 | count_of_factors = count_of_factors + 1; 13 | } 14 | } 15 | 16 | if(count_of_factors == 2) { 17 | System.out.println("Prime number"); 18 | }else { 19 | System.out.println("Not Prime number"); 20 | } 21 | } 22 | } 23 | // 20 - 4,5, 2, 10, 1, 20 24 | // 36 - 1,36, 2,18, 4,9 6 25 | // 25 - 1,5,25 = 3 26 | // 36 - 1,2,3,4,6,9,12,18,36 = 9 27 | // 10 -- 1,2,5,10 == 4 28 | // 9 - 1,3,9 == 3 29 | // 6 - 1,2,3,6 == 4 30 | // 3 - 1,3 = 2 31 | // 7 - 1,7 = 2 32 | // 100 - 1,2,4,5,10,20,25,50,100 = 9 -------------------------------------------------------------------------------- /FirstHand_Oct_17/GreaterNumber.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_FirstHand_Oct_17; 2 | 3 | public class GreaterNumber { 4 | public static void main(String args[]) { 5 | int num1 = 100; 6 | int num2 = 500; 7 | 8 | 9 | if(num1 > num2) { 10 | System.out.print(num1); 11 | }else { 12 | System.out.print(num2); 13 | } 14 | } 15 | } 16 | 17 | 18 | /* 19 | 20 | 21 | go to the Market 22 | 23 | 24 | if you find momos, bring momos 25 | 26 | otherwise if you want pizza, bring pizza 27 | 28 | otherwise if you find dosa, bring dosa 29 | 30 | otherwise bring samosa 31 | 32 | 33 | 34 | 35 | 36 | if (condition 1){ 37 | action 1 38 | } 39 | else if (condition 2){ 40 | action 2 41 | } 42 | else if(condition 3){ 43 | action 3 44 | }else{ 45 | action 4 46 | } 47 | 48 | 49 | 50 | 51 | */ -------------------------------------------------------------------------------- /Practise_Dec_10/Factors.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class Factors { 4 | 5 | public static void main(String[] args) { 6 | // TODO Auto-generated method stub 7 | 8 | int num = 20; 9 | int count_of_factors = 0; 10 | 11 | for (int i = 1; i <= num; i++) { 12 | if(num % i == 0) { 13 | count_of_factors = count_of_factors +1; 14 | } 15 | } 16 | 17 | System.out.println(count_of_factors); 18 | } 19 | 20 | } 21 | /* 22 | * 6 --> 1,2,3,6 === 4 23 | * 10 --> 1,2,5,10 === 4 24 | * 20 --> 1,2,4,5,10,20 == 6 25 | * 26 | * 9 --> 1,3,9 === 3 27 | * 28 | * 100 --> 1,2,4,5,10,20,25,50,100 == 9 29 | * 30 | * 3 --> 1,3 == 2 31 | * 17 --> 1,17 == 2 32 | * 49 --> 1,7,49 == 3 33 | * 34 | * 35 | * Hello, this is a demo for the class 36 | * 37 | */ -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/Paragraph.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |

HTML

7 |

HTML (HyperText Markup Language) is 8 | the most basic building block of the Web. 9 | It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe 10 | a web page's appearance/presentation (CSS) or functionality/behavior (JavaScript).

11 |

12 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Eius quaerat doloribus soluta aliquid, debitis sint pariatur quis, eum labore nisi voluptate totam commodi dolore magni ipsam quasi corrupti corporis odio quae nam, illum autem inventore itaque! Et accusamus ut sint! 13 |

14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Practise_Nov_26/Factors.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class Factors { 4 | public static void main(String args[]) { 5 | 6 | int num = 25; 7 | int count_of_factors = 0; 8 | 9 | 10 | for (int i = 1; i<= num; i++) { 11 | if(num % i == 0) { 12 | count_of_factors = count_of_factors +1; 13 | } 14 | } 15 | 16 | 17 | System.out.print(count_of_factors); 18 | 19 | if(count_of_factors == 2) { 20 | System.out.print("Prime"); 21 | }else { 22 | System.out.print("Not Prime"); 23 | } 24 | 25 | } 26 | } 27 | 28 | // 2 --> 1,2 ==> 2 29 | // 3 --> 1,3 ==> 2 30 | // 7 --> 1,7 ==> 2 31 | // 19 --> 1,19 ==> 2 32 | // 6 --> 1,2,3,6 ==> 4 33 | // 10 --> 1,2,5,10 ==> 4 34 | // 100 --> 1,2,4,5,10,20,25,50,100 => 9 35 | // 9 --> 1,3,9 ==> 3 36 | // 25 --> 1,5,25 ===> 3 37 | 38 | -------------------------------------------------------------------------------- /Practise_Nov_14/OddEven.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class OddEven { 4 | 5 | public static void main (String args[]) { 6 | 7 | // find whether a no. is odd or even 8 | 9 | // 15 % 2 = 1 10 | 11 | // 30 % 6 = 0 12 | 13 | // 30 % 7 = 2 14 | 15 | // 10 % 7 = 3 16 | 17 | // 6 % 10 = 6 18 | 19 | // num % 2 == 0, number is even, else odd 20 | 21 | 22 | int num = 311; 23 | 24 | if(num % 2 ==0) { 25 | System.out.print("Even"); 26 | }else { 27 | System.out.print("Odd"); 28 | } 29 | } 30 | } 31 | // divide any number by 2 32 | 33 | // if no. is divisible by 2, it is even ... otherwise odd 34 | 35 | // x / y, if the remainder is 0, then it is divisible 36 | 37 | // to get the remainder, we use something called a modulo operator 38 | 39 | // % symbol. -------------------------------------------------------------------------------- /FirstHand_April_05_2022/IFElse.java: -------------------------------------------------------------------------------- 1 | package April_05_2022; 2 | 3 | public class IFElse { 4 | 5 | public static void main(String[] args) { 6 | 7 | // Print the greater number in 2 numbers 8 | int num1 = 2100; 9 | int num2 = 500; 10 | 11 | if (num1 > num2) { //2100 > 500 12 | System.out.print(num1); 13 | }else { 14 | System.out.print(num2); 15 | } 16 | 17 | 18 | } 19 | } 20 | 21 | /* 22 | * if you get noodles, --> condition 23 | * then bring noodles 24 | * else 25 | * bring samosa 26 | * 27 | * 28 | * 29 | * 30 | * if (your name is Rahul){ //condition 31 | * turn on your video 32 | * } 33 | * else{ 34 | * turn on your mic 35 | * } 36 | * 37 | * 38 | * if (condition is true){ 39 | * // action1 40 | * } 41 | * else{ 42 | * // action2 43 | * } 44 | * 45 | */ -------------------------------------------------------------------------------- /FirstHand_Dec_09/TypeCasting.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_09; 2 | 3 | public class TypeCasting { 4 | public static void main (String args[]) { 5 | 6 | // smaller container to bigger container 7 | // short --> int 8 | short salary = 20000; 9 | // int annualSalary = salary * 12; 10 | // System.out.println(annualSalary); 11 | int annualSalary = salary; 12 | System.out.println(annualSalary); 13 | 14 | // bigger container to smaller container 15 | // int --> short 16 | int salary2 = 20000; 17 | short extra = 5000; 18 | short annualSalary2 = (short) salary2; //25000 19 | System.out.println(annualSalary2+extra); 20 | 21 | float f = 91.4f; 22 | double f2 = f; 23 | System.out.println(f2); 24 | 25 | float a = 92.99f; 26 | int a2 = (int) a; 27 | System.out.println(a2); // 92 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Practise_Jan_05_2022/OddEven.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class OddEven { 4 | 5 | public static void main(String[] args) { 6 | //int x = 16/3; //5; 7 | // int y = 15 /3 ; //5 8 | //int z = 17/3;// 5.666 => 5 9 | 10 | // modulo operator -- % --> remainder 11 | 12 | 13 | // int a = 15 % 3; //0 14 | // int b = 16 % 3; //1 15 | // int c = 17 % 3; //2 16 | 17 | 18 | int num = 24; 19 | if (num % 2 == 0) { 20 | System.out.println("Even"); 21 | }else { 22 | System.out.println("Odd"); 23 | } 24 | 25 | // print all even numbers from 1 to 100 26 | 27 | for (int i = 1; i <=100; i= i+1) { 28 | if (i % 2 == 0) { 29 | System.out.println(i); 30 | } 31 | } 32 | 33 | 34 | 35 | 36 | } 37 | 38 | } 39 | 40 | // if a number is divisible by 2, it is even 41 | 42 | // x is divisible by y, if the remainder is 0 -------------------------------------------------------------------------------- /FirstHand_Jan_04_2022/IfElse.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Jan_04_2022; 2 | 3 | public class IfElse { 4 | public static void main(String[] args) { 5 | // print the greatest number between 6 | // two numbers 7 | 8 | int num1 = 20; 9 | int num2 = 500; 10 | 11 | // 20 > 500 -- false 12 | if(num1 > num2) { 13 | System.out.print(num1); 14 | }else { 15 | System.out.print(num2); //500 16 | } 17 | 18 | 19 | } 20 | } 21 | /* 22 | * 23 | * if you get jalebi, 24 | * bring jalebi 25 | * else 26 | * bring gulab jamun 27 | * 28 | * 29 | * 30 | * condition is always boolean -- true/ false 31 | * if (condition){ 32 | * // action 1 33 | * }else{ 34 | * // action 2 35 | * } 36 | * 37 | * 38 | * if your name is Abhishek 39 | * turn on your camera 40 | * otherwise 41 | * turn on your mic 42 | * 43 | * 44 | * 45 | * 46 | * 47 | * 48 | */ -------------------------------------------------------------------------------- /FirstHand_Dec_09/IfElseIf.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_09; 2 | 3 | public class IfElseIf { 4 | public static void main (String args[]) { 5 | 6 | int num = 0; 7 | 8 | if (num > 0) { 9 | System.out.print("Positive number"); 10 | }else if (num < 0) { 11 | System.out.print("Negative number"); 12 | }else { 13 | System.out.print("Zero"); 14 | } 15 | } 16 | } 17 | /* 18 | * 19 | * if you get samosa, bring samosa 20 | * 21 | * otherwise if you get jalebi, bring jalebi 22 | * 23 | * otherwise if you get gulabjamun, bring gulab jamun 24 | * 25 | * otherwise get momos 26 | * 27 | * 28 | * 29 | * if (condition 1){ 30 | * // action 1 31 | * } 32 | * else if (condition 2){ 33 | * // action 2 34 | * 35 | * } 36 | * else if (condition3){ 37 | * // action 3 38 | * 39 | * } 40 | * else { 41 | * // action 4 42 | * } 43 | * 44 | * 45 | * 46 | * 47 | * */ -------------------------------------------------------------------------------- /Practise_April_06_2022/ElseIf.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class ElseIf { 4 | 5 | public static void main (String args[]) { 6 | 7 | //greatest between 3 numbers 8 | 9 | int num1 = 20; //20 10 | int num2 = 20;//20 11 | int num3 = 20;//10 12 | 13 | // 20>=20 && 20>=20 -->true 14 | if (num1 >= num2 && num1 >= num3) { 15 | System.out.print(num1);//20 16 | } 17 | else if (num2 >= num1 && num2 >= num3) { 18 | // 20>20 && 20>10 --> false 19 | System.out.print(num2); 20 | }else { 21 | System.out.print(num3); 22 | } 23 | 24 | } 25 | } 26 | 27 | /* 28 | * 29 | * if (you get dosa) -- condition1 30 | * bring dosa 31 | * 32 | * else if( you get Uttapam) -- condition2 33 | * bring Uttapam 34 | * 35 | * 36 | * else if (you get vada) -- condition3 37 | * bring vada 38 | * 39 | * else 40 | * bring idli 41 | * 42 | * 43 | * 44 | */ -------------------------------------------------------------------------------- /Practise_Oct_27/greatestin3numbers.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class greatestin3numbers { 4 | public static void main (String args[]) { 5 | int num1 = 500; 6 | short num2 = 700; 7 | int num3 = 300; 8 | 9 | if(num1>num2 && num1>num3) { 10 | System.out.println(num1); 11 | } 12 | else if(num2>num1 && num2 > num3) { 13 | System.out.println(num2); 14 | }else { 15 | System.out.println(num3); 16 | } 17 | 18 | } 19 | } 20 | 21 | 22 | /* 23 | * AND, OR, NOT 24 | * 25 | * 26 | * Logical operators in Java 27 | * 28 | * 29 | * AND && 30 | * 31 | * if the shop is open AND they are making JALEBIS, 32 | * bring JALEBI for me. 33 | * 34 | * 35 | * 36 | * OR || 37 | * 38 | * bring jalebi or bring gulabjamun 39 | * 40 | * 41 | * 42 | * ! NOT 43 | * 44 | * True --- ! -- False 45 | * False --- ! -- True 46 | * 47 | * 48 | * 49 | * 50 | * 51 | * 52 | */ -------------------------------------------------------------------------------- /Practise_Nov_26/ElseIf.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class ElseIf { 4 | public static void main (String args[]) { 5 | 6 | int num = 0; 7 | 8 | if(num > 0) { 9 | System.out.println("Positive number"); 10 | }else if (num<0) { 11 | System.out.println("Negative number"); 12 | }else { 13 | System.out.println("zero"); 14 | } 15 | 16 | 17 | 18 | } 19 | } 20 | 21 | 22 | /* 23 | * 24 | * if you get jalebi, 25 | * bring jalebi 26 | * 27 | * else if you get gulab jamun, 28 | * bring gulab jamun, 29 | * 30 | * else if you get halwa, 31 | * bring halwa 32 | * 33 | * else 34 | * bring laddoo 35 | * 36 | * 37 | * 38 | * 39 | * 40 | * 41 | * 42 | * 43 | * if you get jalebi, 44 | * bring jalebi 45 | * else 46 | * bring laddoo 47 | * 48 | * if(condition){ 49 | * // do action 1 50 | * }else{ 51 | * // do action 2 52 | * } 53 | * 54 | * 55 | */ -------------------------------------------------------------------------------- /Concept_Jan_03/table.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
IDNAMECITY
1KabirDelhi
2RahulMumbai
1KabirDelhi
2RahulMumbai
48 | 49 | 50 | -------------------------------------------------------------------------------- /Concept_Feb_09/Paragraph.html: -------------------------------------------------------------------------------- 1 |

2 | Visual Studio Code is a lightweight but powerful source code editor which runs 3 | on your desktop and is available for Windows, macOS and Linux. It comes with 4 | built-in support for JavaScript, TypeScript and Node.js and has a rich 5 | ecosystem of extensions for other languages (such as C++, C#, Java, Python, 6 | PHP, Go) and runtimes (such as .NET and Unity). Begin your journey with VS 7 | Code with these introductory videos. 8 |

9 | 10 |

11 | Visual Studio Code is a lightweight but powerful source code editor which runs 12 | on your desktop and is available for Windows, macOS and Linux. It comes with 13 | built-in support for JavaScript, TypeScript and Node.js and has a rich 14 | ecosystem of extensions for other languages (such as C++, C#, Java, Python, 15 | PHP, Go) and runtimes (such as .NET and Unity). Begin your journey with VS 16 | Code with these introductory videos. 17 |

18 | -------------------------------------------------------------------------------- /Practise_Jan_05_2022/Loops.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class Loops { 4 | 5 | public static void main(String[] args) { 6 | // print numbers from 1 to 50 7 | 8 | /*int num; 9 | 10 | for (num = 1; num <=50; num=num+1) { 11 | System.out.println(num); 12 | }*/ 13 | 14 | 15 | 16 | // print from 1000 to 1 17 | /* 18 | for (int x = 1000; x >=1; x = x-1) { 19 | System.out.println(x); 20 | } 21 | */ 22 | for (int num = 1; num<=100; num = num+2) { 23 | System.out.println(num); 24 | } 25 | 26 | } 27 | } 28 | 29 | /* 30 | * num = 5; 31 | * x = num + 1 //6 32 | * 33 | * 34 | * num = 5 35 | * x = num++ //5 36 | * 37 | * num++ , ++num 38 | * Loops -- FOr loop, while loop and do-while 39 | * 40 | * for loops 41 | * 42 | * 43 | * for (initialization; condition; updation){ 44 | * // repeated code 45 | * 46 | * } 47 | * 48 | * 49 | * 50 | * 51 | * 52 | * 53 | * */ 54 | -------------------------------------------------------------------------------- /Practise_Nov_26/whileLoopsAndDoWhileLoops.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class whileLoopsAndDoWhileLoops { 4 | public static void main(String args[]) { 5 | 6 | int num = 1000; 7 | while (num <= 100) { 8 | System.out.println(num); 9 | num = num + 1; 10 | } 11 | 12 | // for loop and while loop 13 | // condition is checked at entry 14 | // entry controlled loop 15 | 16 | int num2 = 1000; 17 | do { 18 | System.out.println(num2);//1000 19 | num2 = num2 + 1; // 1001 20 | } while (num2 <= 100); 21 | 22 | // do while loop 23 | // condition is checked at exit 24 | // exit controlled loop 25 | } 26 | } 27 | 28 | /* 29 | * 30 | * initialisation 31 | * while (condition){ 32 | * 33 | * recurring code; 34 | * 35 | * updation; 36 | * } 37 | * 38 | * 39 | * for(initialise; condition; updation){ 40 | * 41 | * recurring code 42 | * } 43 | * 44 | * 45 | * 46 | */ -------------------------------------------------------------------------------- /Practise_Nov_14/ForLoop.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class ForLoop { 4 | 5 | public static void main (String args[]) { 6 | 7 | //System.out.println("1"); 8 | //System.out.println("2"); 9 | //System.out.println("3"); 10 | //System.out.println("4"); 11 | //System.out.println("5"); 12 | 13 | /* for (initialization; condition; updation){ 14 | * 15 | * // code which is to be repeated 16 | * } 17 | */ 18 | int num; 19 | for ( num = 1; num <= 5; num = num+1) { 20 | System.out.println(num); 21 | }// 1 2 3 4 5 22 | 23 | 24 | System.out.println(num); 25 | } 26 | 27 | } 28 | 29 | /* 30 | * Loops (Iteration) 31 | * 32 | * int a = 10; 33 | * 34 | * 3 types of Java :- 35 | * 1. for loop 36 | * 2. while loop 37 | * 3. do while loop 38 | * 39 | * 40 | * for (initialization; condition; updation){ 41 | * 42 | * // code which is to be repeated 43 | * } 44 | * 45 | * 46 | * 47 | * 48 | */ -------------------------------------------------------------------------------- /FirstHand_Dec_22/TypeCasting.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_22; 2 | 3 | public class TypeCasting { 4 | public static void main(String[] args) { 5 | 6 | // small --> big 7 | // automatic/ implicit/ widening typecasting 8 | byte age = 29; 9 | int new_age = age; 10 | System.out.println(new_age); 11 | 12 | float perc = 91.4f; 13 | double new_perc = perc; 14 | System.out.println(new_perc); 15 | 16 | // big --> small 17 | // manual/ explicit / narrowing 18 | int sal = 30000; 19 | short new_sal = (short)sal; 20 | System.out.println(new_sal); 21 | 22 | float percentage = 91.4f; 23 | int new_percentage = (int) percentage; 24 | System.out.println(new_percentage); 25 | 26 | int val = 900000; 27 | short new_val = (short)val; 28 | System.out.println(new_val); 29 | 30 | char x = 'a'; 31 | int k = x; 32 | System.out.println(k); 33 | 34 | //boolean y = true; 35 | //int z = (int)y; 36 | // System.out.println(z); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Concept_Jan_27_2022/HTML/Task1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

Introduction to HTML

6 |

7 | This module sets the stage, getting you used to important concepts and 8 | syntax such as looking at applying HTML to text, how to create hyperlinks, 9 | and how to use HTML to structure a web page. 10 |

11 | 12 |

Multimedia and embedding

13 |

14 | This module explores how to use HTML to include multimedia in your web 15 | pages, including the different ways that images can be included, and how 16 | to embed video, audio, and even entire other webpages. 17 |

18 | 19 |

HTML tables

20 |

21 | Representing tabular data on a webpage in an understandable, accessible 22 | way can be a challenge. This module covers basic table markup, along with 23 | more complex features such as implementing captions and summaries 24 |

25 | 26 | 27 | -------------------------------------------------------------------------------- /Practise_Nov_14/whileAndDoWhileLoops.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class whileAndDoWhileLoops { 4 | 5 | public static void main (String args[]) { 6 | 7 | // for loop and while are also called as 8 | // Entry controlled loop 9 | /*int num = 500; 10 | while (num<=100) { 11 | System.out.println(num); 12 | num = num+1; 13 | }*/ 14 | 15 | 16 | // Exit controlled loop 17 | int num2 = 500; 18 | do { 19 | System.out.println(num2); 20 | num2 = num2+1; 21 | } while (num2<=100); 22 | 23 | } 24 | } 25 | 26 | /* 27 | * 28 | * 29 | * 1. Find whether a number is perfect square 30 | * 2. Calculate the number of digits in a give number 31 | * 1000099 - 7 32 | * 99000 - 5 33 | * 0007 - 1 34 | * 35 | * 36 | * initialisation 37 | * while (condition){ 38 | * repeated code here 39 | * 40 | * updation 41 | * 42 | * } 43 | * 44 | * 45 | * for (initialisation; condition; updation){ 46 | * repeated code here 47 | * } 48 | * 49 | */ -------------------------------------------------------------------------------- /Concept_Oct-25/Concept/HTML/Paragraph.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Paragraph Element 6 | 7 | 8 | 9 |

10 | This document explains the syntax, vocabulary and the available APIs for HTML5 documents, focussing on simplicity and practical applications for beginners while also providing in depth information for more advanced web developers.This document is complimentary to the 11 |

12 |

13 | 14 | This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy. 15 |

16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Practise_May_30_2022/Multipleof3and5.java: -------------------------------------------------------------------------------- 1 | import java.util.*; // line 1 2 | 3 | public class Solution { 4 | 5 | public static void main(String[] args) { 6 | 7 | Scanner sc=new Scanner(System.in); // line 2 8 | 9 | // Take a number as input from user as "limit" and print all multiples of 3 and 5 upto limit 10 | 11 | int limit = sc.nextInt(); 12 | int num1 = sc.nextInt(); 13 | int num2 = sc.nextInt(); 14 | 15 | for (int num =1; num <=limit; num = num+1){ 16 | 17 | if (num%num1 ==0 || num%num2 ==0){ 18 | System.out.println(num); 19 | } 20 | 21 | } 22 | 23 | 24 | } 25 | } 26 | // Input a number and 27 | // if the number is Positive OR Even, Print "Hello" 28 | // else if the number is Negative OR Odd, Print "Hi" 29 | // else 30 | // print Welcome 31 | 32 | 33 | /* 34 | 3 35 | 5 36 | 6 37 | 9 38 | 10 39 | 12 40 | 15 41 | 18 42 | 20 43 | 21 44 | 45 | */ -------------------------------------------------------------------------------- /Practise_Oct_09/elseif.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class elseif { 4 | 5 | public static void main (String args[]) { 6 | 7 | int num = 0; 8 | 9 | if(num > 0) { 10 | System.out.println("POSITIVE"); 11 | } else if (num < 0) { 12 | System.out.println("NEGATIVE"); 13 | } else { 14 | System.out.println("ZERO"); 15 | } 16 | 17 | 18 | 19 | int new_number = 100; 20 | 21 | if (new_number > 0) { 22 | System.out.println("Greater than 0"); 23 | } 24 | if (new_number > 50) { 25 | System.out.println("Greater than 50"); 26 | } 27 | if (new_number > 90) { 28 | System.out.println("Greater than 90"); 29 | } 30 | 31 | 32 | 33 | int My_number = 100; 34 | 35 | if (My_number > 0) { 36 | System.out.println("Greater than 0"); 37 | } 38 | else if (My_number > 50) { 39 | System.out.println("Greater than 50"); 40 | } 41 | else if (My_number > 90) { 42 | System.out.println("Greater than 90"); 43 | } 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Practise_Oct_27/Elseif.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class Elseif { 4 | 5 | public static void main (String args[]) { 6 | 7 | 8 | int num = 0; 9 | 10 | if(num > 0) { 11 | System.out.print("Positive number"); 12 | }else if (num < 0) { 13 | System.out.print("Negative number"); 14 | }else { 15 | System.out.print("Number is zero"); 16 | } 17 | 18 | 19 | } 20 | } 21 | 22 | /* 23 | * 24 | * if(condition 1){ 25 | * do action 1 26 | * } 27 | * else { 28 | * do action 2 29 | * } 30 | * 31 | * 32 | * 33 | * if (you get noodles) 34 | * bring noodles 35 | * else 36 | * bring momos 37 | * 38 | * 39 | * 40 | * 41 | * 42 | * if (you get noodles) 43 | * bring noodles 44 | * 45 | * else if (you get momos) 46 | * bring momos 47 | * 48 | * else if (you get pizza) 49 | * bring pizza 50 | * 51 | * else 52 | * bring burger 53 | * 54 | * 55 | * 56 | * 57 | * 58 | * 59 | * 60 | */ -------------------------------------------------------------------------------- /Practise_Dec_10/WhileLoopAndDoWhileLoop.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class WhileLoopAndDoWhileLoop { 4 | 5 | public static void main(String[] args) { 6 | // TODO Auto-generated method stub 7 | 8 | /* 9 | for (int num = 1; num <= 500; num = num+1) { 10 | System.out.println(num); 11 | } 12 | * */ 13 | 14 | // entry controlled loop 15 | for (int num3 = 1000; num3 <= 500; num3 = num3+1) { 16 | System.out.println(num3); 17 | } 18 | 19 | 20 | int num = 1000; 21 | while (num <= 500) { 22 | System.out.println(num); 23 | num = num + 1; 24 | } 25 | 26 | 27 | 28 | // exit controlled loop 29 | int num2 = 1000; 30 | do { 31 | System.out.println(num2); 32 | num2 = num2 + 1; 33 | } while (num2 <= 500); 34 | } 35 | 36 | } 37 | /* 38 | * 39 | * 40 | 41 | initialisation 42 | while (condition){ 43 | // repeated code 44 | // updation 45 | } 46 | 47 | 48 | for (initialization; condition ; updation){ 49 | * // repeated code 50 | * } 51 | */ -------------------------------------------------------------------------------- /Concept_21-Mar-2022/HTML/Paragraph.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

6 | This module sets the stage, getting you used to important concepts and 7 | syntax such as looking at applying HTML to text, how to create hyperlinks, 8 | and how to use HTML to structure a web page.This module sets the stage, 9 | getting you used to important concepts and syntax such as looking at 10 | applying HTML to text, how to create hyperlinks, and how to use HTML to 11 | structure a web page. 12 |

13 | 14 |

15 | This module sets the stage, getting you used to important concepts and 16 | syntax such as looking at applying HTML to text, how to create hyperlinks, 17 | and how to use HTML to structure a web page.This module sets the stage, 18 | getting you used to important concepts and syntax such as looking at 19 | applying HTML to text, how to create hyperlinks, and how to use HTML to 20 | structure a web page. 21 |

22 | 23 | 24 | -------------------------------------------------------------------------------- /Practise_May_30_2022/Greater2.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | 3 | public static void main(String[] args){ 4 | // print the greater number between 500 and 1000; 5 | int num1 = 500; 6 | int num2 = 1000; 7 | 8 | if (num1 > num2){ 9 | System.out.print(num1); 10 | }else{ 11 | System.out.print(num2); 12 | } 13 | } 14 | } 15 | 16 | // Method arguments - () // paranthese 17 | // if conditions -- () //parantheses 18 | 19 | // for all block of code --> 20 | // e.g. after class, after method, after if , after else , after loops 21 | // we will always use curly brackets {} 22 | 23 | // for arrays - we use square brackets [] 24 | 25 | // no. of opening brackets should always be equal to no. of closig brackets 26 | 27 | // brackets are very important to understand the flow of a program 28 | 29 | // After every statement like assignment of variable or calculation use a semi colon. 30 | 31 | // Semi colon is not required in a method line or a if eelse condition or class line -------------------------------------------------------------------------------- /Concept_Jan_13/HTML/Division.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 |

HTML

7 |

8 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolores magnam 9 | minus officiis optio quam totam, labore in id eos cum eligendi delectus 10 | nihil enim. Sed itaque ipsam nemo iusto labore! 11 |

12 |
13 | 14 |
15 |

CSS

16 |

17 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolores magnam 18 | minus officiis optio quam totam, labore in id eos cum eligendi delectus 19 | nihil enim. Sed itaque ipsam nemo iusto labore! 20 |

21 |
22 | 23 |
24 |

Javascript

25 |

26 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolores magnam 27 | minus officiis optio quam totam, labore in id eos cum eligendi delectus 28 | nihil enim. Sed itaque ipsam nemo iusto labore! 29 |

30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /Practise_Dec_23/Count_of_Factors.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class Count_of_Factors { 4 | 5 | public static void main(String[] args) { 6 | 7 | int num = 30; 8 | int count_of_factors = 0; 9 | 10 | for (int i = 1; i<= num; i=i+1) { 11 | 12 | if(num%i == 0) { 13 | count_of_factors = count_of_factors + 1; 14 | } 15 | } 16 | 17 | System.out.print(count_of_factors); 18 | } 19 | } 20 | 21 | /* 22 | * WAP to check whether a number is a perfect square 23 | * WAP to count the number of digits in a number 24 | * 9178 -- 4 25 | * 89000 -- 5 26 | * 000089 -- 2 27 | * 28 | * 29 | * 30 | * 31 | * 32 | * 6 -- 1,2,3,6 = 4 33 | * 9 -- 1,3,9 = 3 34 | * 20 -- 1,2,4,5,10,20 = 6 35 | * 10 -- 1,2,5,10 = 4 36 | * 100 -- 1,2,4,5,10,20, 25, 50, 100 = 9 37 | * 25 -- 1,5,25 = 3 38 | * 64 -- 1,2,4,8, 16,32, 64 = 7 39 | * 81 -- 1,3,9,27, 81 = 5 40 | * 30 -- 1,2,3,5,6,10,15,30 = 8 41 | * 42 | * 43 | * 7 -- 1, 7 = 2 44 | * 17 = 1, 17 = 2 45 | * 46 | * 47 | * 48 | * 49 | * 50 | */ -------------------------------------------------------------------------------- /Practise_Dec_23/Elseif.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_23; 2 | 3 | public class Elseif { 4 | public static void main(String[] args) { 5 | int num = 0; 6 | 7 | if (num>0) { 8 | System.out.println("Positive number"); 9 | } 10 | else if (num < 0) { 11 | System.out.println("Negative number"); 12 | }else { 13 | System.out.println("Zero"); 14 | } 15 | 16 | 17 | 18 | int x = 20; 19 | if (x>0) { 20 | System.out.println("Hello"); 21 | } 22 | if (x>10) { 23 | System.out.println("Welcome"); 24 | } 25 | 26 | 27 | if (x>0) { 28 | System.out.println("Hello2"); 29 | } 30 | else if (x>10) { 31 | System.out.println("Welcome2"); 32 | } 33 | } 34 | } 35 | 36 | /* 37 | * 38 | * if you get dosa, 39 | * bring dosa 40 | * 41 | * else if you get noodles, 42 | * bring noodles 43 | * 44 | * else if you get momos, 45 | * bring momos 46 | * 47 | * else if you get samosa, 48 | * bring samosa 49 | * 50 | *else 51 | * bring pakode 52 | * 53 | * 54 | * 55 | * 56 | * 57 | */ -------------------------------------------------------------------------------- /FirstHand_Sep_25/Loops.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Sep_25; 2 | 3 | public class Loops { 4 | public static void main(String args[]) { 5 | //for (int product = 1; product <=10; product=product+=1) { 6 | // System.out.println(product); //7*1 7 | //} 8 | 9 | // entry controlled loop 10 | // int i = 5; 11 | // while(i< 11) { 12 | // System.out.println(i); 13 | // i= i+1; 14 | // } 15 | 16 | 17 | int j = 20; 18 | do { 19 | System.out.println(j); //20 20 | j= j+1; //21 21 | } while(j< 11); 22 | // exit controlled loop 23 | 24 | 25 | } 26 | } 27 | 28 | /* 29 | * 30 | * * for (initialisation/assignment ; condition; updation ){ 31 | * 32 | * // write the code that has to be repeated 33 | * } 34 | * 35 | * 36 | * initialize the variable 37 | * while (condition){ 38 | * 39 | * updation; 40 | * } 41 | * 42 | * 43 | * 44 | * initialize the variable 45 | * do { 46 | * 47 | * // write all code 48 | * // updation logic 49 | * } while (i< 10) 50 | * 51 | * 52 | * 53 | 54 | */ 55 | 56 | 57 | -------------------------------------------------------------------------------- /FirstHand_Oct_26/Variable.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Oct_26; 2 | 3 | public class Variable { 4 | 5 | public static void main (String args[]) { 6 | 7 | byte age = 29; 8 | short salary = 30000; 9 | int pincode = 800001; 10 | long phone = 9877523659L; 11 | 12 | 13 | float percentage = 85.6f; 14 | double no = 3672846778347.90909; 15 | 16 | 17 | boolean isIndian = true; 18 | char section = 'D'; 19 | 20 | String message = "Welcome to Geekster"; 21 | 22 | 23 | System.out.println("age--"+ age); 24 | System.out.println("salary--" + salary); 25 | System.out.println(pincode); 26 | System.out.println(phone); 27 | System.out.println(percentage); 28 | System.out.println(no); 29 | System.out.println(isIndian); 30 | System.out.println(section); 31 | System.out.println(message); 32 | } 33 | } 34 | 35 | 36 | // age -- 29 37 | /* 38 | * A variable is a container to store data 39 | * 40 | * type_of_container name_of_container = Value_to_store 41 | * 42 | * 43 | * data_type age = 29; 44 | * 45 | * 46 | * 47 | */ -------------------------------------------------------------------------------- /Concept_Jan_27_2022/HTML/Para.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 |

12 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quos harum 13 | provident architecto iure velit est esse fugit praesentium, mollitia sunt 14 | molestias doloremque in perspiciatis sit culpa! Praesentium accusamus 15 | tempora sint, error earum, possimus porro eos, ipsa laudantium iusto 16 | maxime iste? 17 |

18 | 19 |

20 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Perspiciatis 21 | doloremque excepturi, optio, incidunt exercitationem laboriosam laborum 22 | atque itaque voluptas ipsam amet? Officia consequatur autem deleniti, 23 | natus doloribus nam provident necessitatibus modi doloremque iusto tempore 24 | quidem eius dolor, ipsam laborum! Ab quibusdam eum deleniti nihil. 25 | Temporibus perferendis magni repudiandae numquam eos. 26 |

27 | 28 | 29 | -------------------------------------------------------------------------------- /FirstHand_Dec_09/RelationalOperators.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_09; 2 | 3 | public class RelationalOperators { 4 | public static void main (String args[]) { 5 | 6 | System.out.println(100 == 100); // T 7 | System.out.println(100 == 10); // F 8 | System.out.println(1 == 1000); // F 9 | 10 | 11 | System.out.println(100 != 100); // F 12 | System.out.println(100 != 10); // T 13 | System.out.println(1 != 1000); // T 14 | 15 | 16 | System.out.println(100 > 100); // F 17 | System.out.println(100 > 10); // T 18 | System.out.println(1 > 1000); // F 19 | 20 | 21 | System.out.println(100 < 100); // F 22 | System.out.println(100 < 10); // F 23 | System.out.println(1 < 1000); // T 24 | 25 | System.out.println(100 >= 100); // T 26 | System.out.println(100 >= 10); // T 27 | System.out.println(1 >= 1000); // F 28 | 29 | 30 | System.out.println(100 <= 100); // T 31 | System.out.println(100 <= 10); // F 32 | System.out.println(1 <= 1000); // T 33 | 34 | } 35 | } 36 | /* 37 | * 38 | * == equal to 39 | * --true, false 40 | * 41 | * 42 | * 43 | */ -------------------------------------------------------------------------------- /Concept_May_27_2022/Strings.java: -------------------------------------------------------------------------------- 1 | public class Strings { 2 | public static void main(String[] args) { 3 | 4 | String message = "Hello, everyone !! My name 1232334 @#$%$%%"; 5 | 6 | System.out.println(message); 7 | 8 | // 20 + 30 --> 50 9 | // "Vikas" + "Ranjan" --> "VikasRanjan" 10 | // "20" + "30" --> "2030" 11 | // "VIkas " + 27 --> "VIkas27" 12 | 13 | /// string concatenation. -> joining two strings 14 | 15 | String firstName = "Vikas"; 16 | String lastName = "Ranjan"; 17 | 18 | String newName = firstName + lastName; 19 | System.out.println(newName); 20 | 21 | System.out.println(firstName + " " + lastName); 22 | 23 | System.out.println("Hello, my name is " + "Vikas"); 24 | 25 | System.out.println("Hello, my dateofbirth is " + 27 + " May "); 26 | 27 | System.out.println(" The addition of 500 and 300 is : "+ 500 + 300); 28 | 29 | System.out.println(" The addition of 500 and 300 is : "+ (500 + 300)); 30 | } 31 | } -------------------------------------------------------------------------------- /Practise_Jan_05_2022/CountOfFactors.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class CountOfFactors { 4 | 5 | public static void main(String[] args) { 6 | 7 | // write a program that prints 8 | //count of factors of a number 9 | 10 | int num = 20; 11 | int count = 0; 12 | 13 | for (int f = 1; f <= num; f++) { 14 | 15 | if(num % f ==0) { 16 | count = count + 1; 17 | 18 | } 19 | 20 | } 21 | 22 | System.out.println(count); 23 | 24 | 25 | /* 26 | * if(count ==2){ 27 | * System.out.println("prime"); 28 | *} 29 | * else{ 30 | * System.out.println("not prime"); 31 | * } 32 | * */ 33 | } 34 | } 35 | 36 | /* 37 | * if x % y ==0, y is a factor of x 38 | * 39 | * 6 --> 1,2,3,6 --> 4 40 | * 41 | * 10 --> 1,2,5,10 --> 4 42 | * 43 | * 20 --> 1,2,4,5,10,20 -->6 44 | * 45 | * 25 --> 1,5,25 --> 3 46 | * 47 | * 100 --> 1,2,4,5,10,20,25,50,100 --> 9 48 | * 49 | * 9 --> 1,3,9 --> 3 50 | * 51 | * 81 --> 1,3,9,27,81 --> 5 52 | * 53 | * 7 --> 1,7 --> 2 54 | * 55 | * 19 --> 1,19 --> 2 56 | * 57 | * 5 --> 1,5 --> 2 58 | * 59 | * 60 | * 61 | */ -------------------------------------------------------------------------------- /Practise_April_06_2022/Loops.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class Loops { 4 | 5 | public static void main(String[] args) { 6 | // print all numbers from 1 to 5 7 | 8 | // A->B->C->D->B->C->D->B->C->D->B->C->D->B->C->D->B 9 | // num --> 1x 2x 3x 4x 5x 6 10 | int num; 11 | 12 | //line A line B line D 13 | for (num = 1; num <= 5; num = num+1) { 14 | System.out.println(num); // line C 15 | } 16 | 17 | 18 | // System.out.println(x); 19 | 20 | System.out.println(num); //??? 21 | // 5, 1, 6, null 22 | // 5 --> last value of num 23 | // 1 --> XXX - 24 | // 0 --> default value for int --. XXX 25 | // null --> XXX 26 | // 6 -- right ans 27 | 28 | //1<=5 --> true 29 | // 2<= 5 -> true 30 | // 3 <=5 -> true 31 | // 4<= 5 -> true 32 | // 5 <=5 -> true 33 | // 6 <= 5 --> false 34 | 35 | 36 | 37 | //OUTPUT --> 38 | //1 39 | //2 40 | //3 41 | //4 42 | //5 43 | 44 | 45 | } 46 | } 47 | /* 48 | * 49 | *Loops - For, while, do-while 50 | * 51 | * for (assignment; condition; updation){ 52 | * // repeating code here 53 | * } 54 | * 55 | * 56 | * 57 | */ -------------------------------------------------------------------------------- /Practise_May_30_2022/Prime.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | 5 | // 1. Take a number as input from user and print its all factors 6 | // 2. Take a number as input and print the total count of its factors 7 | // 3. Take a number as input and print whether its prime or not 8 | int num = 100; 9 | int count = 0; 10 | 11 | for (int i = 1; i <=num; i= i+1 ){ 12 | if (num % i == 0){ 13 | count = count+1; 14 | } 15 | } 16 | 17 | if (count==2){ 18 | System.out.println("Prime"); 19 | }else{ 20 | System.out.println("Not Prime"); 21 | } 22 | 23 | } 24 | } 25 | 26 | 12321 27 | 28 | /* 29 | 30 | 10 -- 1,2,5,10 -- 4 31 | 6 -- 1,2,3,6 -- 4 32 | 20 - 1,2,4,5,10,20 -- 6 33 | 30 - 1,2,3,5,6,10,15,30 -- 8 34 | 35 | 100 - 1,2,4,5,10,20,25,50,100 - 9 36 | 37 | 25 - 1,5,25 -- 3 38 | 39 | 9 - 1,3,9 -- 3 40 | 41 | 81 - 1,3,9,27,81 -- 5 42 | 43 | 7 - 1, 7 -- 2 44 | 11 - 1,11 -- 2 45 | 46 | */ -------------------------------------------------------------------------------- /FirstHand_Dec_22/LogicalOperators.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_22; 2 | 3 | public class LogicalOperators { 4 | public static void main(String[] args) { 5 | int num1 = 10; int num2 = 20; 6 | 7 | if(num1> 0 && num2 > 0) { 8 | System.out.print("hello"); 9 | } 10 | } 11 | } 12 | /* 13 | * Logical operators 14 | * 15 | * AND, OR, NOT 16 | * 17 | * AND --- && 18 | * if the shop is open AND they are making JALEBIS, 19 | * bring Jalebi for me 20 | * 21 | * condition1 condition2 result 22 | * False False False 23 | * False true False 24 | * True False False 25 | * True True True 26 | * 27 | * 28 | * 29 | * OR operator -- || 30 | * 31 | * if you get jalebi, buy jalebi 32 | * or if you get gulabjamun, buy gulabjamun 33 | * 34 | * condition1 condition2 result 35 | * False False False 36 | * False true True 37 | * True False True 38 | * True True True 39 | * 40 | * 41 | * 42 | * NOT operator - ! 43 | * condition Result 44 | * True false 45 | * false True 46 | * 47 | * 48 | * 49 | * 50 | * 51 | * 52 | */ -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/Table.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Table element 5 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
IDNAMECITY
1s1Hyd
2s2Gurugram
3s3Delhi
41 |
42 | 43 | -------------------------------------------------------------------------------- /FirstHand_Nov_13/NestedIf.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_13; 2 | 3 | public class NestedIf { 4 | 5 | public static void main (String args[]) { 6 | 7 | int num = 0; 8 | 9 | if(num>0) { 10 | System.out.print("Positive number"); 11 | } else if (num<0) { 12 | System.out.print("negative number"); 13 | }else { 14 | System.out.print("zero"); 15 | } 16 | 17 | 18 | 19 | 20 | int num2 = -200; 21 | 22 | if(num2>0) { 23 | if(num2 > 50) { 24 | System.out.print("more than fifity"); 25 | }else if (num2 > 20) { 26 | System.out.print("more than 20"); 27 | }else { 28 | System.out.print("less than 20"); 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | } 36 | } 37 | 38 | /* 39 | * 40 | * 41 | * if (you get noodles){ 42 | * bring noodles 43 | * } 44 | * else if (you get momos){ 45 | * bring momos 46 | * } else { 47 | * bring samosa 48 | * } 49 | * 50 | * 51 | * 52 | * if (name is rahul){ 53 | * turn on video 54 | * } else if (name is neha){ 55 | * turn on mic 56 | * } else if (name is Abhishek){ 57 | * turn off video 58 | * }else{ 59 | * turn off mic 60 | * } 61 | * 62 | * 63 | * 64 | */ -------------------------------------------------------------------------------- /Concept_Jan_27_2022/HTML/Structure.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

HTML

6 |

7 | "Hypertext" refers to links that connect web pages to one another, either 8 | within a single website or between websites. Links are a fundamental 9 | aspect of the Web. By uploading content to the Internet and linking it to 10 | pages created by other people, you become an active participant in the 11 | World Wide Web. "Hypertext" refers to links that connect web pages to one 12 | another, either within a single website or between websites. Links are a 13 | fundamental aspect of the Web. By uploading content to the Internet and 14 | linking it to pages created by other people, you become an active 15 | participant in the World Wide Web. "Hypertext" refers to links that 16 | connect web pages to one another, either within a single website or 17 | between websites. Links are a fundamental aspect of the Web. By uploading 18 | content to the Internet and linking it to pages created by other people, 19 | you become an active participant in the World Wide Web. 20 |

21 | 22 | 23 | -------------------------------------------------------------------------------- /FirstHand_Dec_22/RelationalOperators.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_22; 2 | 3 | public class RelationalOperators { 4 | 5 | public static void main(String[] args) { 6 | 7 | System.out.println(100==100); // true 8 | System.out.println(100==10); // false 9 | System.out.println(1==1000); // false 10 | 11 | System.out.println(100 != 100); // false 12 | System.out.println(100 != 10); // true 13 | System.out.println(1 != 1000); // true 14 | 15 | System.out.println(100 > 100); // false 16 | System.out.println(100 > 10); // true 17 | System.out.println(1 > 1000); // false 18 | 19 | System.out.println(100 < 100); // false 20 | System.out.println(100 < 10); // false 21 | System.out.println(1 < 1000); // true 22 | 23 | System.out.println(100 >= 100); // true 24 | System.out.println(100 >= 10); // true 25 | System.out.println(1 >= 1000); // false 26 | 27 | System.out.println(100 <= 100); // true 28 | System.out.println(100 <= 10); // false 29 | System.out.println(1 <= 1000); // true 30 | 31 | } 32 | } 33 | 34 | // Relational operators ---> boolean true/false 35 | 36 | /* 37 | * == : is equal to 38 | * true if both values are equal, else false 39 | * 40 | * 41 | * 42 | * 43 | */ -------------------------------------------------------------------------------- /FirstHand_Jan_04_2022/RelationalOperators.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Jan_04_2022; 2 | 3 | public class RelationalOperators { 4 | 5 | public static void main(String[] args) { 6 | 7 | System.out.println(100==100); // true 8 | System.out.println(1==100); // false 9 | System.out.println(1000==10); //false 10 | 11 | 12 | System.out.println(100!=100); // false 13 | System.out.println(1!=100); // true 14 | System.out.println(1000!=10); //true 15 | 16 | 17 | System.out.println(100>100); // false 18 | System.out.println(1>100); // false 19 | System.out.println(1000>10); //true 20 | 21 | System.out.println(100 >= 100); // true 22 | System.out.println(1>=100); // false 23 | System.out.println(1000>=10); //true 24 | 25 | 26 | System.out.println(100<100); // false 27 | System.out.println(1<100); // true 28 | System.out.println(1000<10); // false 29 | 30 | System.out.println(100 <= 100); // true 31 | System.out.println(1 <= 100); // true 32 | System.out.println(1000 <= 10); //false 33 | 34 | } 35 | } 36 | 37 | /*Relational operators 38 | * 39 | * > 40 | * < 41 | * 42 | * >= 43 | * <= 44 | * 45 | * == 46 | * 47 | * != 48 | * 49 | * 50 | * 51 | * 52 | * 53 | */ -------------------------------------------------------------------------------- /Concept_Oct-25/Concept/HTML/Division.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 18 | 19 | 20 | 21 |
22 |

HTML

23 | 24 |

25 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Culpa fugiat 26 | repellendus hic, quod eos, molestias quo cupiditate qui quas molestiae 27 | labore rerum explicabo sit consequatur consectetur officiis vel. 28 | Quibusdam aliquam cumque ipsam aliquid totam numquam ipsum natus placeat 29 | illum veniam! 30 |

31 |
32 |
33 |

CSS

34 |

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam, hic?

35 |
36 | 37 |
38 |

Javascript

39 |

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam, hic?

40 |
41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /Practise_April_06_2022/NestedIfs.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class NestedIfs { 4 | 5 | public static void main(String[] args) { 6 | 7 | // we have to print whether :- 8 | // - a number is :- 9 | //1. odd and positive 10 | //2. even and positive 11 | //3. odd and negative 12 | //4. even and negative 13 | //5. zero 14 | 15 | int num = 0; 16 | 17 | if (num > 0) { // -3>0 --> true 18 | // positive 19 | if (num % 2 == 0) { //--> true 20 | System.out.print("Even and Positive"); 21 | 22 | }else { 23 | System.out.print("Odd and Positive"); 24 | } 25 | } 26 | else if (num <0) { // -3<0--> true 27 | //negative 28 | if (num % 2 == 0) { //-1==0 //false 29 | System.out.print("Even and negative"); 30 | }else { 31 | System.out.print("Odd and negative"); 32 | } 33 | 34 | }else { 35 | //zero 36 | System.out.print("zero"); 37 | } 38 | 39 | } 40 | } 41 | 42 | 43 | /* 44 | * 5 --> odd and positive 45 | * 19 --> odd and positive 46 | * 47 | * 24 --> even and positive 48 | * 49 | * 100 --> even and positive 50 | * 51 | * -3 -> odd and negative 52 | * 53 | * -20 -> even and negative 54 | * 55 | * 0 ---> zero 56 | * 57 | * 58 | * 59 | */ -------------------------------------------------------------------------------- /Concept_Mar_03_2022/HTML/margin.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 |
16 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, dolorem 17 | fugiat quas voluptatem et fuga, deserunt cum quos deleniti pariatur 18 | accusantium similique cupiditate! Voluptatibus veniam, ut sequi earum 19 | eligendi quod blanditiis sit! Asperiores sint quaerat, dolores dolorum 20 | blanditiis recusandae mollitia cum maiores ipsum optio sit perspiciatis? 21 | Sint cumque veritatis assumenda? 22 |
23 |
24 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, dolorem 25 | fugiat quas voluptatem et fuga, deserunt cum quos deleniti pariatur 26 | accusantium similique cupiditate! Voluptatibus veniam, ut sequi earum 27 | eligendi quod blanditiis sit! Asperiores sint quaerat, dolores dolorum 28 | blanditiis recusandae mollitia cum maiores ipsum optio sit perspiciatis? 29 | Sint cumque veritatis assumenda? 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /Concept_Feb_09/Division.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | 13 | 14 |
15 |

HTML

16 |

17 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum nam 18 | quidem nemo recusandae ab dicta accusamus soluta ipsum, quod ratione 19 | fuga quis iste! Maxime excepturi nobis, omnis sapiente porro quasi. 20 |

21 |
22 | 23 |
24 |

CSS

25 |

26 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Id dicta fuga, 27 | sapiente laboriosam facilis fugit hic rerum expedita repudiandae nihil 28 | reiciendis! Tempore error quidem doloribus blanditiis, ratione odit 29 | corrupti beatae hic accusamus placeat eum neque minus voluptate amet eos 30 | laborum? 31 |

32 |
33 | 34 |
35 |

Javascript

36 |
37 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo expedita 38 | modi voluptatum officia deleniti quas quia, quisquam doloremque optio 39 | fuga. 40 |
41 |
42 | 43 | 44 | -------------------------------------------------------------------------------- /Practise_Jan_05_2022/LogicalOperators.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_05_2022; 2 | 3 | public class LogicalOperators { 4 | 5 | public static void main(String[] args) { 6 | 7 | int num1 = 50; 8 | int num2 = 100; 9 | int num3 = 75; 10 | 11 | if (num1 >= num2 && num1 >= num3) { 12 | System.out.println(num1); 13 | } 14 | else if (num2 >= num1 && num2 >= num3) { 15 | System.out.println(num2); 16 | } else { 17 | System.out.println(num3); 18 | } 19 | 20 | 21 | int num = 10; 22 | if (!(num==10)) { 23 | System.out.println("hello"); 24 | }else { 25 | System.out.println("welcome"); 26 | } 27 | 28 | 29 | } 30 | 31 | } 32 | 33 | /* 34 | * AND, OR, NOT 35 | * 36 | * AND - && 37 | * 38 | * RS LS goes to President 39 | * 40 | * T F F 41 | * F F F 42 | * F T F 43 | * T T T 44 | * 45 | * 46 | * RS LS President Law 47 | * T T F F 48 | * T T T T 49 | * 50 | * 51 | * 52 | * ------------------------ 53 | * 54 | * OR - condition -- || 55 | * 56 | * bring noodles or bring momos 57 | * 58 | * T T ---> T 59 | * T F --> T 60 | * F T -> T 61 | * F F --> F 62 | * 63 | * 64 | * NOT -- ! 65 | * 66 | * True --> False 67 | * False --> True 68 | * 69 | * 70 | */ -------------------------------------------------------------------------------- /Practise_Oct_18/operators.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class operators { 4 | public static void main(String args[]) { 5 | 6 | int num1 = 100; 7 | int num2 = 200; 8 | int num3 = 300; 9 | 10 | if(num1 > num2 && num1 > num3) { 11 | System.out.println(num1); 12 | }else if (num2> num1 && num2>num3) { 13 | System.out.println(num2); 14 | }else { 15 | System.out.println(num3); 16 | } 17 | 18 | 19 | 20 | if(num1>0 || num1<0) { 21 | System.out.println("not zero"); 22 | }else { 23 | System.out.println("zero"); 24 | } 25 | 26 | 27 | System.out.println(!true); // false 28 | 29 | } 30 | } 31 | /* 32 | 33 | logical operators 34 | 35 | 36 | if the shop is open AND they are making jalebis, bring jalebi 37 | AND -- && 38 | condition 1 condition 2 result 39 | T T T 40 | F T F 41 | T F F 42 | F F F 43 | 44 | 45 | 46 | 47 | OR operator -- || 48 | bring me pepsi OR coca cola 49 | condition 1 condition 2 result 50 | T T T 51 | T F T 52 | F T T 53 | F F F 54 | 55 | 56 | 57 | NOT -- ! 58 | true -- false 59 | false -- true 60 | 61 | 62 | */ -------------------------------------------------------------------------------- /Concept_21-Mar-2022/HTML/margin.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 |
13 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Numquam qui saepe 14 | optio ut assumenda ipsam deleniti possimus sint cupiditate, neque harum 15 | autem, animi fuga tenetur repellat adipisci necessitatibus cum aliquid? 16 |
17 |
18 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Maiores 19 | laboriosam rem sed ab eligendi aspernatur a eius et culpa. Amet laudantium 20 | magni, quaerat nihil id quos magnam. Minus, quia quas! 21 |
22 |
23 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Numquam qui saepe 24 | optio ut assumenda ipsam deleniti possimus sint cupiditate, neque harum 25 | autem, animi fuga tenetur repellat adipisci necessitatibus cum aliquid? 26 |
27 |
28 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Maiores 29 | laboriosam rem sed ab eligendi aspernatur a eius et culpa. Amet laudantium 30 | magni, quaerat nihil id quos magnam. Minus, quia quas! 31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /FirstHand_Oct_17/ifelse.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_FirstHand_Oct_17; 2 | 3 | public class ifelse { 4 | public static void main(String args[]) { 5 | 6 | int num1 = 100; 7 | int num2 = 10; 8 | 9 | if (num1 == num2) { //false 10 | System.out.println("Equal"); 11 | }else { 12 | System.out.println("NOt Equal"); 13 | } 14 | 15 | 16 | System.out.println(10 == 100);//false 17 | System.out.println(100 == 100);//true 18 | System.out.println(100 > 5);//true 19 | System.out.println(10 > 1); //true 20 | System.out.println(10 > 100); //false 21 | System.out.println(10 < 100); //true 22 | System.out.println(100 < 100); //false 23 | System.out.println(100 <= 100); //true 24 | System.out.println(1000 <= 100); //false 25 | System.out.println(100 >= 100); //true 26 | System.out.println(1000 >= 100); //true 27 | System.out.println(1 >= 100); //false 28 | } 29 | } 30 | 31 | /* 32 | * 33 | * Relational operators / conditional 34 | * 35 | * == : is equal to -- whether both values are equal 36 | * > 37 | * 38 | * 39 | * 40 | * 41 | * 42 | * if(your name is rahul) 43 | * then turn on your video; 44 | * else 45 | * turn on your mic; 46 | * 47 | * 48 | * 49 | * if (condition) { 50 | * action 1 51 | * } else{ 52 | * action 2 53 | * } 54 | * 55 | * 56 | */ -------------------------------------------------------------------------------- /Practise_May_30_2022/Greatest3Numbers.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | public static void main(String[] args) { 3 | 4 | int num1 = 300; 5 | int num2 = 1250; 6 | int num3 = 700; 7 | 8 | // print the greatest number in 3 numbers 9 | 10 | if (num1 >= num2 && num1 >= num3){ 11 | System.out.println(num1); 12 | } 13 | 14 | else if (num2 >= num1 && num2 >= num3){ 15 | System.out.println(num2); 16 | } 17 | else { 18 | System.out.println(num3); 19 | } 20 | 21 | 22 | } 23 | } 24 | 25 | /* 26 | 27 | Logical operators 28 | AND, OR, NOT -- 29 | 30 | Their output is always a boolean --> True/False 31 | 32 | AND operator -- && 33 | if the shop is Open, 34 | AND 35 | if they are making Samosa, 36 | 37 | Bring Samosa 38 | 39 | C1. C2. Result 40 | False True False 41 | False False False 42 | True False False 43 | True. True. True 44 | 45 | 46 | 47 | 48 | OR operator -- || 49 | // if anyone is true, then give result 50 | C1. C2. Result 51 | True True. True 52 | True. False. True 53 | False. True. true 54 | False False. False 55 | 56 | 57 | NOT --- ! 58 | 59 | C. Result 60 | True. False 61 | False. true 62 | 63 | 64 | 65 | */ -------------------------------------------------------------------------------- /Practise_Jan_28_2022/RelationalOperators.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_28_2022; 2 | 3 | public class RelationalOperators { 4 | public static void main(String[] args) { 5 | 6 | System.out.println(100 == 100);// true 7 | System.out.println(10 == 100);// false 8 | System.out.println(1000 == 1);// false 9 | 10 | System.out.println(100 != 100);// false 11 | System.out.println(10!=100);// true 12 | System.out.println(1000!=1);// true 13 | 14 | System.out.println(100>100); // false 15 | System.out.println(10>100);// false 16 | System.out.println(1000>1);// true 17 | 18 | // 100 >= 19 | // AND, OR, NOT 20 | 21 | // 100>100 OR 100 == 100 22 | 23 | // NOT(100==100) 24 | 25 | System.out.println(100>=100);// true 26 | System.out.println(10>=100);// false 27 | System.out.println(1000>=1);// true 28 | 29 | System.out.println(100<100); // false 30 | System.out.println(10<100);// true 31 | System.out.println(1000<1);// false 32 | 33 | System.out.println(100<=100);// true 34 | System.out.println(10<=100);// true 35 | System.out.println(1000<=1);// false 36 | 37 | } 38 | } 39 | /* 40 | * 41 | * any relational operator will always give a boolean 42 | * 43 | * ==, !=, > , >= , < , <= 44 | * 45 | * is equal to , 46 | * if equal , True 47 | * else False 48 | * 49 | * 50 | * 51 | */ -------------------------------------------------------------------------------- /FirstHand_Nov_25/RelationalOperators.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_25; 2 | 3 | public class RelationalOperators { 4 | 5 | public static void main(String args[]) { 6 | 7 | 8 | System.out.print(100 == 100); // true 9 | System.out.print(500 == 100); // false 10 | System.out.print(500 == 50); // false 11 | 12 | System.out.print(100 > 100); //false 13 | System.out.print(500 > 100); // true 14 | System.out.print(50 > 500);// false 15 | 16 | System.out.print(100 < 100); //false 17 | System.out.print(500 < 100); // false 18 | System.out.print(50 < 500); // true 19 | 20 | System.out.print(100 >= 100); //true 21 | System.out.print(500 >= 100); // true 22 | System.out.print(50 >= 500);// false 23 | 24 | System.out.print(100 <= 100); //true 25 | System.out.print(500 <= 100); // false 26 | System.out.print(50 <= 500); // true 27 | 28 | System.out.print(100 != 100); //false 29 | System.out.print(500 != 100); // true 30 | System.out.print(50 != 500); // true 31 | 32 | 33 | } 34 | } 35 | 36 | /* 37 | * 38 | * == if both values are equal, returns true otherwise 39 | * return false 40 | * 41 | * > 42 | * < 43 | * >= 44 | * 45 | * <= 46 | * != if both values are equal, returns false otherwise 47 | * return true 48 | * 49 | * 50 | * 51 | */ -------------------------------------------------------------------------------- /Concept_Oct-25/Concept/HTML/Task3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 |
26 |

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Eos quasi eaque officiis, deleniti reprehenderit impedit fuga magnam possimus sunt exercitationem voluptatem doloremque quidem, esse quas, id neque ipsum sapiente quam. Distinctio ea reprehenderit mollitia, dolorum accusamus itaque quae. Molestiae in, dicta fugiat quod, repellat harum doloribus quibusdam hic dolores tenetur ea possimus minus nemo. Corrupti nemo blanditiis facere illo fugiat at unde minima commodi, earum repudiandae error eum perferendis, cum quisquam eaque cumque? Odio odit optio quam repellat expedita eum, illum neque deleniti ab error possimus similique dicta libero dolore?

27 |
28 | 29 |
30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Practise_Dec_10/LogicalOperators.java: -------------------------------------------------------------------------------- 1 | package Practise_Dec_10; 2 | 3 | public class LogicalOperators { 4 | 5 | public static void main(String args[]) { 6 | 7 | int num1 = 900; 8 | int num2 = 700; 9 | int num3 = 300; 10 | 11 | if(num1 >= num2 && num1 >= num3) { 12 | System.out.println(num1); 13 | }else if (num2 >= num1 && num2 >= num3) { 14 | System.out.println(num2); 15 | }else { 16 | System.out.println(num3); 17 | } 18 | 19 | } 20 | } 21 | 22 | /* 23 | * 24 | * AND, OR, NOT 25 | * 26 | * 27 | * AND -- && 28 | * 29 | * if the shop is open AND if they are making Jalebi, 30 | * Bring Jalebi 31 | * condition 1 condition2 Result 32 | * True False False 33 | * False True False 34 | * False False False 35 | * True True True 36 | * 37 | * 38 | * 39 | * 40 | * OR operator -- || 41 | * 42 | * Either bring Jalebi or Bring gulabjamun 43 | * 44 | * condition 1 condition2 Result 45 | * True true True 46 | * True false True 47 | * False True True 48 | * False false false 49 | * 50 | * 51 | * 52 | * NOT operator -- ! 53 | * 54 | * condition result 55 | * False true 56 | * true false 57 | * 58 | * 59 | * 60 | * 61 | */ -------------------------------------------------------------------------------- /FirstHand_Sep_25/prime.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Sep_25; 2 | 3 | public class prime { 4 | public static void main(String args[]) { 5 | 6 | // sum of N numbers = 100 7 | // 1+ 2 + 3 + ... 100 8 | // n (n+1)/2 == 100 * 101 /2 = 101 * 50 = 5050 9 | 10 | /* int num = 10; 11 | int count_of_factors = 0; 12 | 13 | for (int i = 1; i <= num; i++) { 14 | if (num % i == 0) { 15 | count_of_factors = count_of_factors + 1; 16 | } 17 | } 18 | 19 | if(count_of_factors == 2) { 20 | System.out.println("prime"); 21 | }else { 22 | System.out.println("not prime"); 23 | } 24 | */ 25 | 26 | int n=10,i; 27 | boolean isPrime = true; 28 | for(i=2;i 2 | 3 | 14 | 15 | 16 | 17 |
18 |

HTML

19 |

20 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Expedita, 21 | vitae? Iusto ea officiis commodi nostrum sequi laudantium aliquam 22 | praesentium laborum eos, suscipit id, amet tempora voluptatum iure 23 | mollitia ullam ipsa sit vel! Ipsum ratione deserunt error laudantium 24 | sequi facere eaque nihil distinctio qui quibusdam, amet aliquam 25 | laboriosam incidunt voluptas tenetur doloribus dolores veniam, beatae 26 | excepturi nobis adipisci esse repudiandae et! 27 |

28 |
29 | 30 |
31 |

CSS

32 |

33 | Lorem ipsum dolor sit, amet consectetur adipisicing elit. Soluta quis 34 | fugit corrupti veritatis maiores laboriosam magni dignissimos quisquam 35 | id nisi at explicabo saepe eaque, temporibus mollitia quia magnam minima 36 | officiis! Ut, quam? Eligendi doloremque temporibus tempora fugit 37 | voluptatibus. Eaque, quibusdam! 38 |

39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /Practise_May_30_2022/NestedIf.java: -------------------------------------------------------------------------------- 1 | // "static void main" must be defined in a public class. 2 | public class Main { 3 | public static void main(String[] args) { 4 | int num = 99; 5 | /// print whether the number is even and positive, even and negative, odd and positive, odd and negative, zero 6 | if (num > 0){ 7 | if (num%2 ==0){ 8 | System.out.println("Even and Positive"); 9 | }else { 10 | System.out.println("Odd and Positive"); 11 | } 12 | }else if (num < 0){ 13 | if (num%2 ==0){ 14 | System.out.println("Even and Negative"); 15 | }else { 16 | System.out.println("Odd and Negative"); 17 | } 18 | }else{ 19 | System.out.println("Zero"); 20 | } 21 | 22 | /* 23 | if (num > 0 && num%2 ==0){ 24 | System.out.println("Even and Positive"); 25 | }else if (num > 0 && num%2 !=0){ 26 | System.out.println("odd and Positive"); 27 | } else if (num < 0 && num%2 ==0){ 28 | System.out.println("Even and Negative"); 29 | }else if (num < 0 && num%2 !=0){ 30 | System.out.println("odd and Negative"); 31 | }else{ 32 | System.out.println("Zero"); 33 | } 34 | */ 35 | 36 | 37 | } 38 | } -------------------------------------------------------------------------------- /Practise_Nov_26/LogicalOperators.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_26; 2 | 3 | public class LogicalOperators { 4 | public static void main(String args[]) { 5 | int num1 = 500; 6 | int num2= 1000; 7 | int num3 = 200; 8 | 9 | if (num1 >= num2 && num1 >= num3) { 10 | System.out.print(num1); 11 | } 12 | else if (num2 >= num1 && num2 >= num3) { 13 | System.out.print(num2); 14 | }else { 15 | System.out.print(num3); 16 | } 17 | } 18 | } 19 | /* 20 | * AND, OR, NOT 21 | * 22 | * AND 23 | * 24 | * if the shop is open AND they are making Pizza 25 | * bring pizza 26 | * 27 | * 28 | * if the shop is open ; they are making Pizza 29 | * 30 | * AND --- && 31 | * condition 1 condition 2 Result 32 | * False True false 33 | * false false false 34 | * true false false 35 | * true true true 36 | * 37 | * 38 | * 39 | * OR operator --- || 40 | * 41 | * if you get momos, bring momos OR if you get noodles, bring noodles 42 | * condition 1 condition 2 Result 43 | * False True True 44 | * false false false 45 | * true false true 46 | * true true true 47 | * 48 | * 49 | * 50 | * NOT operator -- ! 51 | * true --- !true -- false 52 | * false ---- !false -- true 53 | * 54 | * 55 | * 56 | * 57 | */ -------------------------------------------------------------------------------- /Practise_Oct_27/forLoop.java: -------------------------------------------------------------------------------- 1 | package Practise_Oct_27; 2 | 3 | public class forLoop { 4 | public static void main (String args[]) { 5 | 6 | 7 | // print all numbers from 1 to 5 8 | 9 | for (int num=1;num<=1000;num+=1 ) { 10 | System.out.println(num); 11 | } 12 | 13 | // print numbers from 100 to 1 14 | for (int num2=100; num2>=1; num2-=1 ) { 15 | System.out.println(num2); 16 | } 17 | 18 | // print numbers from 100 to 1 19 | for (float num3=1; num3<=2; num3= num3+0.1f ) { 20 | System.out.println(num3); 21 | } 22 | 23 | 24 | // all odd no.s for 1 to 100 25 | for (int num4=1; num4<=100; num4+=2 ) { 26 | System.out.println(num4); 27 | } 28 | 29 | 30 | 31 | } 32 | 33 | } 34 | 35 | /* 36 | * 37 | * whenever we have to do anything repeatedly, 38 | * then we use loops 39 | * 40 | * if we have to do anything again and again 41 | * 42 | * for loop 43 | * 44 | * for (initialisation ; condition ; updation){ 45 | * // write repeated code here 46 | * } 47 | * 48 | * 49 | * 50 | * int num = 10; 51 | num = num + 5; // num += 5; 52 | System.out.println(num); // 15 53 | 54 | 55 | num = num - 8; // num -=8; 56 | System.out.println(num); // 7 57 | 58 | 59 | num = num * 6; // num *=6; 60 | System.out.println(num); //42 61 | 62 | 63 | num = num / 3; // num /= 3; 64 | System.out.println(num); //14 65 | * 66 | * 67 | * 68 | * 69 | */ -------------------------------------------------------------------------------- /FirstHand_April_05_2022/RelationalOperators.java: -------------------------------------------------------------------------------- 1 | package April_05_2022; 2 | 3 | public class RelationalOperators { 4 | 5 | public static void main(String[] args) { 6 | 7 | 8 | System.out.println(100==100);//true 9 | System.out.println(1==100);//false 10 | System.out.println(100==1000);//false 11 | 12 | 13 | System.out.println(100!=100);//false 14 | System.out.println(1!=100);//true 15 | System.out.println(100!=1000);//true 16 | 17 | 18 | System.out.println(100>100);//false 19 | System.out.println(1>100);//false 20 | System.out.println(10000>10);//true 21 | 22 | 23 | System.out.println(100<100);//false 24 | System.out.println(1<100);//true 25 | System.out.println(10000<10);//false 26 | 27 | 28 | // greater than OR equal to 29 | // 100>100 OR 100 == 100 30 | System.out.println(100>=100);//true 31 | System.out.println(1>=100);//false 32 | System.out.println(10000>=10);//true 33 | 34 | // less than OR equal to 35 | // 100<100 OR 100 == 100 36 | System.out.println(100<=100);//true 37 | System.out.println(1<=100);//true 38 | System.out.println(10000<=10);//false 39 | } 40 | 41 | } 42 | /* 43 | * Relational operators 44 | * 45 | * Operators that tell the 46 | * relationship between two values 47 | * 48 | * Their output/ result is always --> true/false 49 | * 50 | * == Equal to 51 | * != not equal to 52 | * > 53 | * < 54 | * >= 55 | * <= 56 | * 57 | * 58 | */ -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/Food_world/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | text-align: center; 4 | 5 | } 6 | body { 7 | background: linear-gradient(45deg,limegreen,coral); 8 | 9 | } 10 | table { 11 | width: 100%; 12 | margin-top: 30px; 13 | } 14 | img { 15 | border-radius: 10px; 16 | box-shadow: 0 0 10px black; 17 | } 18 | 19 | 20 | #header { 21 | background-color: black; 22 | height: 70px; 23 | } 24 | h1 { 25 | color: cornsilk 26 | } 27 | #brand { 28 | width: 40%; 29 | float: left; 30 | line-height: 70px; 31 | height: 70px; 32 | text-align: center; 33 | } 34 | 35 | #menu { 36 | width: 60%; 37 | float: right; 38 | line-height: 70px; 39 | height: 70px; 40 | text-align: center; 41 | } 42 | 43 | a { 44 | color: cornsilk; 45 | margin-right: 30px; 46 | text-decoration: none; 47 | 48 | } 49 | 50 | #title { 51 | margin-top: 35px; 52 | } 53 | #pizza { 54 | margin-top: 20px; 55 | } 56 | #DP { 57 | background: linear-gradient(45deg,darkred,black); 58 | color: white; 59 | width: 500px; 60 | padding: 15px; 61 | border-radius: 50%; 62 | margin:20px auto 63 | 64 | } 65 | #TB { 66 | background: linear-gradient(45deg,darkred,black); 67 | color: white; 68 | width: 500px; 69 | padding: 15px; 70 | border-radius: 50%; 71 | margin:20px auto 72 | } 73 | #footer { 74 | background: black; 75 | padding: 50px; 76 | color: cornsilk; 77 | margin-top: 50px; 78 | } -------------------------------------------------------------------------------- /Practise_Nov_14/LogicalOperators.java: -------------------------------------------------------------------------------- 1 | package Practise_Nov_14; 2 | 3 | public class LogicalOperators { 4 | public static void main (String args[]) { 5 | 6 | int num1 = 100; 7 | int num2 = 200; 8 | int num3 = 300; 9 | 10 | if(num1 >= num2 && num1 >= num3) { 11 | System.out.println(num1); 12 | }else if(num2 >= num1 && num2 >= num3) { 13 | System.out.println(num2); 14 | }else { 15 | System.out.println(num3); 16 | } 17 | 18 | 19 | int num4 = 10; 20 | if(!(num4==10)) { 21 | System.out.println("Hello"); 22 | }else { 23 | System.out.println("Welcome"); 24 | } 25 | 26 | } 27 | 28 | } 29 | 30 | /* 31 | * 32 | * AND, OR, NOT 33 | * 34 | * 35 | * 36 | * AND --> && 37 | * 38 | * if the shop is open AND they are making Jalebis, 39 | * bring Jalebi for me. 40 | * 41 | * Condition1 condition2 Result 42 | * False False False 43 | * False True False 44 | * True False False 45 | * True True True 46 | * 47 | * 48 | * 49 | * 50 | * OR --> || 51 | * Bring Jalebi or Bring Laddoo 52 | * Condition1 condition2 Result 53 | * False False False 54 | * False True True 55 | * True False True 56 | * True True True 57 | * 58 | * 59 | * 60 | * NOT --> ! 61 | * 62 | * Condition Result 63 | * True False 64 | * False True 65 | * 66 | * 67 | * 68 | * 69 | * */ 70 | -------------------------------------------------------------------------------- /Practise_April_06_2022/OddEven.java: -------------------------------------------------------------------------------- 1 | package April_06_2022; 2 | 3 | public class OddEven { 4 | 5 | public static void main(String[] args) { 6 | 7 | int num = 72; 8 | 9 | // if num is divisible by 2, 10 | // print even 11 | // else print odd 12 | 13 | if (num % 2 == 0) { 14 | System.out.print("Even"); 15 | }else { 16 | System.out.print("Odd"); 17 | } 18 | 19 | 20 | } 21 | 22 | } 23 | 24 | /* 25 | * IF a number is divisible by 2, 26 | * we say that is even. 27 | * Else it is Odd. 28 | * 29 | * 30 | * if x is divisible by y, 31 | * the remainder of x/y will be 0. 32 | * 33 | * 34 | * % -- modulus operator 35 | * 36 | * 15 % 3 = 0 37 | * 16 % 3 = 1 38 | * 17 % 3 = 2 39 | * 40 | * 18 % 4 = 2 41 | * 42 | * 23 % 7 = 2 43 | * 44 | * 35 % 8 = 3 45 | * 46 | * 17 % 10 = 7 47 | * 48 | * 4 % 9 = 4 49 | * 50 | * 51 | * 52 | * ---- 53 | * 54 | * 55 | * 15 / 3 = 5, divisible 56 | * 57 | * 16 / 3 = 5 , not div 58 | * 59 | * 17/3 = 5 , not div 60 | * 61 | * 62 | * 3 ) 15 ( 5 63 | * 15 64 | * ---- 65 | * 0 66 | * 67 | * 68 | * 3 ) 16 ( 5 69 | * 15 70 | * --- 71 | * 1 72 | * 73 | * 74 | * 3 ) 17 ( 5 75 | * 15 76 | * --- 77 | * 2 78 | * 79 | * 80 | * 81 | */ -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/Division.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Division Element 6 | 7 | 25 | 26 | 27 | 28 |
29 |

HTML

30 |

This module explores how to use HTML to include multimedia in your web pages, including the different ways that images can be included, and how to embed video, audio, and even entire other webpages.

31 |
32 | 33 |
34 |

CSS

35 |

Lorem ipsum dolor sit amet consectetur adipisicing elit. Repudiandae unde molestias optio veritatis vitae debitis, voluptatem obcaecati eos asperiores odit labore maiores deserunt quia quisquam sit culpa, explicabo fuga! Maiores!

36 |
37 | 38 |
39 | 40 | -------------------------------------------------------------------------------- /FirstHand_Nov_13/Operators.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_13; 2 | 3 | public class Operators { 4 | 5 | public static void main (String args[]) { 6 | 7 | /* 8 | boolean x = 100 == 100; // true 9 | 10 | if(1000>10) { 11 | // 12 | } 13 | */ 14 | 15 | System.out.println(100==100); // true 16 | System.out.println(100==1); // false 17 | System.out.println(10==1000); //false 18 | 19 | System.out.println(10>1000); //false 20 | System.out.println(1000>1000); //false 21 | System.out.println(10110 > 1000); //true 22 | 23 | System.out.println(10 < 1000); //true 24 | System.out.println(1000 < 1000); //false 25 | System.out.println(10110 < 1000); //false 26 | 27 | System.out.println(10>=1000); //false 28 | System.out.println(1000>=1000); //true 29 | System.out.println(10110 >= 1000); //true 30 | 31 | System.out.println(10 <= 1000); //true 32 | System.out.println(1000 <= 1000); //true 33 | System.out.println(10110 <= 1000); //false 34 | 35 | System.out.println(10 != 1000); //true 36 | System.out.println(1000 != 1000); //false 37 | System.out.println(10110 != 1000); //true 38 | 39 | } 40 | 41 | } 42 | 43 | // Relational operators 44 | /* 45 | * 46 | * == equal to --- if things are equal -- true, otherwise returns false 47 | * 48 | * > greater than 49 | * < less than 50 | * 51 | * >= greater than or equal to 52 | * <= less than or equal to 53 | * 54 | * != not equal to -- if things are not equal, return true else rrturn false 55 | * 56 | * 57 | */ -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/Table.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
IDNAMECITY
1S1C1
2S1C1
3S1C1
50 | 51 |
52 | Home 53 | Image 54 | List 55 | Amazon 56 |
57 | 58 | 59 | -------------------------------------------------------------------------------- /FirstHand_Jan_04_2022/Variables.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Jan_04_2022; 2 | 3 | public class Variables { 4 | 5 | public static void main(String[] args) { 6 | 7 | // type_of_container name_of_container = value; 8 | byte age = 29; 9 | short salary = 20000; 10 | int pincode = 800001; 11 | long phoneNumber = 987655656567L; 12 | 13 | float percentage = 94.2F; 14 | double randomNum = 346537.32323; 15 | 16 | boolean isIndian = true; 17 | boolean isMarried = false; 18 | 19 | char sectionInSchool = 'D'; 20 | 21 | String message = "Welcome to Geekster everyone!!!!@@@"; 22 | 23 | 24 | System.out.println("age="+age); 25 | System.out.println(salary); 26 | System.out.println(pincode); 27 | System.out.println(phoneNumber); 28 | 29 | System.out.println(percentage); 30 | System.out.println(randomNum); 31 | 32 | System.out.println(isIndian); 33 | System.out.println(isMarried); 34 | System.out.println(sectionInSchool); 35 | System.out.println(message); 36 | 37 | } 38 | 39 | } 40 | 41 | // A variable name can have only alphabets 42 | // a-z, A-Z, 0-9, _ , $ 43 | // it cann't have a space in between or any other symbol 44 | // it cann't start with a number 45 | // it cannot have any reserved keyword 46 | 47 | // Variable is a container which is used to 48 | // store some data or value 49 | 50 | // age is 29 51 | // name is vikas 52 | 53 | // to store anything, we need a container 54 | 55 | // to store different type of things, 56 | //we need different type of containers 57 | 58 | 59 | -------------------------------------------------------------------------------- /FirstHand_Oct_26/ifelse.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Oct_26; 2 | 3 | public class ifelse { 4 | public static void main (String args[]) { 5 | int num1 = 150; 6 | int num2 = 100; 7 | 8 | // print the greater number 9 | if (num1 > num2) { 10 | System.out.println(num1); 11 | }else { 12 | System.out.println(num2); 13 | } 14 | 15 | 16 | System.out.println(100 > 10); //true 17 | System.out.println(10 > 50); //false 18 | System.out.println(10 < 50); //true 19 | System.out.println(100 < 50); //false 20 | System.out.println(10 == 50); // false 21 | System.out.println(10 == 10); //true 22 | 23 | System.out.println(10 != 50); // true 24 | System.out.println(50 != 50); //false 25 | 26 | 27 | System.out.println(10 >= 50); // false 28 | System.out.println(50 >= 50); //true 29 | System.out.println(100 >= 50); //true 30 | 31 | 32 | System.out.println(10 <= 50); // true 33 | System.out.println(50 <= 50); //true 34 | System.out.println(100 <= 50); //false 35 | } 36 | } 37 | 38 | /* 39 | * 40 | * Relational operators in JAVA 41 | * 42 | * > greater than 43 | * < less than 44 | * == equal to 45 | * != not equal to 46 | * >= greater or equal to 47 | * <= less than or equal to 48 | * 49 | * 50 | * 51 | * 52 | * if (name is Rahul){ 53 | * turn on your video 54 | * }otherwise{ 55 | * turn on your mic 56 | * } 57 | * 58 | * 59 | * if (condition){ 60 | * perform action 1 61 | * }else{ 62 | * perform action 2 63 | * } 64 | * 65 | * 66 | * 67 | * 68 | */ -------------------------------------------------------------------------------- /FirstHand_April_05_2022/LogicalOperators.java: -------------------------------------------------------------------------------- 1 | package April_05_2022; 2 | 3 | public class LogicalOperators { 4 | 5 | public static void main(String[] args) { 6 | 7 | System.out.println(true && false);//f 8 | System.out.println(false && false);//f 9 | System.out.println(false && true);//f 10 | System.out.println(true && true);//t 11 | 12 | System.out.println(true || false);//t 13 | System.out.println(false || false);//f 14 | System.out.println(false || true);//t 15 | System.out.println(true || true);//t 16 | 17 | 18 | System.out.println(!true);//false 19 | System.out.println(!false);//true 20 | 21 | 22 | } 23 | 24 | } 25 | 26 | /* 27 | * Logical operators -- True/false 28 | * AND, OR, NOT 29 | * AND -- && 30 | * 31 | * if the shop is open, ---c1 32 | * AND they are making Jalebis, --c2 33 | * bring Jalebi for me. 34 | * 35 | * c1 c2 result 36 | * F F F 37 | * F T F 38 | * T F F 39 | * T T T 40 | * 41 | * LS, RS, President 42 | * 43 | * 44 | * 45 | * OR operator -- || 46 | * 47 | * 48 | * either bring Noodles, --c1 49 | * OR bring Momos --c2 50 | * 51 | * c1 c2 result 52 | * T F T 53 | * F T T 54 | * T T T 55 | * F F F 56 | * 57 | * 58 | * 59 | * NOT operator --! 60 | * 61 | * c1 result 62 | * True false 63 | * false true 64 | * 65 | * 66 | * 67 | * 68 | * */ 69 | -------------------------------------------------------------------------------- /FirstHand_Nov_25/Variables.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_25; 2 | 3 | public class Variables { 4 | public static void main(String args[]) { 5 | 6 | // type_of_variable name_of_variable = value; 7 | byte age = 29; 8 | short year = 2021; 9 | int pincode = 122017; 10 | long mobile_number = 98775141234L; 11 | 12 | float percentage = 94.8f; 13 | double some_Value = 327363.65656; 14 | 15 | boolean isIndian = true; 16 | 17 | char section = 'D'; 18 | 19 | String name = "Vikas 3653#^^&@#^&#^&@ Ranjan"; 20 | 21 | System.out.println(age); 22 | System.out.println(year); 23 | System.out.println(pincode); 24 | System.out.println(mobile_number); 25 | System.out.println(percentage); 26 | System.out.println(some_Value); 27 | System.out.println(isIndian); 28 | System.out.println(section); 29 | System.out.println(name); 30 | 31 | 32 | } 33 | } 34 | 35 | /* 36 | *1. a-z, A-Z, 0-9, $, _ 37 | *2. It should not have a space in between 38 | *3. It shouldn't start with a number 39 | *4. It should not be any reserved keyword 40 | * 41 | * * & #@ --> invalid 42 | * 43 | * abc123 --> valid 44 | * 45 | * AB12djdhj$ --> valid 46 | * 47 | * $hjdvh256767 -> valid 48 | * _dsjkhdjskhd38378ksj -> valid 49 | * 12jkdhdh_ --> invalid 50 | * 51 | * 52 | * */ 53 | 54 | 55 | 56 | 57 | // age is 29 58 | 59 | // to store something, we need a container 60 | 61 | // for storing different type of things, we need 62 | // different containers 63 | 64 | // variable - a container to store some data 65 | // every variable has a name -------------------------------------------------------------------------------- /FirstHand_Dec_09/Variable.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_09; 2 | 3 | public class Variable { 4 | public static void main (String args[]) { 5 | 6 | // type_of_variable name_of_variable = value; 7 | 8 | byte age = 29; 9 | short salary = 20000; 10 | int pincode = 800001; 11 | long mobile = 9876154560L; 12 | 13 | float percentage = 91.45f; 14 | double random = 237837.8293798378; 15 | 16 | char section_in_school = 'D'; 17 | boolean isIndian = true; 18 | 19 | String message = "Welcome to geekster"; 20 | 21 | System.out.println(age); 22 | System.out.println(salary); 23 | System.out.println(pincode); 24 | System.out.println(mobile); 25 | 26 | System.out.println(percentage); 27 | System.out.println(random); 28 | System.out.println(section_in_school); 29 | System.out.println(isIndian); 30 | 31 | System.out.println(message); 32 | } 33 | } 34 | 35 | // variable -- container to store data 36 | // 29 37 | 38 | // we need a container to store things 39 | // we need different type of containers 40 | // to store different things 41 | 42 | /* 43 | * 1. A variable name can only have 44 | * a - z , A-Z, $ , _ , 0-9 45 | * 46 | * 2. cannot have any other symbol or space 47 | * 48 | * 3. It cannot start with a number. 49 | * 50 | * 4. we cannot use any reserved keyword 51 | * 52 | * 53 | // v123ikas_age = 29 54 | // abAB123 55 | // _abcAB12ab --> Valid 56 | 57 | // $ABCD123 --> VALID 58 | 59 | // ABCD$_ABCD --> valid 60 | 61 | // ABCD abcd --> not valid 62 | 63 | // 123abcd --> not valid 64 | 65 | 66 | * 67 | */ -------------------------------------------------------------------------------- /FirstHand_Oct_12/HTML/Image.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Image Element 6 | 24 | 25 | 26 | 27 |
28 | 34 |
35 | 36 |
37 |

38 | Lorem ipsum dolor sit, amet consectetur adipisicing elit. Et ex tempore 39 | omnis, eaque cupiditate consequuntur molestias, quia laborum magnam 40 | sequi dicta sint eligendi? Animi perferendis accusamus vitae ea 41 | excepturi! Ducimus iste corporis tempore quae unde beatae exercitationem 42 | maxime eos, non explicabo ullam possimus doloribus voluptatum iure? 43 | Suscipit labore, ullam blanditiis autem quis mollitia qui sit aspernatur 44 | est, nobis saepe cupiditate dolorem cum? Fuga, earum dicta magni commodi 45 | perspiciatis beatae ullam voluptates molestias maxime adipisci eligendi, 46 | quibusdam voluptatum atque. Ex, obcaecati. 47 |

48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /Concept_Jan_03/float.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Document 4 | 22 | 23 | 24 |
25 | 30 |
31 | 32 |
33 |

34 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor pariatur 35 | totam saepe laboriosam vero dolorum, eveniet eum esse. Enim harum 36 | nostrum eveniet recusandae alias excepturi, facilis iure quam amet quae. 37 | Rerum magnam qui possimus quidem repellendus asperiores incidunt 38 | laudantium error soluta dolore eveniet sit quasi beatae odit 39 | voluptatibus eaque molestiae odio autem, consectetur quam tempore 40 | ducimus. Eum dolorem minus laborum consequatur ea reiciendis quasi hic 41 | amet magnam molestias. Molestiae quibusdam quia perspiciatis id beatae, 42 | numquam dolorum nobis rerum provident laboriosam praesentium assumenda 43 | nostrum itaque pariatur nam illum atque. Fugit est vitae iusto 44 | voluptates id non quaerat animi. Nisi, obcaecati! Voluptatem. 45 |

46 |
47 | 48 | 49 | -------------------------------------------------------------------------------- /Concept_Mar_03_2022/HTML/cssdemo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 17 | 18 | 19 | 20 |
21 |

HTML

22 |

23 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Nihil velit 24 | quas eveniet animi in inventore, veritatis perferendis doloremque quae 25 | eius fugit consectetur facilis commodi sit tenetur necessitatibus quasi 26 | molestias. Magnam amet architecto corrupti quae sapiente cum dolorum 27 | eveniet. Optio, facere! 28 |

29 |
30 | 31 |
32 |

Css

33 |

34 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla aut 35 | voluptatum aperiam sed delectus dignissimos, in, ducimus debitis, quam 36 | corporis cupiditate vel distinctio. Quibusdam, ad. Sunt quidem debitis 37 | ut quibusdam? 38 |

39 |
40 | 41 |
42 |

Javascript

43 |

44 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Consequatur, 45 | repellendus! Vitae consectetur quam nobis animi quod numquam ipsa, 46 | aliquid alias id rem vel facilis culpa, repellat doloribus, placeat 47 | voluptatem suscipit voluptas. Molestias nulla ipsum, nobis labore culpa 48 | id nesciunt soluta sint quia eveniet mollitia libero delectus at! 49 | Aliquam, vel autem. 50 |

51 |
52 | 53 | 54 | -------------------------------------------------------------------------------- /Concept_Oct-25/Concept/HTML/Task1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Task 1 6 | 7 | 8 | 9 |

HTML

10 | 11 |

12 |

Introduction
13 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Fugit impedit 14 | esse reiciendis laboriosam sed dolorem. Ut aut exercitationem odit iste 15 | quasi quisquam? Ipsa fugiat neque quas. Quam tenetur placeat architecto 16 | delectus quas! Laudantium temporibus suscipit porro iusto alias rerum 17 | dicta. Cupiditate nesciunt similique incidunt ab excepturi dignissimos? 18 | Cupiditate omnis perferendis iste eos a quibusdam? Optio dignissimos 19 | incidunt cum labore omnis molestias porro aperiam fugit, nisi velit 20 | necessitatibus? Sapiente, harum modi. 21 |

22 |

23 |

HTML TABLE
24 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ratione vero reprehenderit reiciendis, veritatis eligendi ex in. Ducimus, natus laboriosam. Debitis omnis cupiditate fugiat esse architecto suscipit totam nostrum. Voluptatem aut odit rem modi natus soluta reiciendis blanditiis. Quaerat, voluptate quam. 25 |

26 | 27 |

CSS

28 |

29 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores 30 | praesentium hic saepe. Dolor aliquam neque explicabo, magnam libero veniam 31 | obcaecati unde sed nisi quasi est dolores perspiciatis consequatur et rem 32 | inventore voluptates molestiae aspernatur. Ut odio quidem consequatur? 33 | Omnis aliquam excepturi, ipsam at incidunt accusamus maxime ipsum eius 34 | minus delectus? 35 |

36 | 37 | 38 | -------------------------------------------------------------------------------- /FirstHand_Oct_08/Datatypes.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class Datatypes { 4 | 5 | public static void main(String args[]) { 6 | 7 | byte my_age = 29; 8 | short my_salary = 10000; 9 | int pincode = 122001; 10 | long my_phone = 9863726736388L; 11 | 12 | float percentage = 91.498988f; 13 | double annualsalary = 27378263.37487438743d; 14 | 15 | // 2.7378263374874387E7 == 27378263.374874387 * 10^7 16 | 17 | boolean isIndian = true; 18 | char section = 'B'; 19 | 20 | String my_name = "Vikas Ranjan 2378237 #%^@%#^#@^&"; 21 | 22 | // double quotes, String datatype, it can have anything at all 23 | 24 | 25 | System.out.println(my_age); 26 | System.out.println(my_salary); 27 | System.out.println(pincode); 28 | System.out.println(my_phone); 29 | System.out.println(percentage); 30 | System.out.println(annualsalary); 31 | System.out.println(isIndian); 32 | System.out.println(section); 33 | System.out.println(my_name); 34 | 35 | 36 | short old_age = 29;// old_age stores "short" datatype 37 | int new_age = old_age;// new_age is "int" datatype which is bigger 38 | 39 | 40 | } 41 | } 42 | 43 | /* 44 | * data_type name_of_variable = data/value 45 | * 46 | * if variable is a container, data_type is the type of the container. 47 | * 48 | * 49 | * 50 | */ 51 | 52 | // 29 is the data, age is the variable 53 | 54 | // A variable name can have 55 | // A-Z, a-z, 0-9, _ , $ 56 | 57 | // @ ! & * -- invalid 58 | 59 | // there can be no space between the variable name 60 | 61 | // rule says that the name of the variable cannot start with the number 62 | 63 | //abcXYZ012$ 64 | // $zyc123 65 | // _djefhejfh 66 | // 123abcd_ --> invalid 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /Practise_Jan_28_2022/Variables.java: -------------------------------------------------------------------------------- 1 | package Practise_Jan_28_2022; 2 | 3 | public class Variables { 4 | 5 | public static void main(String[] args) { 6 | //a variable is a container that is used 7 | // to store some data/value 8 | 9 | //type_of_variable name_of_variable = value/data; 10 | 11 | byte age = 29; 12 | short salary = 20000; 13 | int pincode = 800001; 14 | long mobile_no = 9876543210l; 15 | 16 | float percentage = 92.5f; 17 | double random = 6726.24934849; 18 | 19 | boolean areYouMarried = false; 20 | 21 | char section = 'D'; 22 | 23 | String message = "Hello everyone, I am Vikas !er3478347"; 24 | 25 | System.out.println(age); 26 | System.out.println(salary); 27 | System.out.println(pincode); 28 | System.out.println(mobile_no); 29 | 30 | System.out.println(percentage); 31 | System.out.println(random); 32 | 33 | System.out.println(areYouMarried); 34 | System.out.println(section); 35 | 36 | System.out.println(message); 37 | } 38 | 39 | } 40 | 41 | /* 42 | * 43 | * abcd123 -- Yes 44 | * a$b$c$ -- Yes 45 | * a_123 - Yes 46 | * a@abcd123 - NO 47 | * a b c - NO 48 | * _abcd123 - Yes 49 | * 123abcd - NO 50 | * a123bcd - Yes 51 | * 52 | * naming a variables :- 53 | * 1. a-z, A-Z, 0-9, $ , _ 54 | * 2. Any other special character is not allowed 55 | * 3. Any space in between is not allowed 56 | * 4. It can not start with a number, 57 | * number can be at any place other than 1st position 58 | * 59 | * 60 | * 61 | * 62 | * to store something, we need a container 63 | * 64 | * to store different type of things, 65 | * we need different containers 66 | * 67 | * 68 | * name is vikas 69 | * 70 | * age is 29 71 | * 72 | * 73 | * 74 | */ -------------------------------------------------------------------------------- /FirstHand_Oct_08/Typecasting.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class Typecasting { 4 | 5 | public static void main(String args[]) { 6 | 7 | // automatic / widening 8 | short old_age = 29;// old_age stores "short" datatype 9 | int new_age = old_age;// new_age is "int" datatype which is bigger 10 | 11 | System.out.println(old_age); 12 | System.out.println(new_age); 13 | 14 | int salary = 10000; 15 | double new_salary = salary; 16 | System.out.println(salary); //10000 17 | System.out.println(new_salary); //10000.0 18 | 19 | 20 | //byte number = 5; 21 | //number * // 50000 22 | 23 | 24 | // narrowing / explicit 25 | 26 | int cash = 20000; 27 | short new_cash = (short) cash; 28 | System.out.println(cash); 29 | System.out.println(new_cash); 30 | 31 | // explicit type casting 32 | int money = 2000000; 33 | short new_money = (short) money; 34 | System.out.println(money); 35 | System.out.println(new_money); //-31616 -- garbage value 36 | 37 | 38 | float num = 20.95f; 39 | int my_num = (int) num; 40 | System.out.println(num); // 20.95 => 20 41 | System.out.println(my_num); //20 42 | } 43 | } 44 | 45 | /* 46 | * data_type name_of_variable = data/value 47 | * 48 | * if variable is a container, data_type is the type of the container. 49 | * 50 | * 51 | * 52 | */ 53 | 54 | // 29 is the data, age is the variable 55 | 56 | // A variable name can have 57 | // A-Z, a-z, 0-9, _ , $ 58 | 59 | // @ ! & * -- invalid 60 | 61 | // there can be no space between the variable name 62 | 63 | // rule says that the name of the variable cannot start with the number 64 | 65 | //abcXYZ012$ 66 | // $zyc123 67 | // _djefhejfh 68 | // 123abcd_ --> invalid 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /FirstHand_Nov_13/variables.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Nov_13; 2 | 3 | public class variables { 4 | 5 | public static void main (String args[]) { 6 | 7 | // type_of_container name_of_container = value 8 | 9 | 10 | 11 | byte age = 29; 12 | 13 | age = 25; 14 | 15 | short salary = 30000; 16 | int pincode = 122017; 17 | long mobileNo = 90989786759L; 18 | 19 | float percentage = 94.80f; 20 | double randomData = 73826726.978873867d; 21 | 22 | boolean isIndian = true; 23 | 24 | char section = 'D'; // one character within single quote 25 | String name = "2jk34t2i7346b kj hdkjsgdshg 6776"; 26 | 27 | System.out.println(age); 28 | System.out.println(salary); 29 | System.out.println(pincode); 30 | System.out.println(mobileNo); 31 | 32 | System.out.println(percentage); 33 | System.out.println(randomData); 34 | System.out.println(isIndian); 35 | System.out.println(section); 36 | System.out.println(name); 37 | 38 | 39 | System.out.println(age + " " + mobileNo + " " + pincode); 40 | } 41 | } 42 | 43 | /* 44 | * 45 | * abcd123 -- allowed 46 | 123abcd -- not allowed 47 | _abcd123 -- allowed 48 | $abcd123 -- allowed 49 | 1abcd_ -- not allowed 50 | * 51 | * */ 52 | //1. A-Z , a-z, 0-9, _ , $ 53 | // ! @ # -- not allowed 54 | // 2. shouldn't have a space in between 55 | // 3. It shouldn't start with a number 56 | // 4. Any reserved keyword is not allowed 57 | 58 | // Variable is a container that is used to store some data 59 | // we need to give a unique name to a variable. 60 | 61 | 62 | // to store anything, we need a container 63 | // for different type of things, we need different type of containers 64 | -------------------------------------------------------------------------------- /Concept_Mar_03_2022/HTML/Structure.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

HTML

6 |

7 | HTML tags have been utilized since the birth of the internet to format 8 | elements on a webpage, such as text or images. HTML is part of the backend 9 | code, and you can easily view it by right-clicking and selecting View Page 10 | Source.HTML tags have been utilized since the birth of the internet to 11 | format elements on a webpage, such as text or images. HTML is part of the 12 | backend code, and you can easily view it by right-clicking and selecting 13 | View Page Source.HTML tags have been utilized since the birth of the 14 | internet to format elements on a webpage, such as text or images. HTML is 15 | part of the backend code, and you can easily view it by right-clicking and 16 | selecting View Page Source. 17 |

18 | 19 |

Css

20 |

21 | Cascading Style Sheets, fondly referred to as CSS, is a simple design 22 | language intended to simplify the process of making web pages presentable. 23 | CSSis a MUST for students and working professionals to become a great 24 | Software Engineer specially when they are working in Web Development 25 | Domain. I will list down some of the key advantages of learning 26 | CSSCascading Style Sheets, fondly referred to as CSS, is a simple design 27 | language intended to simplify the process of making web pages presentable. 28 | CSSis a MUST for students and working professionals to become a great 29 | Software Engineer specially when they are working in Web Development 30 | Domain. I will list down some of the key advantages of learning CSS 31 |

32 | 33 | 34 | -------------------------------------------------------------------------------- /Concept_May_26_2022/RelationalOperators.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | public static void main(String[] args) { 3 | 4 | // equal to 5 | System.out.println(100 == 100); 6 | System.out.println(1000 == 10); 7 | System.out.println(1 == 500); 8 | 9 | System.out.println("-----"); 10 | // not equal to 11 | System.out.println(100 != 100); 12 | System.out.println(1000 != 10); 13 | System.out.println(1 != 500); 14 | 15 | System.out.println("-----"); 16 | // greater than 17 | System.out.println(100 > 100); 18 | System.out.println(1000 > 10); 19 | System.out.println(1 > 500); 20 | 21 | 22 | System.out.println("-----"); 23 | // less than 24 | System.out.println(100 < 100); 25 | System.out.println(1000 < 10); 26 | System.out.println(1 < 500); 27 | 28 | 29 | System.out.println("-----"); 30 | // greater than or equal to 31 | System.out.println(100 >= 100);//true 32 | System.out.println(1000 >= 10);//true 33 | System.out.println(1 >= 500); //false 34 | 35 | System.out.println("-----"); 36 | // less than or equal to 37 | System.out.println(100 <= 100); //true 38 | System.out.println(1000 <= 10);//false 39 | System.out.println(1 <= 500);//true 40 | 41 | } 42 | } 43 | /* 44 | relational operators 45 | 46 | They tell the relation between two values/data 47 | 48 | Greater than > 49 | Less Than < 50 | Equal to == 51 | Not equal to != 52 | Greater than or equal to >= 53 | Less than or equal to <= 54 | 55 | The output of relational operators is always a boolean. True/false 56 | 57 | 58 | 59 | */ -------------------------------------------------------------------------------- /Concept_Oct_04/HTML/Image.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Image Element 5 | 6 | 7 | 24 | 25 | 26 | 27 |
28 | 33 |
34 |
35 |

36 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Fuga ipsam 37 | eius alias sequi aut, optio ad. Voluptas quam inventore sint numquam 38 | quaerat animi cupiditate eveniet earum natus nam temporibus asperiores 39 | ipsam voluptatum ad sed rerum, est ex molestiae officia doloremque 40 | error. Veritatis nam iure dicta nesciunt illum sequi. Iusto fuga 41 | expedita facere veritatis laboriosam, at recusandae sapiente voluptatem 42 | cumque impedit, dolorem nisi ea atque? Nesciunt sint harum est, eius 43 | eveniet quod dolores? Consequuntur doloribus consectetur, reprehenderit 44 | aspernatur similique provident incidunt enim rerum sit qui dolores 45 | eaque! Nam, excepturi aut soluta perferendis rerum officia fugiat 46 | possimus vel. Nesciunt, obcaecati! Odio, cupiditate! 47 |

48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /Practise_Oct_09/operators.java: -------------------------------------------------------------------------------- 1 | package PrecourseBeta; 2 | 3 | public class operators { 4 | 5 | public static void main (String args[]) { 6 | 7 | int num1 = 100; 8 | int num2 = 30; 9 | int num3 = 50; 10 | 11 | if (num1 > num2 && num1 > num3) { 12 | System.out.println(num1); 13 | }else if (num2 > num1 && num2 > num3) { 14 | System.out.println(num2); 15 | }else { 16 | System.out.println(num3); 17 | } 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | int my_num = 10; 27 | System.out.println(my_num); // 10 28 | my_num = my_num + 5; // my_num += 5; 29 | System.out.println(my_num); //15 30 | 31 | 32 | int my_num2 = 100; 33 | System.out.println(my_num2); // 100 34 | my_num2 = my_num2 / 5; // my_num2 /= 5; 35 | System.out.println(my_num2); //20 36 | 37 | 38 | int my_num3 = 50; 39 | System.out.println(my_num3); // 50 40 | my_num3 = my_num3 *30; // my_num3 *= 30; 41 | System.out.println(my_num3); //250 42 | 43 | int my_num4 = 30; 44 | System.out.println(my_num4); // 30 45 | my_num4 = my_num4 - 5; //my_num4 -= 5; 46 | System.out.println(my_num4); //25 47 | 48 | } 49 | } 50 | 51 | /* 52 | * 53 | * if (shop is open AND they are making jalebis){ 54 | * buy jalebis 55 | * } 56 | * AND operator --- && 57 | * condition1 condition2 Result 58 | * True True True 59 | * False True False 60 | * True False False 61 | * False False False 62 | * 63 | * 64 | * 65 | * get momos or get noodles 66 | * 67 | * OR operator 68 | * condition1 condition2 Result 69 | * T T T 70 | * T F T 71 | * F T T 72 | * F F F 73 | * 74 | * 75 | * 76 | */ -------------------------------------------------------------------------------- /Concept_Jan_13/HTML/css.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 29 | 30 | 31 | 32 |
33 |

34 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Reprehenderit 35 | earum quis obcaecati dolore magnam. Praesentium doloribus quaerat ullam 36 | saepe rerum hic, nisi, tempora est vitae perferendis at. Maiores quae 37 | suscipit, necessitatibus porro quas dolores doloribus sint, consequuntur 38 | quod aliquam autem, sit enim explicabo distinctio cum. Ipsa maxime quod 39 | adipisci non veritatis, consectetur magni a provident ipsam libero 40 | itaque pariatur fuga, deleniti autem? Ipsa deleniti maxime facere 41 | numquam qui dignissimos aperiam? 42 |

43 |

44 | Lorem ipsum dolor, sit amet consectetur adipisicing elit. Aspernatur 45 | quidem modi ullam doloremque quibusdam veniam, rerum minus provident 46 | repudiandae beatae quae quasi ea velit, ipsam est! Doloremque sit 47 | eligendi possimus? 48 |

49 | 50 |
Box 1
51 |
Box 2
52 |
53 | 54 | 55 | -------------------------------------------------------------------------------- /Practise_Oct_18/loops.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_Practise_Oct_18; 2 | 3 | public class loops { 4 | public static void main(String args[]) { 5 | 6 | int num; 7 | 8 | // print numbers from 1 to 5000 9 | for ( num = 1; num <= 5000; num = num+1) { 10 | System.out.println(num); 11 | } 12 | 13 | System.out.println(num);// 6 14 | 15 | 16 | // print all even numbers from 2 to 100 17 | for ( int num2 = 2; num2 <= 100; num2 = num2+2) { 18 | System.out.println(num2); 19 | } 20 | 21 | // print all odd numbers from 1 to 100 22 | for ( int num3 = 1; num3 <= 99; num3 = num3+2) { 23 | System.out.println(num3); 24 | } 25 | 26 | // print numbers in reverse from 100 to 1 27 | for (int num4 = 100; num4 >=1; num4 = num4-1) { 28 | System.out.println(num4); 29 | } 30 | /// entry controlled loop 31 | // while loop 32 | int num5 = 100; 33 | while(num5 >= 1) { 34 | System.out.println(num5); 35 | num5 = num5-1; 36 | } 37 | 38 | // exit controlled loop 39 | //do- while loop 40 | int num6 = 100; 41 | do { 42 | System.out.println(num6); 43 | num6 = num6-1; 44 | } while(num6 >= 1); 45 | 46 | 47 | } 48 | } 49 | /* 50 | * 51 | * int a = 20; 52 | a = a + 5; //25 53 | 54 | a = a - 10; // 15 55 | 56 | a = a * 3; // 45 57 | 58 | a = a / 9; // 5 59 | */ 60 | /* 61 | for loop 62 | 63 | 64 | 65 | initialisation 66 | while(condition){ 67 | // write the code that is repeating 68 | // updation 69 | 70 | } 71 | 72 | 73 | for (initialisation ; condition ; updation) { 74 | 75 | // repeating code inside 76 | } 77 | 78 | 79 | 80 | 81 | if you have to do something multiple times 82 | 83 | iteration 84 | 85 | loop -- 86 | 87 | */ -------------------------------------------------------------------------------- /Concept_Mar_03_2022/HTML/Paragraph.html: -------------------------------------------------------------------------------- 1 |

2 | HTML tags have been utilized since the birth of the internet to format 3 | elements on a webpage, such as text or images. HTML is part of the backend 4 | code, and you can easily view it by right-clicking and selecting View Page 5 | Source.HTML tags have been utilized since the birth of the internet to format 6 | elements on a webpage, such as text or images. HTML is part of the backend 7 | code, and you can easily view it by right-clicking and selecting View Page 8 | Source.HTML tags have been utilized since the birth of the internet to format 9 | elements on a webpage, such as text or images. HTML is part of the backend 10 | code, and you can easily view it by right-clicking and selecting View Page 11 | Source. 12 |

13 | 14 |

15 | HTML tags have been utilized since the birth of the internet to format 16 | elements on a webpage, such as text or images. HTML is part of the backend 17 | code, and you can easily view it by right-clicking and selecting View Page 18 | Source.HTML tags have been utilized since the birth of the internet to format 19 | elements on a webpage, such as text or images. HTML is part of the backend 20 | code, and you can easily view it by right-clicking and selecting View Page 21 | Source. 22 |

23 |

24 | HTML tags have been utilized since the birth of the internet to format 25 | elements on a webpage, such as text or images. HTML is part of the backend 26 | code, and you can easily view it by right-clicking and selecting View Page 27 | Source.HTML tags have been utilized since the birth of the internet to format 28 | elements on a webpage, such as text or images. HTML is part of the backend 29 | code, and you can easily view it by right-clicking and selecting View Page 30 | Source. 31 |

32 | -------------------------------------------------------------------------------- /Concept_May_26_2022/Variables.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | public static void main(String[] args) { 3 | 4 | // type_of_variable name_of_variable = value/data; 5 | byte age = 29; 6 | short salary = 20000; 7 | int pincode = 800001; 8 | long mobile = 9876543210L; 9 | float percentage = 94.65f; 10 | double randomNumber = 3734.787; 11 | char section_in_school = 'D'; 12 | boolean isIndian = true; 13 | boolean isMarried = false; 14 | 15 | System.out.println(age); 16 | System.out.println(salary); 17 | System.out.println(pincode); 18 | System.out.println(mobile); 19 | System.out.println(percentage); 20 | System.out.println(randomNumber); 21 | System.out.println(section_in_school); 22 | System.out.println(isIndian); 23 | System.out.println(isMarried); 24 | } 25 | } 26 | 27 | // Variable -- a container to store some data/value 28 | // 1. To store anything, we need a container 29 | 30 | // 2. To store different type of things, we need different containers 31 | 32 | // 3. To store similar things, we use different size containers depending on // the quantity of item 33 | 34 | /* 35 | 36 | 37 | givt the comemnt 38 | d 39 | s'f 40 | dwerfdwer 41 | wdqqew 42 | 43 | */ 44 | 45 | /* 46 | Every variable has a name. 47 | Rules for naming a variable 48 | 1. It can have only [a-z],[A-Z], [0-9], _ , $ 49 | 2. It cannt have a space in between or any other character 50 | 3. it can not start with a number 51 | 4. it should not be a reserved keyword 52 | 53 | abcd123 --> valid 54 | hello --> valid 55 | hello_abcd -> valid 56 | abcd$$$$$$ --> valid 57 | $$$$$$ --> valid 58 | _abcd$ --> valid 59 | abcd 123 -> invalid 60 | 123abcde --> invalid 61 | HELLO_ALL --> valid 62 | abcd#@123 --> invalid 63 | class -> invalid 64 | 65 | */ -------------------------------------------------------------------------------- /Concept_Jan_03/BMP.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | 17 |

18 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nostrum impedit 19 | at aliquid. Quaerat ullam distinctio eligendi ipsa animi, enim blanditiis? 20 |

21 | 22 |

23 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Iste, officiis 24 | suscipit ratione quos aut ullam atque dignissimos repudiandae minima, 25 | sequi recusandae! Ipsum officia quaerat exercitationem placeat facilis 26 | officiis consequuntur perspiciatis, blanditiis aperiam maxime nisi sed 27 | nobis itaque ratione, incidunt, porro debitis ut aspernatur perferendis. 28 | Perferendis tenetur possimus atque ipsum quasi. 29 |

30 |

31 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Veniam ullam 32 | animi rerum harum dolor pariatur, vero labore fuga qui enim eius ea 33 | reprehenderit veritatis praesentium tenetur quidem sed odio inventore! 34 |

35 | 36 |
37 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptate 38 | voluptatibus pariatur molestias? Culpa, minima doloremque quaerat labore 39 | at dolores maiores. 40 |
41 |
42 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla temporibus 43 | repudiandae animi distinctio tempora fuga, tenetur commodi? Eum optio 44 | repudiandae mollitia quam, quasi corporis accusantium eligendi non tempore 45 | similique amet nam soluta aperiam iure cupiditate. Unde quidem facere non 46 | magnam? 47 |
48 | 49 | 50 | -------------------------------------------------------------------------------- /Concept_Jan_27_2022/HTML/Paragraph.html: -------------------------------------------------------------------------------- 1 |

2 | "Hypertext" refers to links that connect web pages to one another, either 3 | within a single website or between websites. Links are a fundamental aspect of 4 | the Web. By uploading content to the Internet and linking it to pages created 5 | by other people, you become an active participant in the World Wide Web. 6 | "Hypertext" refers to links that connect web pages to one another, either 7 | within a single website or between websites. Links are a fundamental aspect of 8 | the Web. By uploading content to the Internet and linking it to pages created 9 | by other people, you become an active participant in the World Wide Web. 10 | "Hypertext" refers to links that connect web pages to one another, either 11 | within a single website or between websites. Links are a fundamental aspect of 12 | the Web. By uploading content to the Internet and linking it to pages created 13 | by other people, you become an active participant in the World Wide Web. 14 |

15 | 16 |

17 | "Hypertext" refers to links that connect web pages to one another, either 18 | within a single website or between websites. Links are a fundamental aspect of 19 | the Web. By uploading content to the Internet and linking it to pages created 20 | by other people, you become an active participant in the World Wide Web. 21 | "Hypertext" refers to links that connect web pages to one another, either 22 | within a single website or between websites. Links are a fundamental aspect of 23 | the Web. By uploading content to the Internet and linking it to pages created 24 | by other people, you become an active participant in the World Wide Web. 25 | "Hypertext" refers to links that connect web pages to one another, either 26 | within a single website or between websites. Links are a fundamental aspect of 27 | the Web. By uploading content to the Internet and linking it to pages created 28 | by other people, you become an active participant in the World Wide Web. 29 |

30 | -------------------------------------------------------------------------------- /FirstHand_Sep_25/Session3.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Sep_25; 2 | 3 | public class Session3 { 4 | public static void main (String args[]) { 5 | // System.out.println(1); 6 | // System.out.println(2); 7 | // System.out.println(3); 8 | // System.out.println(4); 9 | // System.out.println(5); 10 | /* 11 | int j = 10; 12 | System.out.println(j); // 10 13 | 14 | j = j + 1; // j +=1; j = j + 1; 15 | System.out.println(j); //11 16 | 17 | j = j + 1; 18 | System.out.println(j); //12 19 | 20 | j = j + 5; // j+=5; 21 | System.out.println(j); //17 22 | 23 | j = j - 7; // j-=7; 24 | System.out.println(j); //10 25 | 26 | j = j / 5; // j/=5; 27 | System.out.println(j); //2 28 | 29 | j = j * 30; // j*=30; 30 | System.out.println(j); //60 31 | 32 | 33 | // j+=j => j = j + j; 34 | * 35 | * 36 | 37 | 38 | for (int var = 0; var <= 100 ; var = var + 2) { 39 | System.out.println(var); //0 40 | } 41 | System.out.println("hello"); 42 | 43 | 44 | //99,97,95,94,93,1 45 | 46 | 47 | for(int num = 99; num > 0; num = num -2) { 48 | System.out.println(num); 49 | } 50 | */ 51 | 52 | /* 53 | * 54 | * 7*1 55 | * 7*2 56 | * 7*3 57 | * 7*4 58 | * 7*5 59 | * 7 60 | * 7*10 61 | * 62 | * p++, ++p, p=p+1; 63 | * 64 | */ 65 | 66 | int myNumber = 7; 67 | for (int product = 1; product <=10; product=product+=1) { 68 | System.out.println(myNumber*product); //7*1 69 | } 70 | 71 | 72 | 73 | 74 | 75 | } 76 | } 77 | 78 | /* 79 | <=5 -- 1, 2, 3,4,5 80 | 81 | <6 = 1,2,3,4,5 82 | 83 | /* 84 | * 85 | * LOOPS -- A way to do the same thing again and again 86 | * 87 | * 1. FOR loop 88 | * 89 | * for (initialisation/assignment ; condition; updation ){ 90 | * 91 | * // write the code that has to be repeated 92 | * } 93 | * 94 | * 95 | * 2. While loop 96 | * 3. Do while loop 97 | * 98 | * 99 | * 100 | * 101 | * */ 102 | -------------------------------------------------------------------------------- /FirstHand_Dec_22/Variables.java: -------------------------------------------------------------------------------- 1 | package FirstHand_Dec_22; 2 | 3 | public class Variables { 4 | 5 | public static void main(String[] args) { 6 | 7 | 8 | // type_of_container name_of_container = value/data 9 | 10 | byte age = 29; 11 | short monthly_salary = 20000; 12 | int pincode = 800001; 13 | long mobile_number = 9876543210L; 14 | 15 | float percentage = 94.2f; 16 | double randomNumber = 100.78780; 17 | 18 | boolean isIndian = true; 19 | // boolean isMarried = false; 20 | 21 | char section = 'D'; 22 | 23 | String message = " heloo bdwkjd 327632723yb "; 24 | 25 | System.out.println(age); 26 | System.out.println(monthly_salary); 27 | System.out.println(pincode); 28 | System.out.println(mobile_number); 29 | 30 | System.out.println(percentage); 31 | System.out.println(randomNumber); 32 | 33 | System.out.println(isIndian); 34 | System.out.println(section); 35 | 36 | System.out.println(message); 37 | 38 | 39 | System.out.println(age + " " + pincode + " "+ message); 40 | } 41 | 42 | } 43 | 44 | 45 | // abc123 --> right 46 | // 123abc --> wrong 47 | // a123abc -->right 48 | // vikas_name --> right 49 | // _vikasname --> right 50 | // $vikasname --> right 51 | // vikas!name --> wrong 52 | // vikas name --> wrong 53 | // 1bc_$ --> wrong 54 | // a1bc_$ --> right 55 | 56 | // every variable has a name 57 | // the name should be unique 58 | // the variable name can have only A-Z, a-z, 0-9, $, _ 59 | // it cannot have any other symbol or a space in between 60 | // it cannot start with a number 61 | 62 | 63 | 64 | // age is 29; 65 | // a variable is a container to store some data 66 | 67 | //1. to store anything, we need a container 68 | // 2. to store different type of things, we need different containers 69 | 70 | // store food in a utensil, lunch box, Container 71 | // store some documents --> file, folder 72 | // store some cash --> wallet, bag, purse, locker 73 | // store some clothes --> cupboard, wardrobe, bag, almirah -------------------------------------------------------------------------------- /Concept_Mar_03_2022/HTML/para.html: -------------------------------------------------------------------------------- 1 | HTML tags have been utilized since the birth of the internet to format elements 2 | on a webpage, such as text or images. HTML is part of the backend code, and you 3 | can easily view it by right-clicking and selecting View Page Source.HTML tags 4 | have been utilized since the birth of the internet to format elements on a 5 | webpage, such as text or images. HTML is part of the backend code, and you can 6 | easily view it by right-clicking and selecting View Page Source.HTML tags have 7 | been utilized since the birth of the internet to format elements on a webpage, 8 | such as text or images. HTML is part of the backend code, and you can easily 9 | view it by right-clicking and selecting View Page Source. HTML tags have been 10 | utilized since the birth of the internet to format elements on a webpage, such 11 | as text or images. HTML is part of the backend code, and you can easily view it 12 | by right-clicking and selecting View Page Source.HTML tags have been utilized 13 | since the birth of the internet to format elements on a webpage, such as text or 14 | images. HTML is part of the backend code, and you can easily view it by 15 | right-clicking and selecting View Page Source.HTML tags have been utilized since 16 | the birth of the internet to format elements on a webpage, such as text or 17 | images. HTML is part of the backend code, and you can easily view it by 18 | right-clicking and selecting View Page Source. HTML tags have been utilized 19 | since the birth of the internet to format elements on a webpage, such as text or 20 | images. HTML is part of the backend code, and you can easily view it by 21 | right-clicking and selecting View Page Source.HTML tags have been utilized since 22 | the birth of the internet to format elements on a webpage, such as text or 23 | images. HTML is part of the backend code, and you can easily view it by 24 | right-clicking and selecting View Page Source.HTML tags have been utilized since 25 | the birth of the internet to format elements on a webpage, such as text or 26 | images. HTML is part of the backend code, and you can easily view it by 27 | right-clicking and selecting View Page Source. 28 | -------------------------------------------------------------------------------- /FirstHand_Oct_17/Variables.java: -------------------------------------------------------------------------------- 1 | package PrecourseGama_FirstHand_Oct_17; 2 | 3 | public class Variables { 4 | 5 | public static void main(String args[]) { 6 | byte age = 30; 7 | int pincode = 122001; 8 | long phone_number = 3829478347890L; 9 | short salary = 30000; 10 | 11 | char section = 'D'; 12 | boolean is_indian = true; 13 | 14 | float percentage = 85.67f; 15 | double data = 2881278.2673623762d; 16 | 17 | String name = "Vikas Ranjan 34674676346 %@!$%#$%@#$%"; 18 | 19 | System.out.println(age); 20 | System.out.println(pincode); 21 | System.out.println(phone_number); 22 | System.out.println(salary); 23 | System.out.println(section); 24 | System.out.println(is_indian); 25 | System.out.println(percentage); 26 | System.out.println(data); 27 | System.out.println(name); 28 | System.out.println(age + " ---- " + pincode + " ---- " + name); 29 | 30 | // widening / automatic 31 | byte my_age = 25; 32 | int new_age = my_age; 33 | System.out.println(new_age); 34 | 35 | // narrowing/manual 36 | int myage_2 = 21; 37 | short newage_2 = (short) myage_2; 38 | System.out.println(newage_2); 39 | 40 | float percentage_2 = 91.99f; //91.45 91.999 41 | int new_percentage = (int) percentage_2; //91 42 | System.out.println(new_percentage); 43 | } 44 | } 45 | 46 | // 29 47 | // Variable is a container to store some data; 48 | 49 | /* 50 | * 51 | * 52 | * 29 53 | * 122001 54 | * 943902830902 55 | * 56 | * Vikas 57 | * 58 | * hdjhefj , jeflkje , Gurgaon 59 | * 60 | * 27/05/1992 61 | * 62 | * 92.40 63 | * 64 | * Yes/ no 65 | * 66 | * true/false 67 | * 68 | * D 69 | * 70 | * 71 | * 72 | * 73 | * type_of_variable name_of_variable = value/data; 74 | * 75 | * 76 | * 77 | * A-Z, a-z, 0-9, $, _ 78 | * 79 | * 80 | * @ # * () -- wrong 81 | * 82 | * 83 | * vikas ranjan -- wrong 84 | * 85 | * vikasranjan 86 | * vikas_ranjan 87 | * vikasRanjan 88 | * 89 | * 90 | * it cannot start with a number 91 | * 92 | * abcd190 93 | * 94 | * _abcd190 95 | * 96 | * $abcd190 97 | * 98 | * 19Abcd --wrong 99 | * 1fefefe -- wrong 100 | * 101 | * 102 | * we cannt keep any reserve keyword 103 | * 104 | */ -------------------------------------------------------------------------------- /Concept_Feb_09/Format.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

HTML

6 |

7 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Reiciendis nam 8 | optio hic sunt inventore porro repudiandae maxime, sed ex animi 9 | necessitatibus odio a ullam quod eveniet ipsa laborum! Excepturi provident 10 | dicta animi natus maxime temporibus consequatur dignissimos facere, 11 | possimus voluptas! 12 |

13 | 14 |

CSS

15 |

16 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Deleniti id 17 | repudiandae optio necessitatibus expedita repellat ex iure corrupti animi 18 | et voluptatibus illo, praesentium nam, sint adipisci doloribus soluta 19 | temporibus eum autem facilis beatae iste illum voluptate asperiores! 20 | Doloribus perferendis iste optio neque. Amet, temporibus illum cum impedit 21 | vel minus suscipit natus totam iusto unde in ratione provident aspernatur 22 | neque nulla? 23 |

24 | 25 |

26 | Lorem ipsum dolor sit, amet consectetur adipisicing elit. Recusandae, 27 | repudiandae! Delectus doloremque soluta alias architecto unde? Voluptatem 28 | reiciendis ea consectetur excepturi cumque illo ex libero odio, 29 | dignissimos dolor iusto sint natus laborum doloribus facilis. Iure in 30 | cumque aspernatur explicabo architecto consequatur, recusandae 31 | necessitatibus similique perspiciatis dicta quam nihil adipisci dolores 32 | voluptates? Omnis, nam reiciendis. Suscipit quisquam ex qui sed tempora 33 | saepe dolorum quaerat, sapiente deleniti, voluptatibus quod, amet harum? 34 | Nulla, expedita, dolor et dicta consequatur, odit voluptates sapiente 35 | fugit natus error quos tenetur distinctio repudiandae inventore officiis! 36 | Perferendis voluptates esse fuga architecto cumque soluta dignissimos 37 | ducimus quod, eum in. Quo. 38 |

39 |

Lorem ipsum dolor sit amet.

40 | 41 |

42 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Consequatur iste 43 | suscipit molestias similique labore molestiae dolorem. Quos rem, hic 44 | dolores doloribus quas praesentium? Dolores inventore fuga ullam 45 | voluptatem quam adipisci. 46 |

47 | 48 | 49 | -------------------------------------------------------------------------------- /Concept_Mar_03_2022/HTML/div.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 |

HTML

7 |
Heading Element
8 |

9 | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Eos ad atque 10 | distinctio nobis adipisci sint unde reprehenderit accusantium cumque, 11 | voluptatum dolore inventore provident deserunt alias quisquam. Corrupti 12 | vero at nemo beatae iure ipsa exercitationem corporis modi. At iusto, 13 | modi cupiditate delectus nobis, eum officia sed hic illum inventore fuga 14 | doloremque enim voluptates ex minus laborum cumque placeat aperiam 15 | tenetur dolores dicta? Consequatur rem cum unde eveniet delectus. 16 | Voluptatum, iusto molestias! 17 |

18 |
19 | 20 |
21 |

CSS

22 |
Flex concept
23 |

24 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus 25 | incidunt voluptatem veritatis corporis blanditiis exercitationem, rerum 26 | inventore dignissimos fugit maxime quibusdam ut. Dicta hic id quibusdam 27 | veritatis vero ipsum vel odio adipisci atque corporis et mollitia magni 28 | minima dolorem, inventore voluptate commodi tenetur animi quasi dolorum? 29 | Minima, accusamus nisi! Temporibus alias hic maiores quidem officiis 30 | unde magnam illo nemo veritatis provident? Quod et, dolor, reiciendis 31 | dicta numquam cum ipsum voluptatem, repellendus culpa eius quia 32 | obcaecati necessitatibus? Accusamus pariatur, itaque excepturi 33 | consectetur deserunt suscipit eius, magnam, sed maiores quis laborum 34 | ipsum. 35 |

36 |
37 | 38 |
39 |

Javascript

40 |
DOM Manipulation
41 |

42 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime ut 43 | expedita, esse ratione veniam atque modi necessitatibus perspiciatis 44 | quasi consectetur soluta, officia repellendus corporis aliquid alias ad 45 | itaque? Adipisci suscipit, assumenda nobis architecto necessitatibus eum 46 | reprehenderit deleniti et, ut velit maiores doloremque repellendus odit 47 | commodi in molestiae nihil excepturi! Expedita. 48 |

49 |
50 | 51 | 52 | -------------------------------------------------------------------------------- /Concept_21-Mar-2022/HTML/division.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 |

HTML

7 |

8 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod ipsum 9 | provident molestiae eaque nisi dolore, similique sunt doloremque fugit 10 | deserunt. Id voluptatibus at sapiente sed alias consectetur adipisci, 11 | illo, ipsam ex culpa reprehenderit sunt. Similique itaque illo ex 12 | asperiores ratione provident officia aperiam facere, nesciunt, rerum 13 | voluptatum ipsa ad? Cumque quo asperiores sunt reiciendis delectus cum 14 | provident, ducimus error sequi, quidem excepturi velit quis repellat 15 | omnis ipsa? Ex, cumque iste. In similique sint qui. Accusantium aperiam 16 | alias laborum quisquam expedita praesentium asperiores libero, tempora 17 | fuga soluta impedit et! Esse, fugit. 18 |

19 |

20 | Lorem ipsum dolor sit, amet consectetur adipisicing elit. Laborum itaque 21 | hic at quos temporibus accusamus perferendis tempora quas doloribus 22 | porro! Temporibus dolorum maxime repellendus quas sed asperiores! Eum, 23 | eius in? 24 |

25 |
26 | 27 |
28 |

CSS

29 |

30 | Lorem, ipsum dolor sit amet consectetur adipisicing elit. Blanditiis a 31 | quis cum perspiciatis! Similique error reiciendis dignissimos ex! Ipsam 32 | ipsum, quo aperiam molestiae atque fuga id voluptatum. Accusantium rerum 33 | delectus praesentium inventore consequuntur aperiam quos ducimus hic? 34 | Odio quibusdam deserunt id sit, omnis dignissimos, aliquid quia debitis 35 | dolores ut cum. 36 |

37 |
38 | 39 |
40 |

Javascript

41 |

42 | Lorem ipsum dolor sit amet consectetur adipisicing elit. Incidunt 43 | aspernatur quidem assumenda vero, harum, quod, error in ducimus earum 44 | rerum aliquid excepturi odit vitae obcaecati itaque eveniet rem 45 | exercitationem perferendis accusamus magni id deleniti voluptates ullam 46 | ipsum. Doloremque sed ipsam nihil cupiditate animi esse mollitia vel, 47 | vitae delectus illo accusamus expedita minus eligendi ea quidem ratione 48 | similique voluptatibus soluta, nostrum quae repellendus tempore error? 49 | Nemo quia dolorem animi rem sunt? 50 |

51 |
52 | 53 | 54 | --------------------------------------------------------------------------------