As part of the Expertise classes, I have applied to be one of the member learning in AP Computer Science class. I used to do a little bit of coding which is in Hypertext Markup Language (HTML), Cascading Style Sheets (CSS) and a little bit of JavaScript programming languages. In Computer Science, they have what’s called a programming language which is a formula or a language that the programmers or the computer scientists write to communicate with the computer and tell the computer what to do. Part of these, Java is the language that we learn in the AP Computer Science class.
public static void main(String args[]){ Scanner myScanner = new Scanner(System.in); System.out.println("What is your name?"); String name= myScanner.nextLine(); System.out.println("Hello," + name);
These lines of codes above were one of the practices in the course. Those lines of codes are for the computer to ask the user, what is their name? and let the user input their name in, then the computer print.
Coding is hard and requires a lot of patients. If there are any syntax errors or missing some kind of codes like, semicolon, hence, the computer won’t be able to analyze and so the program won’t be running. That is why programmers are needed to have an organization where they could understand their codes that goes in order. However, coding has brought programmers in connecting them with the computer very easily, instead of doing really complicated codes, we can write short simple codes and let it print a piece of artwork. Just like the example of the codes below:
System.out.println("/^^^^^\\"); System.out.println("-------"); System.out.println("| |"); System.out.println("|_|^|_|"); What do you see in this four lines of codes? - Answer this question in the comment box below: 1. A Star 2. A House 3. A Bear 4. I could see four lines of codes.
By the end of this course, some students are further practice for the AP Computer Exam during May. I am one of them whose will be taking the big exam. It has been a lot of challenging to learn this new kind of programming language but by not giving up on the course may lead me to a good result.