Sunday, June 21, 2020

MTA Exam 98-375: HTML5 Application Development Fundamentals

Manage the application life cycle
Build the user interface (UI) by using HTML5
Format the user interface by using Cascading Style Sheets (CSS)
Code by using JavaScript

Manage the application life cycle

Understand the platform fundamentals
Packaging and the runtime environment: app package, app container, credentials/permission sets, host process, leverage existing HTML5 skills and content for slate/tablet applications

Manage the state of an application
Manage session state, app state, and persist state information; understand states of an application; understand the differences between local and session storage

Debug and test an HTML5-based, touch-enabled application
Touch gestures; understand which gestures you test on a device

Build the user interface (UI) by using HTML5

Choose and configure HTML5 tags to display text content

Choose and configure HTML5 tags to display graphics
When, why, and how to use Canvas; when, why, and how to use scalable vector graphics (SVG)

Choose and configure HTML5 tags to play media
Video and audio tags

Choose and configure HTML5 tags to organize content and forms
Tables, lists, sections; semantic HTML

Choose and configure HTML5 tags for input and validation

Format the user interface by using Cascading Style Sheets (CSS)

Understand the core CSS concepts
Separate presentation from content (create content with HTML and style content with CSS); manage content flow (inline versus block flow); manage positioning of individual elements( float versus absolute positioning); manage content overflow (scrolling, visible, and hidden); basic CSS styling

Arrange UI content by using CSS
Use flexible box and grid layouts to establish content alignment, direction, and orientation; proportional scaling and use of "free scale" for elements within a flexible box or grid; order and arrange content; concepts for using flex box for simple layouts and grid for complex layouts; grid content properties for rows and columns; use application templates

Manage the flow of text content by using CSS
Regions and using regions to flow text content between multiple sections (content source, content container, dynamic flow, flow-into, flow-from, msRegionUpdate, msRegionOverflow, msGetRegionContent); columns and hyphenation and using these CSS settings to optimize the readability of text; use "positioned floats" to create text flow around a floating object

Manage the graphical interface by using CSS
Graphics effects (rounded corners, shadows, transparency, background gradients, typography, and Web Open Font Format); two-dimensional (2-D) and three-dimensional (3-D) transformations (translate, scale, rotate, skew, and 3-D perspective transitions and animations); SVG filter effects; Canvas

Code by using JavaScript

Manage and maintain JavaScript
Create and use functions; jQuery and other third-party libraries

Update the UI by using JavaScript
Locate/access elements; listen and respond to events; show and hide elements; update the content of elements; add elements

Code animations by using JavaScript
Use animation; manipulate the canvas; work with images, shapes, and other graphics

Access data access by using JavaScript
Send and receive data; transmit complex objects and parsing; load and save files; App Cache; datatypes; forms; cookies; localStorage
Respond to the touch interface
Gestures, how to capture and respond to gestures
Code additional HTML5 APIs
GeoLocation, Web Workers, WebSocket; File API
Access device and operating system resources
In- memory resources, such as contact lists and calendar; hardware capabilities, such as GPS, accelerometer, and camera

Sunday, June 14, 2020

Suggession Course for High school students: publish project on Github using Visual Studio Code and Git

Lets start publishing ThreeLang project to Github using Visual studio code and Git

Download visual studio code: https://code.visualstudio.com/
Download Git: https://git-scm.com/
Create account in Github: https://github.com/

1- Open Git Bash terminal and type four following commands:

git config — global user.name "type your name here"
git config — global user.email "typeyour@email.com"
git config — global push.default matching
git config — global alias.co checkout


To see if you did this right, you can type:
git config — global user.name
git config — global user.email

2- Access the integrated terminal (git) in visual studio code

Click New terminal and Change terminal default to git



select git bash


3-Create a repository in the root of your project

Type on git bash: git init


update any file in Project


4- Go to the Source Control Section of visual studio code



Untracked files are newly created project files that are yet to be staged.

Stage changes

Commit changes


5- Create a new repository on Github

create account, then create repository


Copy the repository

