Question

In: Computer Science

Research two computer programming languages (python can be one of them) and explain what tasks the...

  • Research two computer programming languages (python can be one of them) and explain what tasks the languages are best suited for and the industry in which they are typically used. Include a code snippet.
  • How has mobile computing changed your life? Describe the impact of mobile computing on programming. What are some commonly used mobile programming languages?
  • How will computer information systems fit into your professional life?

Solutions

Expert Solution

**What is Java?**

Java is a general-purpose programming language, which is released by Sun Microsystem in 1995. It is a computing platform for application development ex. web application, mobile application, etc.

**What is C?**

C is a procedural or general purpose programming language, which is design by Dennis Ritchie in 1972.

C is older than Java.

Java Hello World Example

 
  1. public class Hello{
  2. public static void main(String[] args){
  3. System.out.println("Hello, World");
  4. }
  5. }

C Hello World Example

 
  1. #include <studio.n>
  2. int main(int argc, char ** argv)
  3. {
  4. printf("Hello World!\n");
  5. }

Features of Java-

Java offers many features, which make it a King of All Programming Language-

  1. Java is Simple
  2. It is Object-oriented language
  3. Java is widely used because of its security feature.
  4. Java runs of JVM, means It supports WORA (Write once, run anywhere)

On the other hand, the features of C tells how C becomes a mother of all programming languages-

  1. C programming offers you a structured oriented feature. Which will divide your code and task with a function.
  2. C is a simple and easy programming language, which provide a structured approach to solve your queries in parts.
  3. It allows the user to allocate the memory at the run time.
  4. With the help of dynamic memory management, you can manually decide the memory requirements of your program at the run time.
  5. Pointers in C helps to store the memory address as its value.

Approaches-

C follows a top-down approach, means flow of program are important than data on which it operates.

Another way out, Java follows a bottom-up approach.

Object Management-

In C, object management is done manually.

Java has a garbage collector, which is automatically managed.

Threads -

C doesn’t support threads, on the other hand, Java is vice-versa.

Overloading

Java supports overloading for code readability, but C not.

Applications of Java and C in real-world

Java has many real-time use cases, but it is mainly used to develop applications,

  1. Desktop application
  2. Web application
  3. Desktop application
  4. Mobile application
  5. Enterprise Application
  6. Scientific Application
  7. Real-time software
  8. Smart Cards
  9. Cryptography
  10. Computer Games etc

y**

From the above graph (15/04/2019 - Google trends), we can say C is less popular than Java. People around the world, like to search, explore and read about Java, not C programming language.

Now, let’s talk about there offering, means features.

Features of Java-

Java offers many features, which make it a King of All Programming Language-

  1. Java is Simple
  2. It is Object-oriented language
  3. Java is widely used because of its security feature.
  4. Java runs of JVM, means It supports WORA (Write once, run anywhere)

On the other hand, the features of C tells how C becomes a mother of all programming languages-

  1. C programming offers you a structured oriented feature. Which will divide your code and task with a function.
  2. C is a simple and easy programming language, which provide a structured approach to solve your queries in parts.
  3. It allows the user to allocate the memory at the run time.
  4. With the help of dynamic memory management, you can manually decide the memory requirements of your program at the run time.
  5. Pointers in C helps to store the memory address as its value.

Approaches-

C follows a top-down approach, means flow of program are important than data on which it operates.

Another way out, Java follows a bottom-up approach.

Object Management-

In C, object management is done manually.

Java has a garbage collector, which is automatically managed.

Threads -

C doesn’t support threads, on the other hand, Java is vice-versa.

Overloading

Java supports overloading for code readability, but C not.

Applications of Java and C in real-world

Java has many real-time use cases, but it is mainly used to develop applications,

  1. Desktop application
  2. Web application
  3. Desktop application
  4. Mobile application
  5. Enterprise Application
  6. Scientific Application
  7. Real-time software
  8. Smart Cards
  9. Cryptography
  10. Computer Games etc.

Refer this - Renuka Peshwani's answer to Where is Java used?

C is mainly used to create new programming languages, but there are some important applications of C -

  1. Design operating systems
  2. Design network devices
  3. Evaluate mathematical equation
  4. Create a compiler of different languages
  5. Develop graphical applications
  6. Used in robotics

Companies using Java-

  1. Airbnb
  2. Uber
  3. Google
  4. Intel
  5. LinkedIn
  6. eBay
  7. Pinterest
  8. infosys
  9. TCS
  10. HCL

Companies using C-

  1. Google
  2. Facebook
  3. Microsoft
  4. Intel
  5. Apple
  6. Oracle
  7. Aricnet
  8. IBM
  9. redhat
  10. Nokia

