1• What runs JavaScript outside the browser ? Node
2• Name 5 things Javascript can do.
- To build interactive web pages
- Can be used to build full blown website
- Can be used to create mobile app
- Can be used to build Real-time Networking Applications
- Can be used to build games
3• When was ECMAScript first released ? 1997
4• How do you log to the console? a. Open a new Google Chrome window b. Right-click on an empty space on the browser and select "Inspect" c. Select "Console" on the displayed menu tab just beside "Element" d. The Console environment would be displayed
5• List the tech fields that use JavaScript, for example FrontEnd. a. Frontend b. Backend c. Full Stack d. Game developers e. Network Engineers
6• Differentiate between Statically typed and Dynamically typed programming languages and give examples of languages that fall under each category a. Statically typed means variable types are explicitly declared and thus are determined at compile time. e.g. FORTRAN, Java, C, C#, C++ etc.
b.Dynamically typed means that the type of a variable is allowed to change over its lifetime. e.g. JavaScript, PHP, Python etc.
7• Differentiate between the JavaScript data types ‘null’ and ‘undefined a. NULL - means it is declared that there is no value for the data. e.g. If I have no money on me, the value would be zero b. UNDEFINED - means the value of the datatype is not specified but it certainly has a value.