Saturday, May 20, 2023

String Uppercase Using Filter in AngularJS

 Machine Problem

Write a program that uses uppercase filter to ask the user to give a string lower case, and then the program will display the given string and the upper case of the string on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing


<!-- index.htm

  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

  Date     : August 7, 2021  8:39 PM Saturday

  Place    : Bacolod City, Negros Occidental

  Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com

  Email    : jakerpomperada@gmail.com

 -->


<html>

  <head>

      <title>String Uppercase Using Filter in AngularJS</title>

     <script type="text/javascript" src="angular.min.js"></script>

 </head>

 <style>

body {

  font-family: arial;

  font-size: 25px;

  font-weight: bold;

}

</style>

<body>

 <div ng-app>

   <h3>String Uppercase Using Filter in AngularJS</h3>

<body>

    <div ng-app>

        <p>

            <label>Enter a String ( In Lower Case) </label>

            &nbsp; &nbsp; &nbsp; &nbsp;

            <input type="text" ng-model="given_string" size="40"/>

        </p>

        <p> Given String     : {{given_string}} <br><br>

            Upper Case String : {{ given_string | uppercase }} </p>

    </div>

</body>

    </body>

</html>




Thursday, May 18, 2023

What is AngularJS?

 What is AngularJS?

AngularJS is a JavaScript-based open-source front-end web application framework. It was originally developed by Google and released in 2010. AngularJS allows developers to build dynamic and interactive web applications by extending HTML's syntax and providing a set of powerful features.

AngularJS follows the model-view-controller (MVC) architectural pattern, where the application logic is separated from the presentation layer. It provides a declarative approach to building web applications, allowing developers to define the behavior of the application through HTML attributes and directives.

Key features of AngularJS include:

1. Two-way data binding: AngularJS enables automatic synchronization of data between the model and the view. Any changes made to the model are immediately reflected in the view, and vice versa.

2. Dependency injection: AngularJS has a built-in dependency injection system, which helps manage dependencies between different components of an application. It makes it easier to develop, test, and maintain code by promoting modular and reusable components.

3. Directives: Directives are a fundamental aspect of AngularJS, allowing developers to extend HTML with new attributes and elements. Directives enable the creation of custom behaviors and reusable components, enhancing code organization and modularity.

4. Templating: AngularJS provides a powerful templating system that allows developers to define dynamic views using plain HTML templates. Templating includes features like conditionals, loops, and filters, making it easier to manipulate and display data in the view.

5. Testing: AngularJS includes robust testing support with tools like unit testing and end-to-end testing. This facilitates the creation of reliable and maintainable code by allowing developers to write tests for their components and ensure their proper functionality.

It's important to note that AngularJS is an older version of the Angular framework. The current version, as of my knowledge cutoff in September 2021, is Angular (also known as Angular 2+). Angular is a complete rewrite of AngularJS and offers improved performance, enhanced features, and a different architectural approach.

Benefits of Using Assembly Language

Benefits of Using Assembly Language

 

Benefits of Using Assembly Language

 

Using assembly language offers several benefits, including:

 

1. Efficiency: Assembly language allows for precise control over the hardware resources of a computer. By directly manipulating the processor registers and memory, programmers can optimize code for maximum speed and efficiency. Assembly language programs can be fine-tuned to execute specific tasks with minimal overhead, making them ideal for resource-constrained systems or performance-critical applications.

 

2. Low-level access: Assembly language provides direct access to the underlying hardware of a computer. Programmers can interact with specific hardware components, such as I/O ports, interrupts, and memory, which may be necessary for tasks like device drivers, embedded systems programming, or operating system development.

 

3. Compact code size: Assembly language programs tend to have smaller code size compared to programs written in higher-level languages. This can be crucial in situations where memory resources are limited, such as in embedded systems or microcontrollers.

 

4. Real-time applications: Assembly language is often used in real-time systems where precise timing is crucial. By writing code at a low level, programmers can ensure deterministic execution and meet strict timing requirements. Real-time applications include robotics, aerospace systems, industrial control systems, and signal processing.

 

5. Educational purposes: Learning assembly language can deepen understanding of computer architecture and how software interacts with hardware. It provides insights into low-level operations, such as memory management, addressing modes, and instruction set architecture. Many computer science and engineering programs include assembly language as part of their curriculum to help students grasp these fundamental concepts.

 