There are many positive impact of Mobile Computing,as the growing adoption of smart mobile devices, such as smart phones and tablets, is fundamentally changing the way how business is conducted. New mobile technologies exert a significant influence on individuals, organizations, and society at large.
      It significantly impact how we deliver educational content, how we interact with our students and each other, and even how our students learn.
     The growth and maturation of mobile computing is about much more than just the next generation of cell phones or tablet computers. It's about merging communication mediums with the vast capabilities of the Internet and combining them into a portable, powerful, intuitive device that can play a valuable role in assisting, and even improving, many aspects of our daily lives.Mobile devices have emerged as viable and effective programming platforms. At the same time, cloud platforms have been established as viable platforms for applications and data. The introduction of the mobile devices have introduced new programming languages that allow for rapid and efficient programming that will eventually make traditional programming obsolete.

Java has been impacted by the emergence of mobility as well. This marks a significant shift as Java languages have been on a steep decline over the past 10 years. As the mobile movement began to gain major steam, the Java programming structure begin to regain its footing. This began approximately two years ago and the growth has been steady.

As mobile programming builds momentum, it will consistently bring developers to a lower position or level of programming, one that is much more closely connected to the hardware. The traditional scripting languages used in programming don’t have the same traction with mobile devices. This is because the scripting code used in mobile devices is smaller and more specific in order to facilitate all of the new hardware features that a specific device may offer. For the first time ever, all scripting languages, including Python, PHP, Perl and Ruby, have declined over the previous year.

The experts are predicting that the decline in the use of scripting language in lieu of more native languages will continue. In fact it can be seen clearly in the .NET world. There was a massive increase in the use of C#, which was second only to Objective-C’s as far as a spike in usage is concerned. There is no doubt that the emergence of mobile devices will continue to reshape the programming world for years to come.


Related Solutions

Programming languages Explain orthogonality and its importance.
Programming languages Explain orthogonality and its importance.
Java, Python, and C++ are three of the most useful programming languages to learn. Compare the...
Java, Python, and C++ are three of the most useful programming languages to learn. Compare the functionalities of all three programming languages. Why would you choose one language over another? Provide code examples demonstrating their usefulness in a real-world scenario.
It is standard in some programming languages for the number zero to represent one of the...
It is standard in some programming languages for the number zero to represent one of the truth values (either true or false) and for positive numbers to represent the other truth value. If assigned correctly, the operations of addition and multiplication will then correspond to conjunction and disjunction, in some order. Figure out how to make this all work out neatly.
What are the differences between the programming languages of VHDL and Verilog? Why use one over...
What are the differences between the programming languages of VHDL and Verilog? Why use one over the other?
Using python programming language, compare the four tasks. 1. For the following exercises you will be...
Using python programming language, compare the four tasks. 1. For the following exercises you will be writing a program that implements Euler’s method (pronounced ‘oy-ler’). It may be the case that you have not yet encountered Euler’s method in the course. Euler’s method can be found in Chapter 10.2 of your notes, which gives a good description of why this algorithm works. But for our purposes, we only need to know the algorithm itself - so there’s no need to...
Research and explain in your words what is known as Object Oriented Programming. Then, identify two...
Research and explain in your words what is known as Object Oriented Programming. Then, identify two advantages of OOP for application development. In peer replies, choose from one of the following and define the concept as part of your response. Abstraction. Encapsulation. Inheritance. Polymorphism.
QUESTION 1 Which of the following programming languages does NOT support parametric polymorphism? Java C++ Python...
QUESTION 1 Which of the following programming languages does NOT support parametric polymorphism? Java C++ Python C# 10 points    QUESTION 2 Which of the following programming languages does NOT support operator overloading? C# Python C C++ 10 points    QUESTION 3 In a language that allows nested subprograms, the programming language has to choose a referencing environment for the executing the passed subprogram when a subprogram is passed as a parameter. Which of the following is NOT a choice?...
Design and construct a computer program in one of the approved languages (C++) that will illustrate...
Design and construct a computer program in one of the approved languages (C++) that will illustrate the use of a fourth-order explicit Runge-Kutta method of your own design. In other words, you will first have to solve the Runge-Kutta equations of condition for the coefficients of a fourth-order Runge-Kutta method. See the Mathematica notebook on solving the equations for 4th order RK method. That notebook can be found at rk4Solution.nb . PLEASE DO NOT USE a[1] = 1/2 or a[2]...
Some languages support many modes of parameter passing. Provide 2 examples using two different programming languages...
Some languages support many modes of parameter passing. Provide 2 examples using two different programming languages which support the user of the programming language deciding which to use when creating their method. (Programming Languages)
1. Why a computer can perform some tasks for us? 2. What computer device could Fetch...
1. Why a computer can perform some tasks for us? 2. What computer device could Fetch instructions, follow the instructions, and produce some results? 3. What is the function of computer memory (RAM)? What is used to translate each source code instruction into the appropriate machine language instruction? 4. What is the correct sequence in the process of translating a source file into an executable file? 5. The step that will uncover any syntax errors in your program is ________________....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT