0% found this document useful (0 votes)
22 views2 pages

Programming Languages Activities

The document outlines a worksheet focused on programming languages, specifically Java and JavaScript, and their applications in web and backend development. It includes activities analyzing scenarios, matching features to languages, and solving problems related to web and mobile applications. The document emphasizes Java's robustness for backend systems and JavaScript's interactivity for frontend development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views2 pages

Programming Languages Activities

The document outlines a worksheet focused on programming languages, specifically Java and JavaScript, and their applications in web and backend development. It includes activities analyzing scenarios, matching features to languages, and solving problems related to web and mobile applications. The document emphasizes Java's robustness for backend systems and JavaScript's interactivity for frontend development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Programming Languages Activity Worksheet

Activity 1: Scenario Analysis and Justification


1. Imagine you are building a new online banking system that needs to be extremely secure
and handle a massive amount of user data on the server side. Which programming language,
Java or JavaScript, do you think would be the primary choice for the backend of this system,
and what specific features from the reading support your answer?

Answer: Java. Java is the primary choice because it is robust, secure, and designed to handle
large-scale backend systems. Its strong type checking, exception handling, and garbage
collection make it suitable for managing millions of transactions securely.

2. If a company wanted to create a comprehensive web application that included both


robust backend services for managing customer information and a highly responsive,
single-page user interface, how might Java and JavaScript work together to achieve this goal,
according to the reading?

Answer: Java would manage the backend services, ensuring security and scalability, while
JavaScript would handle the frontend, creating a dynamic and responsive user interface.
Together, they provide a full-stack solution for web development.

Activity 2: Feature Matching and Explanation


Feature: “Write once, run anywhere” philosophy due to JVM.
Language: Java
Explanation: This is characteristic of Java because the Java Virtual Machine allows programs
to run on any platform without modification.

Feature: Primarily used for creating interactive and dynamic content in the browser.
Language: JavaScript
Explanation: JavaScript runs directly in browsers, enabling interactive elements like forms,
animations, and dynamic updates.

Feature: Strong type checking, exception handling, and garbage collection contribute to its
robustness.
Language: Java
Explanation: Java is a strongly typed language with built-in error handling and automatic
memory management, making applications stable.

Feature: Enabled for server-side programming with Node.js.


Language: JavaScript
Explanation: JavaScript can also run on servers using Node.js, making it suitable for both
frontend and backend development.

Activity 3: Problem-Solution Matching


Challenge A: Creating dynamic drop-down menus, image carousels, and forms that respond
instantly to user input on a website without needing to refresh the page.

Language: JavaScript
Explanation: JavaScript is designed for interactive elements in web pages, allowing real-
time updates without reloading the page.

Challenge B: Building the secure, large-scale backend systems for an online banking
application that handles millions of transactions and manages customer accounts.

Language: Java
Explanation: Java is robust, secure, and widely used for enterprise-level backend systems,
making it ideal for banking applications.

Challenge C: Developing a mobile application for Android phones that needs to run
efficiently and reliably.

Language: Java
Explanation: Java is the main language for Android development, providing reliable
performance and compatibility with Android devices.

Activity 4: Listening
1. False – The students are not discussing quiz scores.
2. True – They did complete an assignment on early systems.
3. True – The man believes modern operating systems are easier to use than manual
systems.

Activity 5: Time to Code


You’re going to build a program to make your own Flappy Bird game and customize it to
look different.
Please go to the following website and start coding:
https://hourofcode.com/co/en/learn

You might also like