6- Add a remote
Go back to Visual Studio Code → Click View → Click integrated terminal →
Run the command: git remote add origin [ paste your repository url ]

To check if it worked, type git remote -v and it should be pointing to your repository like so:


7- Publish your project to Github


You will be prompted to log in your github account credentials → Enter credentials

Then
Go back to Github → Scroll down →On the right sidebar, under Your Repositories, click your project name, You should see this:



8- Push anytime Changes..

Anytime you make a change, use Push
staged changes Then Commit Then Push


If you want to review changes Go to Source Control section and Review changes by click on files changes




Friday, June 12, 2020

Suggession Course for High school students: Coding Multiple programming languages in visual studio code

Lets start coding C#, Java and Python in Visual Studio Code...

Visual Studio Code
Download& Install Visual studio code: https://code.visualstudio.com/

C#
Download& Install .NET Core: https://dotnet.microsoft.com/

Java
Download& Install Java: https://www.oracle.com/java/ , open jdk: https://jdk.java.net/

Python
Download& Install Python: https://www.python.org/

Lets Go..

1- Go to specific driver location in your computer and create folder and rename it “ThreeLang”
2- Open folder and in address bar type cmd and Click Enter

3- in cmd window Type code . and Click Enter, the visual studio code opening

4-Go to Extension and type in search bar c#, select and install (see picture)

5- type in search bar java, select and install (see picture)

6-type in search bar python, select and install (see picture)

7-Now we install the three languages extensions, Go to Explorer
8-Create three folders under “ThreeLang” folder and name it Csharp,Java,Python