6. Reverse engineering: Assembly language is often used in reverse engineering tasks. By analyzing the assembly code of a program, security researchers and software developers can understand its inner workings, identify vulnerabilities, and develop patches or modifications.

 

7. Portability: Assembly language is relatively portable across different hardware architectures. While higher-level languages often require a compiler or interpreter specific to the target platform, assembly code can be written to target a specific processor or architecture, making it highly portable and adaptable.

 

It's worth noting that writing programs in assembly language can be more time-consuming and error-prone compared to higher-level languages due to its low-level nature. Therefore, it is typically used for specific purposes where the benefits outweigh the drawbacks.

What is BASIC Programming Language?

 

What is BASIC Programming Language?

 

The term "Basic" refers to a programming language known as Beginner's All-purpose Symbolic Instruction Code. BASIC was created in the 1960s at Dartmouth College as a simple and easy-to-understand language for beginners. It became popular due to its simplicity and accessibility.

 

BASIC provides a straightforward syntax that emphasizes readability and ease of use, making it suitable for beginners who are learning programming concepts. It was designed to be interactive and interactive programming was encouraged, with users typing commands directly into a command-line interface.

 

Over time, different versions of BASIC were developed, each with its own features and variations. Some notable versions include GW-BASIC, QBASIC, Visual Basic (VB), and VB.NET.

 

While BASIC was primarily used as a teaching language, it also found application in various domains such as simple game development, business applications, and educational software. It played a significant role in the early days of personal computing.

 

Though BASIC has evolved and declined in popularity compared to other modern programming languages, its influence can still be seen in some programming languages and environments today.

What is BASIC Programming Language?

Remove Vowels in Microsoft Visual Basic NET

Remove Vowels in Microsoft Visual Basic NET

 A program that will ask the user to give a string and then the program will remove the vowels in the given string and display the results on the screen using Microsoft Visual Basic NET programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.






Program Listing

Public Class Form1

    Function RemoveVowels(ByVal input As String) As String

        Dim vowels As String = "aeiouAEIOU"

        Dim result As String = ""


        For Each c As Char In input

            If Not vowels.Contains(c) Then

                result += c

            End If

        Next


        Return result

    End Function


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

        End

    End Sub


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


        Dim resultString As String = RemoveVowels(TextBox1.Text)


        TextBox2.Text = resultString

    End Sub


    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

        TextBox1.Text = ""

        TextBox2.Text = ""

        TextBox1.Focus()

    End Sub

End Class




Tuesday, May 16, 2023

What is Education?

What is Education?

 

What is Education?

 

Education can be defined as a systematic process of acquiring knowledge, skills, values, and attitudes through instruction, learning experiences, and interactions. It is a lifelong journey that begins from early childhood and continues throughout one's life.

 

Education encompasses a wide range of activities and settings, including formal schooling, informal learning, and self-directed learning. It involves the transmission of knowledge from teachers or educational resources to learners, enabling them to acquire new information, develop critical thinking abilities, and apply what they have learned in practical contexts.

 

While education often takes place within the formal setting of schools, colleges, and universities, it is not limited to these institutions. Education can occur in various environments such as homes, workplaces, community centers, and online platforms. It can be facilitated by teachers, mentors, parents, peers, and educational technologies.

 

Education aims to foster intellectual, social, emotional, and physical development in individuals. It encompasses a broad range of subjects and disciplines, including language and literacy, mathematics, science, social studies, arts, physical education, and more specialized fields of study at higher levels.

 

Beyond the acquisition of knowledge and skills, education also aims to promote values such as respect, tolerance, fairness, empathy, and responsibility. It helps shape individuals into informed and engaged citizens who contribute positively to their communities and society as a whole.

 

Education serves multiple purposes, including:

 

1. Providing individuals with the knowledge and skills necessary to navigate the world and participate in various spheres of life.

2. Promoting personal growth, self-discovery, and the development of individual talents and interests.

3. Equipping individuals with the abilities to think critically, solve problems, and make informed decisions.

4. Preparing individuals for future employment and career opportunities by imparting relevant skills and knowledge.

5. Fostering social cohesion, cultural understanding, and respect for diversity.

6. Nurturing values and ethics that contribute to responsible citizenship and a just society.

7. Advancing scientific and technological progress through research, innovation, and discovery.

 

