Forum Comments

2.8 Project: analyzing before coding
In Introduction to Java
rtptyu
Jul 29, 2018
Summary of Java Hi Llama, I will tell you now what we've learn about Java. I hope you can be interested in Java and computer. First, we learned what is Java. It is a kind of language to connect computers and people. This kind of language can be used to write programs. People use programs to command computers, create something in the electronic world. For example, our computer games are created by programs. From simple games such as Gluttonous Snake, Air War... to the more popular games like League of Legends, Call of Duty are all composed by codes. Programs and codes constitute the electronic world. Java is a high-level language that is better than C or C++ if you are interested in games, because it is the most popular programming language for mobile devices. Second, programs' intrinsic quality lies in the algorithm. Computers count on algorithms to work. An algorithm is a logical process, like you do something according a certain number of steps. When you write a program, you are telling computers to work according to your algorithm. You write your instructions in a language that computers can understand and do something according your algorithm, this is a program. Third, we learned how to use Java input, output and basic operations. ”System.out.print” is the first program we learned. It is used to show something on the screen. We wrote our first program ‘Hello World” and then we learned data types, arithmetic operations such as + - * /, and other functions such as squares. Then we learned an important thing that how to describe a string of data. We use “int” or ‘’float’’. In an expression of integers, you should use int. If you want to use expressions of decimals, you need use float. Recently, we learned input and output. We should declare ”Scanner in” to handle input if we want the computer to read from a keyboard. Inputs, processes and outputs are the three basic activities completed by our programs. Using these basic activities, a complex program can be composed from simple and basic building blocks. Finally, we learned binary, octal, and hexadecimal numbers. They are similar to the decimal system, they have same principle just we always use the decimal system, hardly use binary octal and hexadecimal. Binary is composition by 0 and 1 the computer also use binary to identify information ,all information in computer is 0 and 1.Now we can change decimal system to binary change binary to decimal system, just need decomposition a number to two’s  power and clear up them. Octal and hexadecimal’ change need change number to binary first and then divide 0 and 1 to group of four finally clear up. Now that we have learned these basics, we can just create a complex program by a combination of basics.
1
0
3.7 How to read input from keyboard?
In Introduction to Java
2.12 - Conversion among binary, octal and hexadecimal numbers
In Introduction to Java
5.11 What are the multiple phases of programming?
In Introduction to Java
2.10 - What are binary numbers?
In Introduction to Java
2.7 What are flow control structures?
In Introduction to Java
rtptyu
Jul 04, 2018
f=5306.5954102888445
0
0
rtptyu
More actions