9-Open terminal (Ctrl + `) and Type cd Csharp, this enter inside Csharp folder

10- Create C# project by Type in terminal (dotnet new console)
11-Open Command Palette by Click (Ctrl+shift+p) and Type (Reload window)

12-This set required configuration to build and debug , Click yes (See picture)

13-in program.cs file write your c# program
14-in terminal type (dotnet build) to build then (dotnet run) to run project

15-in Terminal Type (cd ..),(cd Java) , this enter inside Java folder
16-Create java file (Program.java) and write your java program

17- in Terminal Type (java program.java) to run java program

18- in Terminal Type (cd ..),(cd Python) , this enter inside Python folder
19- Create Python file (Program.py) and write your python program
20- in Terminal Type (python program.py) to run python program

Thursday, June 11, 2020

Suggession Course for High school students: Programming language using Java

Course name
Programming language using Java

Course for
High schools

Prerequisites
- computer device with windows operating system
- Internet connection with each device 

Agenda
1-Environment setup
2-Basics
3-Variables and data types
4-Decisions
5-Loops
6-Functions
7-Arrays
8-Collection
9-Object oriented programming
10- Project delivery

Java Programming

Day 1:
- Open cmd: type java -version
- create first java app by notpad editor
- run first app: java <name>.java
- modify java application
- Exercise: create own app, run, modify..

Day 2:
- use IDE to create java apps
- install IntelliJ IDEA: https://www.jetbrains.com/idea/
- IntelliJ IDEA ..whole view, menus..
- create app, run
- Exercise:use IntelliJ IDEA to create, run own application

Day 3:
- Java programming: basics, program structure, comments, input, output
- Program files structure
- Java programming: variables, constants, operators, datatypes
- Exercise: simple calculator program

Day 4:
- Decision: if , if else,if -else if -else..
- nested if
- switch
- Exercise: enhance calculator program using decision

Day 5:
- Loops: for loop
- while, do while
- break, continue
- Exercise: enhance calculator program using loops

Day 6:
- Functions
- Function parameters
- return values
- Exercise: enhance calculator program using Functions

Day 7:
- Arrays
- Two Dimensional arrays
- Sort and binary search in arrays
- Exercise: Apply arrays, 2D arrays, sort, search.

Day 8: 
-Collections: List, Set
- Queue
- Map
- Exercise: Apply List, Set, Queue, Map..

Day 9:
- Object oriented programming
- Classes and objects
- Constructors

 - Exercise: Apply Classes and objects, constructors

Day 10:
- Interfaces
- Inheritance
- Exercise: Apply Interfaces, Inheritance

Day 11:
- overloading Functions
- overriding Functions
- Exercise: Apply overloading, overriding

Day 12:
- Implement whole course in project


Thursday, June 4, 2020

Suggession Course for High school students: Programming language using Python

Course name
Programming language using Python

Course for
High schools

Prerequisites
- computer device with windows operating system
- Internet connection with each device 

Agenda
1-Environment setup
2-Basics
3-Variables and data types
4-Decisions
5-Loops
6-Functions
7-Data structures
8-Object oriented programming
9- Project delivery

Python programming

Day 1:
- install python: go to https://www.python.org/
- go to cmd: type python -V , Type: python to begin coding in cmd
- Try some math calculations, strings..
- create simple python app and run on cmd , python <name>.py
- Exercise: create own app, run, modify

Day 2:
- use IDE to create pyhton apps
- install Pycharm: https://www.jetbrains.com/pycharm
- Pycharm whole view, menus..
- create app, run
- Exercise:use Pycharm to create, run own application 

Day 3:
- python programming: basics,inside program,comments,input,output
- variables,data types, operators
- Exercise: simple calculator program

Day 4:
- Decision: if, if else
- elif
- nested if
- Exercise: enhance calculator using if, elif

Day 5:
- for loop
- while statement
- range() function 
- break, continue statements
- Exercise: enhance calculator app using loops

Day 6:
- Defining functions
- parameters
- return values
- Exercise: Enhance calculator app using functions

Day 7: 
- Data structures: List
- Stack and Queue
- Dictionary
- Exercise: Apply list,stack,queue,dictionary..

Day 8:
- object oriented programming
- classes and objects
- Constructors
- Exercise: Apply classes, objects, constructors

Day 9:
-Inheritance
-overriding functions
-Exercise: Apply Inheritance

Day 10:
-Implement whole course in project

Tuesday, June 2, 2020

Suggession Course for High school students: Programming language using C#

Course name
Programming language using C#
Level 1,2

Course for
High schools

Prerequisites
- computer device with windows operating system
- Internet connection with each device 

Agenda
1-Environment setup
2-Basics
3-Variables and data types
4-Decisions
5-Loops
6-Functions
7-Arrays
8-Collection
9-Object oriented programming
10- Project delivery

C# Programming

Day 1:
- install dotnet : https://dotnet.microsoft.com/
- open cmd: type dotnet --version
- create first app: type: dotnet new console -o myFirstApp
- build first app: type: cd myFirstApp , then dotnet build
- run first app: type: dotnet run 
- how to use application exe, bin folder
- modify application by notpad editor
- Exercise : Create own application, build, run, modify, use ..

Day 2:
- use IDE to create,build,run application
- install visual studio: https://visualstudio.microsoft.com/
- visual studio whole view, menus, windows..
- create app , build, run
- Exercise: use visual studio to create own application, build, run,modify..

Day 3:
- C# programming: basics, program structure, comments, input, output
- Program files structure
- C# programming: variables, constants, operators, datatypes
- Exercise: simple calculator program

Day 4:
- Decision: if , if else,if -else if -else..
- nested if
- switch
- Exercise: enhance calculator program using decision

Day 5:
- Loops: for loop
- while, do while
- break, continue
- Exercise: enhance calculator program using loops

Day 6:
- Functions
- Function parameters
- return values
- Exercise: enhance calculator program using Functions

Day 7:
- Arrays
- Two Dimensional arrays
- Jagged array
- Exercise: Apply arrays one dimensional, two dimensional, jagged..

Day 8: 
-Collections: List
- Stack and Queue
- Dictionary
- Exercise: Apply List, Stack, Queue, Dictionary..

Day 9:
- Object oriented programming
- Classes and objects
- Constructors
 - Exercise: Apply Classes and objects, constructors

Day 10
- Interfaces
- Inheritance
 - Exercise: Apply Interfaces, Inheritance

Day 11
- overloading Functions
- overriding Functions
- Exercise: Apply overloading, overriding

Day 12:
- Implement whole course in project