Community Central


18/02/2014 SDD Work - Getting to Know Python

Connorgm February 17, 2014 User blog:Connorgm

1. What is the difference between high-level and low-level programming languages? Give one example for each type of programming language.

       Low level languages are appropriate for writing
       operating systems or firmware.  The lowest of 
       programming languages is Machine Code.  So basic it is extremely efficient.
       High level languages are abstract, instead of telling 
       it what to do and how to do it you simply ask it to do
       as you say and it will find a way.  characterized as inefficient.

2. What is an open-source programming language?

       Open source languages is somewhat of a blurred
       subject.  Python has the Pep process, which allows 
       anybody to alter the syntax/semantics of the language 
       itself.  However it isn't the language that is open 
       source, rather the software implementing the language.

3. What is the difference between IDLE (Python GUI) and command-line? Which one would you use when you want to save a program you are working on?

       IDLE(Python GUI) has a GUI, or a Graphic User 
       Interface.  The IDLE(Python GUI) has built in save
       functions on the file bar but if you download alternate
       versions of python you can save with command line,
       albeit a little harder.

4. What is the first thing you need to do when you want to start building a program that you want to save and be able to run/edit later on?

       (Edit default script to your preference)Save 
       as "Filename.cs/py/js/etc".

5. What happens when you type print “Hello, world” without the brackets?

       "SyntaxError: invalid syntax"

6. What does invalid syntax mean when programming with Python?

       It means the language can not understand the command you gave it because you messed up the correct method of designation and defining different areas of code i.e. what you want python to print and what you want python to run.

Around Wikia's network

Random Wiki