Overall, education is a multifaceted process that empowers individuals, enhances their capacities, and enables them to actively participate in personal, social, and economic spheres of life. It is a fundamental human right and a cornerstone for personal and societal development.

Importance of Education

Importance of Education

Importance of Education

Education is of utmost importance for individuals, societies, and nations. It plays a pivotal role in personal growth, societal development, economic progress, and the overall well-being of communities. Here are some key reasons why education is considered vital:

1. Empowerment: Education empowers individuals by providing them with knowledge, skills, and competencies necessary to make informed decisions, pursue opportunities, and lead fulfilling lives. It equips people with critical thinking abilities, problem-solving skills, and the capacity to adapt to changing circumstances.

2. Economic Development: Education is closely linked to economic growth and development. It helps create a skilled workforce that drives innovation, productivity, and competitiveness. Well-educated individuals have better employment prospects, higher incomes, and contribute to building sustainable economies.

3. Social Equality: Education promotes social equality by providing equal opportunities for all, regardless of their background or circumstances. It helps break the cycle of poverty, reduces inequalities, and fosters social mobility. Education enables marginalized groups, including women, minorities, and individuals from low-income families, to improve their socio-economic status and participate actively in society.

4. Health and Well-being: Education is a crucial determinant of health outcomes. It increases awareness about healthy behaviors, disease prevention, and access to healthcare services. Educated individuals are more likely to make informed choices regarding their well-being, leading to healthier lifestyles and improved overall health.

5. Citizenship and Democracy: Education plays a fundamental role in shaping responsible citizens and fostering democratic values. It promotes active civic participation, respect for diversity, and the understanding of democratic processes. Education equips individuals with the knowledge and skills to engage in informed debates, understand their rights and responsibilities, and contribute to the development of their communities and nations.

6. Personal Development: Education goes beyond academic knowledge and contributes to holistic personal development. It nurtures creativity, self-expression, and critical thinking abilities. Education helps individuals develop their talents, interests, and passions, leading to self-fulfillment and a sense of purpose in life.

7. Cultural Preservation and Progress: Education helps preserve and promote cultural heritage, traditions, and values. It fosters intercultural understanding, tolerance, and appreciation of diversity. Education also drives progress by encouraging innovation, scientific discovery, and technological advancements, benefiting society as a whole.

In summary, education is crucial for personal growth, societal development, and the progress of nations. It empowers individuals, fosters economic prosperity, promotes social equality, improves health outcomes, strengthens democratic values, supports personal development, and contributes to cultural preservation and progress. Investing in quality education for all is essential to build a more equitable, prosperous, and sustainable world.

Product Discount Solver in PERL

Product Discount Solver in PERL

 A program to solve product discount of a certain product using PERL programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.






Program Listing

#!/usr/bin/perl use strict; use warnings; print "Product Discount Solver in PERL\n\n"; print "Enter original price: "; my $original_price = <STDIN>; chomp($original_price); print "Enter discount percentage: "; my $discount_percentage = <STDIN>; chomp($discount_percentage); my $discount_amount = ($discount_percentage / 100) * $original_price; my $final_price = $original_price - $discount_amount; printf "Discount amount: %.2f\n", $discount_amount; printf "Final price: %.2f\n", $final_price;

Monday, May 15, 2023

Benefits of Learning Computers

 

Benefits of Learning Computers


Learning computers offers a wide range of benefits that can improve one's personal and professional life. Some of the key benefits include:


1. Career opportunities: In today's digital age, knowledge of computers and technology is essential for most jobs. Learning computer skills can help one qualify for a wide range of careers in fields such as IT, graphic design, engineering, and data analysis.


2. Communication and connectivity: Computers and the internet have made it easier than ever to communicate and connect with people around the world. By learning computers, one can use tools like email, social media, and video conferencing to stay in touch with friends, family, and colleagues.


3. Increased productivity: Computers can help automate and streamline tasks, allowing one to work more efficiently. With the right skills and tools, one can use computers to create and manage documents, track projects, and stay organized.


4. Access to information: The internet provides a vast repository of information on nearly any topic. By learning computers, one can access this information and use it to expand their knowledge, research topics of interest, and stay informed about current events.


5. Creativity: Computers offer a wide range of tools and software for creative expression, such as graphic design, music composition, and video editing. By learning these tools, one can express themselves in new and exciting ways.


Overall, learning computers can be a valuable skill that offers numerous benefits in both personal and professional contexts.


Benefits of Learning Computers