Introduction to programming Flashcards
The following languages are compiled except for which?
C, C++, C#, Objective C, Cobal, Swift
C# is not compiled, it is considered a hybrid.
The following languages are considered hybrid languages except for which?
Java, C#, PHP, Python, VB.NET,
PHP# is an interpreted scripting language.
The following are interpreted scripting languages except for which?
VBScript, Javascript, Java, PHP, Actionscript,
Java is considered a hybrid language.
If (boolean condition) Then (consequent) Else (alternative) End If //All are considered what?
Conditional statements, conditional expressions and conditional constructs
Modules, Subroutines, Subprograms, Routines, Functions, Callable Units, Procedures, and Methods are what?
A piece of program code that is executed when the subroutine is called or invoked. Sometimes called a “code block” or block of code”.
What happens when a function is called?
All of the code inside the function is executed.
Should functions be defined first?
Yes, define them all together at the top of your code. This makes for better code readability.
What two things that functions do?
Return values and accept data.
What is a Library?
A library is a set of functions that come with your language compiler. The library is integrated into the compiler.
Library code is organized in such a way that it can be used how?
Libraries are organized to be used by multiple programs that have no connection to each other.
Who created Python?
Guido van Rossum
When was Python created?
Python was conceived in the late 1980s, and its implementation began in December 1989 by Guido van Rossum
Python Version 1.0 was released in what year?
Python reached version 1.0 in January 1994.
What is the latest version of Python?
Python 3.6 - Released in December 23, 2016
What is the file extension for Python?
*.py